Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example8.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.Example8,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example8",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.005579/0.005579, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001369/0.001369, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.921/0.921, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.06 kB / 0.5808 GB, free: 24.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1638, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001645/0.1655, allocations: 0.5098 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001433/0.1657, allocations: 11.97 kB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.1657, allocations: 4 kB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.1658, allocations: 0 / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.1659, allocations: 3.938 kB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.938e-06/0.1659, allocations: 7.938 kB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.406e-05/0.166, allocations: 3.984 kB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.732e-05/0.1661, allocations: 8 kB / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.445e-05/0.1661, allocations: 0 / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.94e-05/0.1661, allocations: 0 / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.1661, allocations: 0 / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.052e-06/0.1662, allocations: 0 / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.1662, allocations: 7.984 kB / 0.6597 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.513e-05/0.1662, allocations: 0 / 0.6597 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.091e-05/0.1663, allocations: 3.938 kB / 0.6597 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1663, allocations: 0 / 0.6597 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1663, allocations: 4 kB / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.1663, allocations: 0 / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003649/0.1666, allocations: 311.6 kB / 0.66 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1667, allocations: 8.031 kB / 0.66 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.1668, allocations: 42.67 kB / 0.6601 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.279e-05/0.1668, allocations: 4.938 kB / 0.6601 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.1669, allocations: 160.7 kB / 0.6602 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1669, allocations: 384 / 0.6602 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.1669, allocations: 4.125 kB / 0.6602 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.167, allocations: 47.41 kB / 0.6603 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1671, allocations: 0 / 0.6603 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.1671, allocations: 0 / 0.6603 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1671, allocations: 4 kB / 0.6603 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.422e-05/0.1671, allocations: 3.938 kB / 0.6603 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.1673, allocations: 162.5 kB / 0.6604 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.22e-05/0.1674, allocations: 41.25 kB / 0.6605 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.1674, allocations: 20.14 kB / 0.6605 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.1674, allocations: 0 / 0.6605 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.1675, allocations: 34.97 kB / 0.6605 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.1675, allocations: 0 / 0.6605 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002786/0.1678, allocations: 45.88 kB / 0.6606 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.1678, allocations: 81.11 kB / 0.6607 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.561e-05/0.1679, allocations: 89.86 kB / 0.6607 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1679, allocations: 33.64 kB / 0.6608 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.1679, allocations: 80.14 kB / 0.6608 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.168, allocations: 3.953 kB / 0.6608 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.168, allocations: 13.72 kB / 0.6609 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1682, allocations: 314.8 kB / 0.6612 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.1682, allocations: 7.984 kB / 0.6612 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.906e-05/0.1682, allocations: 13.72 kB / 0.6612 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.371e-05/0.1682, allocations: 21.66 kB / 0.6612 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1683, allocations: 3.938 kB / 0.6612 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.516e-05/0.1683, allocations: 37.64 kB / 0.6612 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1683, allocations: 15.92 kB / 0.6613 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1684, allocations: 4.125 kB / 0.6613 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1684, allocations: 0 / 0.6613 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.473e-05/0.1685, allocations: 4 kB / 0.6613 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1685, allocations: 0 / 0.6613 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.1685, allocations: 0 / 0.6613 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1685, allocations: 0 / 0.6613 GB, free: 8.355 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.436e-05/0.1686, allocations: 118.7 kB / 0.6614 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.1686, allocations: 7.891 kB / 0.6614 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.1688, allocations: 52.75 kB / 0.6614 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.1688, allocations: 4 kB / 0.6614 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1688, allocations: 0 / 0.6614 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1688, allocations: 0 / 0.6614 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.169, allocations: 145.7 kB / 0.6616 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.169, allocations: 7.938 kB / 0.6616 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.169, allocations: 0 / 0.6616 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.059e-05/0.169, allocations: 4 kB / 0.6616 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.169, allocations: 4 kB / 0.6616 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1691, allocations: 64 / 0.6616 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1691, allocations: 4 kB / 0.6616 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.277e-05/0.1692, allocations: 69.92 kB / 0.6617 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.1692, allocations: 89.05 kB / 0.6618 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.1692, allocations: 0 / 0.6618 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.498e-05/0.1692, allocations: 0 / 0.6618 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.1693, allocations: 8.016 kB / 0.6618 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.1693, allocations: 4 kB / 0.6618 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.392e-05/0.1694, allocations: 75.28 kB / 0.6618 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1694, allocations: 0 / 0.6618 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001885/0.1696, allocations: 0 / 0.6618 GB, free: 7.664 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004391/0.17, allocations: 0.6054 MB / 0.6624 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.683e-05/0.1701, allocations: 15.94 kB / 0.6624 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1701, allocations: 0 / 0.6624 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.39e-05/0.1701, allocations: 7.938 kB / 0.6624 GB, free: 7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.1703, allocations: 0 / 0.6624 GB, free: 7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.1706, allocations: 119.6 kB / 0.6626 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.1709, allocations: 0.6768 MB / 0.6632 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.914e-05/0.171, allocations: 0 / 0.6632 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.171, allocations: 15.41 kB / 0.6632 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.171, allocations: 0 / 0.6632 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1287/0.2997, allocations: 0.9014 MB / 0.6641 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.353/8.653, allocations: 14.61 kB / 0.6641 GB, free: 5.285 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)