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.001057/0.001057, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 198.6 kB / 16.53 MB, free: 6.391 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7601/0.7601, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 60.11 kB / 0.5019 GB, free: 8.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1551, allocations: 80.2 MB / 0.5802 GB, free: 8.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001792/0.1569, allocations: 0.5134 MB / 0.5807 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001198/0.1571, allocations: 15.97 kB / 0.5807 GB, free: 8.141 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.1571, allocations: 0 / 0.5807 GB, free: 8.141 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.1571, allocations: 0 / 0.5807 GB, free: 8.141 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.1573, allocations: 3.938 kB / 0.5807 GB, free: 8.137 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.928e-06/0.1573, allocations: 3.938 kB / 0.5807 GB, free: 8.133 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.293e-05/0.1573, allocations: 4 kB / 0.5807 GB, free: 8.129 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/0.1574, allocations: 0 / 0.5807 GB, free: 8.129 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.485e-05/0.1574, allocations: 4 kB / 0.5807 GB, free: 8.125 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.774e-05/0.1575, allocations: 7.922 kB / 0.5807 GB, free: 8.117 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.1575, allocations: 4 kB / 0.5807 GB, free: 8.113 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.951e-06/0.1575, allocations: 0 / 0.5807 GB, free: 8.113 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.1575, allocations: 0 / 0.5807 GB, free: 8.113 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.452e-05/0.1575, allocations: 0 / 0.5807 GB, free: 8.113 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.823e-05/0.1576, allocations: 3.984 kB / 0.5807 GB, free: 8.109 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1576, allocations: 0 / 0.5807 GB, free: 8.109 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1576, allocations: 0 / 0.5807 GB, free: 8.109 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.1576, allocations: 0 / 0.5807 GB, free: 8.109 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002312/0.1578, allocations: 315.6 kB / 0.581 GB, free: 7.754 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1579, allocations: 12.03 kB / 0.581 GB, free: 7.742 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.874e-05/0.1579, allocations: 34.69 kB / 0.5811 GB, free: 7.699 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.028e-05/0.1579, allocations: 0.9375 kB / 0.5811 GB, free: 7.699 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.997e-05/0.158, allocations: 164.4 kB / 0.5812 GB, free: 7.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.158, allocations: 384 / 0.5812 GB, free: 7.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.158, allocations: 384 / 0.5812 GB, free: 7.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.845e-05/0.1581, allocations: 47.36 kB / 0.5813 GB, free: 7.441 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.1582, allocations: 7.938 kB / 0.5813 GB, free: 7.434 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1582, allocations: 4 kB / 0.5813 GB, free: 7.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1582, allocations: 0 / 0.5813 GB, free: 7.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.385e-05/0.1582, allocations: 7.922 kB / 0.5813 GB, free: 7.422 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.1583, allocations: 158.5 kB / 0.5815 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.17e-05/0.1584, allocations: 37.28 kB / 0.5815 GB, free: 7.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.1584, allocations: 21.66 kB / 0.5815 GB, free: 7.133 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.1585, allocations: 12 kB / 0.5815 GB, free: 7.121 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.1585, allocations: 34.55 kB / 0.5816 GB, free: 7.078 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.1585, allocations: 0 / 0.5816 GB, free: 7.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001231/0.1586, allocations: 37.64 kB / 0.5816 GB, free: 7.035 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1587, allocations: 81.11 kB / 0.5817 GB, free: 6.938 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.028e-05/0.1587, allocations: 98.11 kB / 0.5818 GB, free: 6.832 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.1587, allocations: 25.7 kB / 0.5818 GB, free: 6.801 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.168e-05/0.1587, allocations: 80.14 kB / 0.5819 GB, free: 6.719 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.1588, allocations: 4.188 kB / 0.5819 GB, free: 6.715 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.1588, allocations: 17.7 kB / 0.5819 GB, free: 6.691 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.1589, allocations: 314.8 kB / 0.5822 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.105e-05/0.1589, allocations: 0 / 0.5822 GB, free: 6.375 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.436e-05/0.1589, allocations: 13.72 kB / 0.5822 GB, free: 6.355 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.522e-05/0.159, allocations: 21.72 kB / 0.5822 GB, free: 6.328 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.159, allocations: 3.938 kB / 0.5822 GB, free: 6.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.455e-05/0.1591, allocations: 45.62 kB / 0.5823 GB, free: 6.273 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1591, allocations: 8 kB / 0.5823 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1591, allocations: 0 / 0.5823 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1591, allocations: 3.938 kB / 0.5823 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.29e-05/0.1592, allocations: 4 kB / 0.5823 GB, free: 6.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1592, allocations: 4.062 kB / 0.5823 GB, free: 6.254 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.751e-05/0.1592, allocations: 3.938 kB / 0.5823 GB, free: 6.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1592, allocations: 4 kB / 0.5823 GB, free: 6.246 MB / 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 6.048e-05/0.1593, allocations: 110.5 kB / 0.5824 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.1593, allocations: 3.938 kB / 0.5824 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.1594, allocations: 52.66 kB / 0.5825 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1594, allocations: 8.062 kB / 0.5825 GB, free: 6.055 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1594, allocations: 0 / 0.5825 GB, free: 6.055 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1594, allocations: 0 / 0.5825 GB, free: 6.055 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.686e-05/0.1595, allocations: 157.6 kB / 0.5826 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1595, allocations: 0 / 0.5826 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.528e-05/0.1596, allocations: 7.922 kB / 0.5826 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1596, allocations: 4 kB / 0.5826 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.1596, allocations: 0 / 0.5826 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1596, allocations: 0 / 0.5826 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1596, allocations: 0 / 0.5826 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.756e-05/0.1597, allocations: 73.94 kB / 0.5827 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.1597, allocations: 85.03 kB / 0.5828 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.1597, allocations: 0 / 0.5828 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.515e-05/0.1597, allocations: 0 / 0.5828 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/0.1598, allocations: 4 kB / 0.5828 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.1598, allocations: 0 / 0.5828 GB, free: 5.641 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.183e-05/0.1598, allocations: 75.28 kB / 0.5828 GB, free: 5.566 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1598, allocations: 4.031 kB / 0.5829 GB, free: 5.562 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001945/0.16, allocations: 4 kB / 0.5829 GB, free: 5.559 MB / 494.1 MB 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.0003124/0.1603, allocations: 0.6015 MB / 0.5834 GB, free: 4.926 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.1604, allocations: 12.03 kB / 0.5835 GB, free: 4.914 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1604, allocations: 0 / 0.5835 GB, free: 4.914 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.48e-05/0.1605, allocations: 15.92 kB / 0.5835 GB, free: 4.898 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.1606, allocations: 2.188 kB / 0.5835 GB, free: 4.898 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002841/0.1609, allocations: 119.5 kB / 0.5836 GB, free: 4.738 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.1611, allocations: 0.6729 MB / 0.5842 GB, free: 4.039 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.224e-05/0.1611, allocations: 8.25 kB / 0.5843 GB, free: 4.031 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.315e-05/0.1611, allocations: 11.38 kB / 0.5843 GB, free: 4.023 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1612, allocations: 0 / 0.5843 GB, free: 4.023 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.1769, allocations: 0.8855 MB / 0.5851 GB, free: 3.207 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.697, allocations: 4.656 kB / 0.5851 GB, free: 3.207 MB / 494.1 MB (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 IDEAS_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)