Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_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.001116/0.001117, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008197/0.008197, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.367/1.367, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.939/0.939, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003788, allocations: 8.281 kB / 0.5077 GB, free: 4.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.17, allocations: 82.3 MB / 0.5881 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.000703/0.1708, allocations: 250.9 kB / 0.5883 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001891/0.171, allocations: 43.81 kB / 0.5883 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.856e-05/0.1711, allocations: 0 / 0.5883 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.1711, allocations: 3.984 kB / 0.5883 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.1713, allocations: 0 / 0.5883 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.377e-05/0.1713, allocations: 4 kB / 0.5884 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.776e-05/0.1714, allocations: 8 kB / 0.5884 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.1714, allocations: 3.938 kB / 0.5884 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.477e-05/0.1715, allocations: 11.92 kB / 0.5884 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.387e-05/0.1716, allocations: 4 kB / 0.5884 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.1716, allocations: 4 kB / 0.5884 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.185e-06/0.1716, allocations: 0 / 0.5884 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.646e-05/0.1717, allocations: 11.98 kB / 0.5884 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.321e-05/0.1717, allocations: 33.62 kB / 0.5884 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.187e-05/0.1718, allocations: 8 kB / 0.5884 GB, free: 2.145 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1718, allocations: 3.938 kB / 0.5884 GB, free: 2.141 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1718, allocations: 0 / 0.5884 GB, free: 2.141 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1718, allocations: 0 / 0.5884 GB, free: 2.141 MB / 494.1 MB 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.000448/0.1723, allocations: 323.5 kB / 0.5887 GB, free: 1.777 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1723, allocations: 16.03 kB / 0.5888 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.1724, allocations: 30.75 kB / 0.5888 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.1724, allocations: 4.938 kB / 0.5888 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.1726, allocations: 168.6 kB / 0.589 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.1726, allocations: 4.359 kB / 0.589 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.1727, allocations: 4.375 kB / 0.589 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.342e-05/0.1727, allocations: 37.58 kB / 0.589 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1728, allocations: 0 / 0.589 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.1728, allocations: 0 / 0.589 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1728, allocations: 0 / 0.589 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.095e-05/0.1728, allocations: 7.984 kB / 0.589 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.173, allocations: 161.6 kB / 0.5892 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.182e-05/0.173, allocations: 18.61 kB / 0.5892 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.1731, allocations: 12.92 kB / 0.5892 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.1731, allocations: 3.938 kB / 0.5892 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1731, allocations: 34.5 kB / 0.5892 GB, free: 1.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.103e-06/0.1731, allocations: 4 kB / 0.5892 GB, free: 1.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001495/0.1733, allocations: 45.67 kB / 0.5893 GB, free: 1.105 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.1733, allocations: 51.41 kB / 0.5893 GB, free: 1.043 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.745e-05/0.1734, allocations: 109.8 kB / 0.5894 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.1734, allocations: 25.7 kB / 0.5895 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.1735, allocations: 88.14 kB / 0.5895 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.1735, allocations: 0 / 0.5895 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.1736, allocations: 9.719 kB / 0.5895 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1737, allocations: 315 kB / 0.5898 GB, free: 484 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.1737, allocations: 7.984 kB / 0.5899 GB, free: 476 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.1737, allocations: 21.66 kB / 0.5899 GB, free: 448 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.262e-05/0.1738, allocations: 25.7 kB / 0.5899 GB, free: 416 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1738, allocations: 0 / 0.5899 GB, free: 416 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.616e-05/0.1739, allocations: 57.59 kB / 0.59 GB, free: 352 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1739, allocations: 8 kB / 0.59 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1739, allocations: 7.938 kB / 0.59 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1739, allocations: 3.984 kB / 0.59 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.006e-05/0.174, allocations: 4 kB / 0.59 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.174, allocations: 0 / 0.59 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.422e-05/0.1741, allocations: 0 / 0.59 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.1741, allocations: 0 / 0.59 GB, free: 328 kB / 494.1 MB 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.367e-05/0.1742, allocations: 113.8 kB / 0.5901 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.1742, allocations: 3.938 kB / 0.5901 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.1743, allocations: 56.75 kB / 0.5901 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1743, allocations: 0 / 0.5901 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1743, allocations: 0 / 0.5901 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.1743, allocations: 0 / 0.5901 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.1745, allocations: 157.7 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1745, allocations: 3.938 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.237e-05/0.1745, allocations: 0 / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.1746, allocations: 4 kB / 0.5903 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1746, allocations: 3.984 kB / 0.5903 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1746, allocations: 0 / 0.5903 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1746, allocations: 4.031 kB / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.1747, allocations: 69.12 kB / 0.5904 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.1748, allocations: 92.98 kB / 0.5905 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1748, allocations: 3.984 kB / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.382e-05/0.1748, allocations: 0 / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.1748, allocations: 3.938 kB / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.1749, allocations: 256 / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.213e-05/0.1749, allocations: 99.36 kB / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1749, allocations: 0 / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001833/0.1751, allocations: 4 kB / 0.5906 GB, free: 15.61 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.0003909/0.1755, allocations: 0.6085 MB / 0.5912 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.641e-05/0.1756, allocations: 20.03 kB / 0.5912 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1756, allocations: 0 / 0.5912 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-05/0.1756, allocations: 7.984 kB / 0.5912 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.1758, allocations: 7.656 kB / 0.5912 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.1768, allocations: 1.152 MB / 0.5923 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.1771, allocations: 0.6809 MB / 0.593 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.862e-05/0.1771, allocations: 4 kB / 0.593 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.1771, allocations: 15.42 kB / 0.593 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.1771, allocations: 0 / 0.593 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1155/0.2926, allocations: 0.9966 MB / 0.594 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003168/0.293, allocations: 183.1 kB / 0.5942 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/1.948, allocations: 0 / 0.5942 GB, free: 11.86 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)