Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_dev_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.001179/0.001179, 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.001214/0.001214, allocations: 191.7 kB / 16.14 MB, free: 6.688 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.206/1.206, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8122/0.8122, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 64.66 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1244, allocations: 80.92 MB / 0.5838 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.3924/0.5168, allocations: 235.4 MB / 0.8137 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01711/0.534, allocations: 15.9 MB / 0.8292 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.5357, allocations: 59.62 kB / 0.8292 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002215/0.5379, allocations: 0.8705 MB / 0.8301 GB, free: 1 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005722/0.5437, allocations: 2.788 MB / 0.8328 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003239/0.5469, allocations: 1.521 MB / 0.8343 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004278/0.5512, allocations: 4.649 MB / 0.8388 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.5527, allocations: 1.09 MB / 0.8399 GB, free: 6.93 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004973/0.5577, allocations: 2.252 MB / 0.8421 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.5598, allocations: 1.123 MB / 0.8432 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.56, allocations: 64 kB / 0.8433 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004875/0.5649, allocations: 3.589 MB / 0.8468 GB, free: 15.9 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004343/0.5653, allocations: 430.4 kB / 0.8472 GB, free: 15.48 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000853/0.5662, allocations: 0.7499 MB / 0.8479 GB, free: 14.72 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003813/0.57, allocations: 3.104 MB / 0.8509 GB, free: 11.61 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.57, allocations: 0 / 0.8509 GB, free: 11.61 MB / 0.67 GB Notification: Performance of FrontEnd: time 7.52e-07/0.57, allocations: 4 kB / 0.8509 GB, free: 11.61 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.117e-05/0.5701, allocations: 0 / 0.8509 GB, free: 11.61 MB / 0.67 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.003349/0.5734, allocations: 2.003 MB / 0.8529 GB, free: 9.547 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.5735, allocations: 12.03 kB / 0.8529 GB, free: 9.535 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/0.5736, allocations: 156.2 kB / 0.8531 GB, free: 9.375 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/0.5763, allocations: 0.4897 MB / 0.8535 GB, free: 8.883 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.5782, allocations: 1.117 MB / 0.8546 GB, free: 7.711 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008509/0.579, allocations: 249.7 kB / 0.8549 GB, free: 7.465 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.5792, allocations: 100 kB / 0.855 GB, free: 7.367 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.5813, allocations: 1.31 MB / 0.8562 GB, free: 5.969 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.5813, allocations: 15.92 kB / 0.8563 GB, free: 5.953 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-05/0.5814, allocations: 43.94 kB / 0.8563 GB, free: 5.91 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-05/0.5815, allocations: 45.98 kB / 0.8563 GB, free: 5.863 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.5837, allocations: 1.077 MB / 0.8574 GB, free: 4.785 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.1989/0.7826, allocations: 6.624 MB / 0.8639 GB, free: 220.5 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.784, allocations: 0.5666 MB / 0.8644 GB, free: 220.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005348/0.7846, allocations: 272.4 kB / 0.8647 GB, free: 220.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/0.7849, allocations: 283.1 kB / 0.865 GB, free: 220.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.7849, allocations: 41.16 kB / 0.865 GB, free: 220.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.013e-06/0.7849, allocations: 0 / 0.865 GB, free: 220.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002032/0.7869, allocations: 0.8606 MB / 0.8658 GB, free: 220.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.787, allocations: 54.44 kB / 0.8659 GB, free: 220 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.7883, allocations: 1.362 MB / 0.8672 GB, free: 219.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.7883, allocations: 36.98 kB / 0.8672 GB, free: 219.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/0.7886, allocations: 0.6816 MB / 0.8679 GB, free: 219.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.17e-05/0.7887, allocations: 122.9 kB / 0.868 GB, free: 219.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.7889, allocations: 158 kB / 0.8682 GB, free: 219.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.373e-05/0.7889, allocations: 334.5 kB / 0.8685 GB, free: 218.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007148/0.7897, allocations: 321.8 kB / 0.8688 GB, free: 218.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007988/0.7905, allocations: 0.6478 MB / 0.8694 GB, free: 218.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.7918, allocations: 0.8651 MB / 0.8703 GB, free: 217.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.7918, allocations: 2.938 kB / 0.8703 GB, free: 217.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001827/0.7936, allocations: 1.018 MB / 0.8713 GB, free: 217.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.7937, allocations: 8.375 kB / 0.8713 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.7937, allocations: 11.25 kB / 0.8713 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.7937, allocations: 14.06 kB / 0.8713 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007222/0.7944, allocations: 199.2 kB / 0.8715 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.7944, allocations: 21.19 kB / 0.8715 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.7956, allocations: 217 kB / 0.8717 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.7957, allocations: 42.91 kB / 0.8718 GB, free: 217.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009454/0.7966, allocations: 0.5669 MB / 0.8723 GB, free: 217.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008065/0.7975, allocations: 0.6466 MB / 0.873 GB, free: 216.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001331/0.7988, allocations: 0.8719 MB / 0.8738 GB, free: 216.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-06/0.7988, allocations: 12.34 kB / 0.8738 GB, free: 216.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.00181/0.8006, allocations: 1.011 MB / 0.8748 GB, free: 215.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.8006, allocations: 11.75 kB / 0.8748 GB, free: 215.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.8007, allocations: 9.531 kB / 0.8748 GB, free: 215.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.777e-06/0.8007, allocations: 16.38 kB / 0.8748 GB, free: 215.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/0.8014, allocations: 197.7 kB / 0.875 GB, free: 215.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.8014, allocations: 19.44 kB / 0.8751 GB, free: 215.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.8025, allocations: 171.3 kB / 0.8752 GB, free: 215.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/0.8025, allocations: 36.47 kB / 0.8752 GB, free: 215.8 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.0001333/0.8027, allocations: 230.4 kB / 0.8755 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.8028, allocations: 136 kB / 0.8756 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.8042, allocations: 0.6589 MB / 0.8762 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.8042, allocations: 2.688 kB / 0.8762 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.8042, allocations: 0 / 0.8762 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.8042, allocations: 3.281 kB / 0.8762 GB, free: 215.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.8069, allocations: 1.929 MB / 0.8781 GB, free: 214.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.8069, allocations: 6.281 kB / 0.8781 GB, free: 214.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/0.8073, allocations: 99.61 kB / 0.8782 GB, free: 214.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.8074, allocations: 5.312 kB / 0.8782 GB, free: 214.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.8074, allocations: 17.17 kB / 0.8783 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.8074, allocations: 10.03 kB / 0.8783 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.8074, allocations: 6.719 kB / 0.8783 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.8086, allocations: 0.8196 MB / 0.8791 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/0.809, allocations: 296.1 kB / 0.8794 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.8092, allocations: 12.25 kB / 0.8794 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009508/0.8101, allocations: 97.73 kB / 0.8795 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.8102, allocations: 34.5 kB / 0.8795 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.8102, allocations: 21.42 kB / 0.8795 GB, free: 213.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001063/0.8113, allocations: 0.9933 MB / 0.8805 GB, free: 213.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8113, allocations: 0 / 0.8805 GB, free: 213.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001347/0.8127, allocations: 0.5649 MB / 0.881 GB, free: 213.1 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.001693/0.8144, allocations: 1.53 MB / 0.8825 GB, free: 212 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002197/0.8166, allocations: 1.108 MB / 0.8836 GB, free: 211.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.8166, allocations: 0 / 0.8836 GB, free: 211.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005808/0.8172, allocations: 266.9 kB / 0.8839 GB, free: 211.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002928/0.8201, allocations: 0.7508 MB / 0.8846 GB, free: 211.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/0.8351, allocations: 10.76 MB / 0.8951 GB, free: 205.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.8357, allocations: 1.181 MB / 0.8963 GB, free: 204.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001474/0.8372, allocations: 371.7 kB / 0.8966 GB, free: 204.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005021/0.8377, allocations: 497.7 kB / 0.8971 GB, free: 203.9 MB / 0.67 GB Notification: Performance of SimCode: time 5.71e-07/0.8377, allocations: 0.5 kB / 0.8971 GB, free: 203.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9374/1.775, allocations: 34.03 MB / 0.9303 GB, free: 195 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/1.775, allocations: 228.5 kB / 0.9305 GB, free: 194.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.614/4.389, allocations: 0 / 0.9305 GB, free: 194.7 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)