Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example5.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.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",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.006006/0.006006, allocations: 97.61 kB / 15.73 MB, free: 6.055 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.00133/0.00133, allocations: 194.3 kB / 16.68 MB, free: 5.977 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8195/0.8195, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.001811, allocations: 66.95 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1655, allocations: 80.2 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001863/0.1674, allocations: 0.5094 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002109/0.1677, allocations: 43.8 kB / 0.6597 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.517e-05/0.1677, allocations: 4 kB / 0.6597 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.1678, allocations: 0 / 0.6597 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.1679, allocations: 3.938 kB / 0.6597 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.831e-05/0.168, allocations: 11.94 kB / 0.6597 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.259e-05/0.1681, allocations: 15.92 kB / 0.6597 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.036e-05/0.1682, allocations: 0 / 0.6597 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.386e-05/0.1682, allocations: 4 kB / 0.6598 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.201e-05/0.1683, allocations: 7.984 kB / 0.6598 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.1683, allocations: 0 / 0.6598 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.1683, allocations: 0 / 0.6598 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.491e-05/0.1684, allocations: 15.92 kB / 0.6598 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.1684, allocations: 0 / 0.6598 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.205e-05/0.1685, allocations: 11.92 kB / 0.6598 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1685, allocations: 0 / 0.6598 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.884e-06/0.1685, allocations: 0 / 0.6598 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.1685, allocations: 4 kB / 0.6598 GB, free: 13.36 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005055/0.169, allocations: 335.7 kB / 0.6601 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1691, allocations: 8.031 kB / 0.6601 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.524e-05/0.1691, allocations: 34.69 kB / 0.6602 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.1692, allocations: 0.9375 kB / 0.6602 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.1694, allocations: 172.3 kB / 0.6603 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1694, allocations: 4.359 kB / 0.6603 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.1694, allocations: 4.125 kB / 0.6603 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.745e-05/0.1695, allocations: 37.7 kB / 0.6604 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.1695, allocations: 0 / 0.6604 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1695, allocations: 0 / 0.6604 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.1696, allocations: 0 / 0.6604 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.253e-05/0.1696, allocations: 7.984 kB / 0.6604 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.1698, allocations: 153.7 kB / 0.6605 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.891e-05/0.1698, allocations: 22.86 kB / 0.6605 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.1699, allocations: 8.797 kB / 0.6605 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.1699, allocations: 4 kB / 0.6605 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1699, allocations: 34.62 kB / 0.6606 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.1699, allocations: 0 / 0.6606 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001495/0.1701, allocations: 41.67 kB / 0.6606 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.1701, allocations: 55.34 kB / 0.6607 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.889e-05/0.1702, allocations: 114 kB / 0.6608 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.1702, allocations: 29.7 kB / 0.6608 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.1703, allocations: 84.27 kB / 0.6609 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.1703, allocations: 7.891 kB / 0.6609 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.1704, allocations: 17.72 kB / 0.6609 GB, free: 12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1705, allocations: 314.8 kB / 0.6612 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.1705, allocations: 7.984 kB / 0.6612 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.506e-05/0.1706, allocations: 17.78 kB / 0.6612 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.684e-05/0.1706, allocations: 29.77 kB / 0.6613 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1706, allocations: 0 / 0.6613 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.268e-05/0.1707, allocations: 53.5 kB / 0.6613 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1707, allocations: 4 kB / 0.6613 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1707, allocations: 0 / 0.6613 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1707, allocations: 4 kB / 0.6613 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.083e-05/0.1708, allocations: 0 / 0.6613 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.1708, allocations: 4 kB / 0.6613 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.1709, allocations: 0 / 0.6613 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1709, allocations: 4.062 kB / 0.6613 GB, free: 11.54 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.861e-05/0.171, allocations: 122.4 kB / 0.6615 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.171, allocations: 3.938 kB / 0.6615 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.1711, allocations: 48.81 kB / 0.6615 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1711, allocations: 0 / 0.6615 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1711, allocations: 0 / 0.6615 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1711, allocations: 0 / 0.6615 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.1713, allocations: 161.6 kB / 0.6617 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1713, allocations: 4.031 kB / 0.6617 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.1713, allocations: 11.98 kB / 0.6617 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1713, allocations: 0 / 0.6617 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.1713, allocations: 4 kB / 0.6617 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1713, allocations: 0 / 0.6617 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1714, allocations: 0 / 0.6617 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.1715, allocations: 80.95 kB / 0.6618 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.1715, allocations: 81.09 kB / 0.6618 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.1716, allocations: 8.125 kB / 0.6618 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.93e-05/0.1716, allocations: 0 / 0.6618 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.1716, allocations: 0 / 0.6618 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.1716, allocations: 3.938 kB / 0.6618 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.528e-05/0.1717, allocations: 95.27 kB / 0.6619 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1717, allocations: 0 / 0.6619 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001731/0.1719, allocations: 4 kB / 0.6619 GB, free: 10.82 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.0004203/0.1723, allocations: 0.6163 MB / 0.6625 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.848e-05/0.1724, allocations: 8 kB / 0.6625 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1724, allocations: 0 / 0.6625 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.584e-05/0.1724, allocations: 7.984 kB / 0.6626 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.1725, allocations: 8 kB / 0.6626 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.1736, allocations: 1.161 MB / 0.6637 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.1739, allocations: 0.6807 MB / 0.6644 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.821e-05/0.1739, allocations: 0 / 0.6644 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.1739, allocations: 11.44 kB / 0.6644 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1739, allocations: 0 / 0.6644 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.2072, allocations: 1.167 MB / 0.6655 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.305/8.512, allocations: 11.88 kB / 0.6655 GB, free: 7.098 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)