Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 192.1 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7222/0.7222, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.36 kB / 0.5012 GB, free: 9.098 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1502, allocations: 80.2 MB / 0.5795 GB, free: 9.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.4552/0.6055, allocations: 235.4 MB / 0.8094 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01838/0.6239, allocations: 15.92 MB / 0.8249 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/0.6259, allocations: 51.69 kB / 0.825 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002305/0.6282, allocations: 0.8705 MB / 0.8258 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006909/0.6352, allocations: 2.781 MB / 0.8285 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003995/0.6392, allocations: 1.518 MB / 0.83 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004869/0.644, allocations: 4.649 MB / 0.8345 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.6454, allocations: 1.086 MB / 0.8356 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005486/0.6509, allocations: 2.255 MB / 0.8378 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002379/0.6533, allocations: 1.124 MB / 0.8389 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002087/0.6535, allocations: 64 kB / 0.839 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005569/0.6591, allocations: 3.589 MB / 0.8425 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004357/0.6596, allocations: 434.4 kB / 0.8429 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009037/0.6605, allocations: 0.7576 MB / 0.8436 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003906/0.6644, allocations: 3.092 MB / 0.8466 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6644, allocations: 0 / 0.8466 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of FrontEnd: time 6.91e-07/0.6644, allocations: 0 / 0.8466 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.62e-05/0.6644, allocations: 0 / 0.8466 GB, free: 1.441 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003295/0.6677, allocations: 2.019 MB / 0.8486 GB, free: 15.37 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.6678, allocations: 12.03 kB / 0.8486 GB, free: 15.36 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.668, allocations: 156.2 kB / 0.8488 GB, free: 15.2 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002756/0.6707, allocations: 0.4898 MB / 0.8493 GB, free: 14.7 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.6727, allocations: 1.117 MB / 0.8503 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009025/0.6736, allocations: 245.8 kB / 0.8506 GB, free: 13.29 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.6737, allocations: 104 kB / 0.8507 GB, free: 13.19 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/0.676, allocations: 1.307 MB / 0.852 GB, free: 11.79 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.676, allocations: 7.938 kB / 0.852 GB, free: 11.79 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.6761, allocations: 40 kB / 0.852 GB, free: 11.75 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.418e-05/0.6762, allocations: 45.98 kB / 0.852 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002395/0.6786, allocations: 1.081 MB / 0.8531 GB, free: 10.62 MB / 0.67 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.007244/0.6858, allocations: 6.625 MB / 0.8596 GB, free: 3.547 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.6875, allocations: 0.5659 MB / 0.8601 GB, free: 2.973 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000655/0.6882, allocations: 277.2 kB / 0.8604 GB, free: 2.699 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003738/0.6886, allocations: 283.5 kB / 0.8607 GB, free: 2.367 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.6886, allocations: 42.84 kB / 0.8607 GB, free: 2.316 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.064e-06/0.6886, allocations: 0 / 0.8607 GB, free: 2.316 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002513/0.6911, allocations: 0.8615 MB / 0.8615 GB, free: 1.449 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.6912, allocations: 59.41 kB / 0.8616 GB, free: 1.379 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/0.6929, allocations: 1.362 MB / 0.8629 GB, free: 8 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.2562/0.9491, allocations: 29.2 kB / 0.863 GB, free: 227.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006109/0.9498, allocations: 0.6795 MB / 0.8636 GB, free: 227.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.9499, allocations: 121.7 kB / 0.8637 GB, free: 227.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002443/0.9501, allocations: 154.6 kB / 0.8639 GB, free: 227.4 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.699e-05/0.9502, allocations: 334.2 kB / 0.8642 GB, free: 227.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008447/0.951, allocations: 318.2 kB / 0.8645 GB, free: 227.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008708/0.9519, allocations: 0.6488 MB / 0.8651 GB, free: 226.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.9533, allocations: 0.8687 MB / 0.866 GB, free: 226.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.9534, allocations: 6.219 kB / 0.866 GB, free: 226.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002111/0.9555, allocations: 1.016 MB / 0.867 GB, free: 225.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.9555, allocations: 10.66 kB / 0.867 GB, free: 225.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.9555, allocations: 9.719 kB / 0.867 GB, free: 225.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.9556, allocations: 12.41 kB / 0.867 GB, free: 225.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007907/0.9564, allocations: 201.8 kB / 0.8672 GB, free: 225.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.9564, allocations: 17.31 kB / 0.8672 GB, free: 225.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.9577, allocations: 218.7 kB / 0.8674 GB, free: 225.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/0.9577, allocations: 42.75 kB / 0.8675 GB, free: 225.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001032/0.9588, allocations: 0.5739 MB / 0.868 GB, free: 225.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008612/0.9596, allocations: 0.6446 MB / 0.8687 GB, free: 225.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001398/0.9611, allocations: 0.8685 MB / 0.8695 GB, free: 224.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.117e-06/0.9611, allocations: 2.938 kB / 0.8695 GB, free: 224.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.00198/0.9631, allocations: 1.01 MB / 0.8705 GB, free: 224.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.9631, allocations: 9.406 kB / 0.8705 GB, free: 224.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.9631, allocations: 15 kB / 0.8705 GB, free: 224.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.9631, allocations: 14.19 kB / 0.8705 GB, free: 224.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007315/0.9638, allocations: 199 kB / 0.8707 GB, free: 224.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.9639, allocations: 23.98 kB / 0.8708 GB, free: 224.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.9651, allocations: 166.4 kB / 0.8709 GB, free: 224.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-05/0.9652, allocations: 38.11 kB / 0.8709 GB, free: 224.1 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.9653, allocations: 230.5 kB / 0.8712 GB, free: 223.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.9655, allocations: 133.4 kB / 0.8713 GB, free: 223.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.967, allocations: 0.6596 MB / 0.8719 GB, free: 223.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.9671, allocations: 10.89 kB / 0.8719 GB, free: 223.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.9671, allocations: 0 / 0.8719 GB, free: 223.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.9671, allocations: 3.141 kB / 0.872 GB, free: 223.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003004/0.9701, allocations: 1.934 MB / 0.8738 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.9701, allocations: 6.594 kB / 0.8738 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004826/0.9706, allocations: 93.94 kB / 0.8739 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.9706, allocations: 5.344 kB / 0.8739 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.9706, allocations: 13.06 kB / 0.874 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.9706, allocations: 13.81 kB / 0.874 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.9707, allocations: 6.156 kB / 0.874 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.972, allocations: 0.8111 MB / 0.8748 GB, free: 222.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.9723, allocations: 299.5 kB / 0.875 GB, free: 222 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/0.9726, allocations: 14.16 kB / 0.8751 GB, free: 222 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.9736, allocations: 100.6 kB / 0.8752 GB, free: 221.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.9737, allocations: 37.3 kB / 0.8752 GB, free: 221.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.9737, allocations: 26.83 kB / 0.8752 GB, free: 221.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001106/0.9748, allocations: 0.989 MB / 0.8762 GB, free: 221.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9748, allocations: 4.766 kB / 0.8762 GB, free: 221.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001524/0.9764, allocations: 0.5567 MB / 0.8767 GB, free: 221.5 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001895/0.9783, allocations: 1.527 MB / 0.8782 GB, free: 220.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002426/0.9807, allocations: 1.113 MB / 0.8793 GB, free: 220.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9807, allocations: 0 / 0.8793 GB, free: 220.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006155/0.9813, allocations: 268.8 kB / 0.8796 GB, free: 220.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/0.9844, allocations: 0.7564 MB / 0.8803 GB, free: 219.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/1, allocations: 10.75 MB / 0.8908 GB, free: 213.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/1.001, allocations: 1.185 MB / 0.892 GB, free: 212.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001511/1.002, allocations: 363.8 kB / 0.8923 GB, free: 212.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005271/1.003, allocations: 0.4931 MB / 0.8928 GB, free: 212.4 MB / 0.67 GB Notification: Performance of SimCode: time 7.52e-07/1.003, allocations: 0 / 0.8928 GB, free: 212.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4668/1.47, allocations: 34.05 MB / 0.926 GB, free: 204 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/1.47, allocations: 222 kB / 0.9263 GB, free: 203.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.667/4.137, allocations: 0 / 0.9263 GB, free: 203.7 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example4.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)