Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01249/0.01249, allocations: 169.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.184/1.184, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.598/2.598, allocations: 223.2 MB / 406.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 101.5 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006587/0.000659, allocations: 15.98 kB / 0.5691 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8159/0.8166, allocations: 82.3 MB / 0.6495 GB, free: 36.1 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.46/2.276, allocations: 403.3 MB / 1.043 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006638/2.277, allocations: 98.14 kB / 1.043 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 11.72/14, allocations: 1.473 GB / 2.516 GB, free: 61.65 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.745e-06/14, allocations: 1.125 kB / 2.516 GB, free: 61.65 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.001353/14, allocations: 110.3 kB / 2.516 GB, free: 61.62 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.03345/14.04, allocations: 5.696 MB / 2.522 GB, free: 59.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001067/14.04, allocations: 9.031 kB / 2.522 GB, free: 59.32 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002917/14.04, allocations: 294.2 kB / 2.522 GB, free: 59.27 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/14.05, allocations: 1.122 MB / 2.523 GB, free: 59.03 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1199/14.17, allocations: 29.04 MB / 2.552 GB, free: 57.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001069/14.17, allocations: 185.2 kB / 2.552 GB, free: 57.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003296/14.18, allocations: 240.6 kB / 2.552 GB, free: 57.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/14.19, allocations: 2.69 MB / 2.555 GB, free: 56.84 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.214e-05/14.19, allocations: 3.25 kB / 2.555 GB, free: 56.84 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004367/14.19, allocations: 91.12 kB / 2.555 GB, free: 56.84 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.202e-05/14.19, allocations: 51.03 kB / 2.555 GB, free: 56.84 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008701/14.2, allocations: 1.992 MB / 2.557 GB, free: 56.78 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04593/14.24, allocations: 12.31 MB / 2.569 GB, free: 50.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006946/14.25, allocations: 1.637 MB / 2.57 GB, free: 50.58 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01482/14.27, allocations: 4.133 MB / 2.574 GB, free: 48.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.392e-05/14.27, allocations: 45.06 kB / 2.574 GB, free: 48.64 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003488/14.27, allocations: 229.2 kB / 2.575 GB, free: 48.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=119): time 1.38e-05/14.27, allocations: 0 / 2.575 GB, free: 48.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119): time 0.02029/14.29, allocations: 4.008 MB / 2.578 GB, free: 47.39 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/14.29, allocations: 66.48 kB / 2.579 GB, free: 47.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01466/14.31, allocations: 2.986 MB / 2.581 GB, free: 46.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.001288/14.31, allocations: 65.36 kB / 2.582 GB, free: 46.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.004357/14.31, allocations: 1.792 MB / 2.583 GB, free: 44.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001514/14.31, allocations: 402.2 kB / 2.584 GB, free: 44.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008406/14.31, allocations: 35.44 kB / 2.584 GB, free: 44.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003788/14.31, allocations: 386.8 kB / 2.584 GB, free: 44.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003567/14.32, allocations: 0.7626 MB / 2.585 GB, free: 43.86 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00451/14.32, allocations: 1.564 MB / 2.586 GB, free: 42.57 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004101/14.33, allocations: 0.9422 MB / 2.587 GB, free: 42.18 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.092e-05/14.33, allocations: 3.969 kB / 2.587 GB, free: 42.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01654/14.34, allocations: 2.914 MB / 2.59 GB, free: 41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.006102/14.35, allocations: 8.168 MB / 2.598 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.67e-05/14.35, allocations: 16 kB / 2.598 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004341/14.35, allocations: 0.6764 MB / 2.599 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003137/14.36, allocations: 393.5 kB / 2.599 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0086/14.37, allocations: 5.162 MB / 2.604 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007624/14.37, allocations: 218.6 kB / 2.604 GB, free: 27.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001515/14.37, allocations: 176.9 kB / 2.605 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.19e-05/14.37, allocations: 7.875 kB / 2.605 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01442/14.39, allocations: 2.936 MB / 2.607 GB, free: 26.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001265/14.39, allocations: 18.91 kB / 2.607 GB, free: 26.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004869/14.39, allocations: 1.095 MB / 2.609 GB, free: 26.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002519/14.4, allocations: 363 kB / 2.609 GB, free: 26.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03327/14.43, allocations: 14.45 MB / 2.623 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006717/14.44, allocations: 210 kB / 2.623 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001098/14.44, allocations: 153.7 kB / 2.623 GB, free: 12.51 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.005239/14.44, allocations: 0.8758 MB / 2.624 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002168/14.45, allocations: 367.2 kB / 2.625 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/14.46, allocations: 3.07 MB / 2.628 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-05/14.46, allocations: 16 kB / 2.628 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/14.46, allocations: 3.703 kB / 2.628 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.792e-05/14.46, allocations: 7.797 kB / 2.628 GB, free: 8.824 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01992/14.48, allocations: 5.18 MB / 2.633 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/14.48, allocations: 7.938 kB / 2.633 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/14.48, allocations: 217.4 kB / 2.633 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002436/14.48, allocations: 0.6543 MB / 2.633 GB, free: 3.945 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000164/14.48, allocations: 54.2 kB / 2.633 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005482/14.49, allocations: 5.032 MB / 2.638 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/14.49, allocations: 2 kB / 2.638 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0125/14.5, allocations: 2.8 MB / 2.641 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004963/14.51, allocations: 0.617 MB / 2.642 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002126/14.51, allocations: 27.95 kB / 2.642 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006292/14.51, allocations: 219.5 kB / 2.642 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000659/14.52, allocations: 92.61 kB / 2.642 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004709/14.52, allocations: 79.92 kB / 2.642 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.01306/14.53, allocations: 2.286 MB / 2.644 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.483e-06/14.53, allocations: 4 kB / 2.644 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.02147/14.55, allocations: 2.032 MB / 2.646 GB, free: 6.871 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02522/14.58, allocations: 5.58 MB / 2.652 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0194/14.6, allocations: 3.969 MB / 2.656 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.247e-05/14.6, allocations: 4 kB / 2.656 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004781/14.6, allocations: 0.9615 MB / 2.657 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01624/14.62, allocations: 1.698 MB / 2.658 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.164/15.78, allocations: 21.15 MB / 2.679 GB, free: 76.91 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01033/15.79, allocations: 2.327 MB / 2.681 GB, free: 76.16 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.01116/15.8, allocations: 0.8217 MB / 2.682 GB, free: 76.12 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007299/15.81, allocations: 1.641 MB / 2.684 GB, free: 76.12 MB / 0.7605 GB Notification: Performance of SimCode: time 4.038e-06/15.81, allocations: 0 / 2.684 GB, free: 76.12 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4345/16.24, allocations: 129.5 MB / 2.81 GB, free: 69.63 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004204/16.25, allocations: 254.8 kB / 2.81 GB, free: 69.3 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/28.99, allocations: 3.938 kB / 2.81 GB, free: 69.29 MB / 0.7605 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)