Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.Performance.Example5,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example5,fileNamePrefix="IBPSA_latest_IBPSA_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.001038/0.001037, allocations: 93.73 kB / 16.02 MB, free: 84 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.001211/0.001211, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6879/0.6879, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003157, allocations: 8 kB / 495.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1344, allocations: 77.52 MB / 0.56 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example5): time 0.0006352/0.135, allocations: 250.3 kB / 0.5603 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001623/0.1352, allocations: 42.48 kB / 0.5603 GB, free: 8.672 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.1353, allocations: 0 / 0.5603 GB, free: 8.672 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.1353, allocations: 3.938 kB / 0.5603 GB, free: 8.668 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.1354, allocations: 0 / 0.5603 GB, free: 8.668 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.142e-05/0.1355, allocations: 11.98 kB / 0.5603 GB, free: 8.656 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.256e-05/0.1356, allocations: 11.98 kB / 0.5603 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.1356, allocations: 4 kB / 0.5603 GB, free: 8.641 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.879e-05/0.1357, allocations: 7.875 kB / 0.5604 GB, free: 8.633 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.991e-05/0.1357, allocations: 8 kB / 0.5604 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.1358, allocations: 0 / 0.5604 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.1358, allocations: 8 kB / 0.5604 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.623e-05/0.1358, allocations: 3.984 kB / 0.5604 GB, free: 8.613 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.1359, allocations: 33.64 kB / 0.5604 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.717e-05/0.1359, allocations: 15.84 kB / 0.5604 GB, free: 8.559 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1359, allocations: 4 kB / 0.5604 GB, free: 8.555 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1359, allocations: 0 / 0.5604 GB, free: 8.555 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.136, allocations: 0 / 0.5604 GB, free: 8.555 MB / 430.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.0004088/0.1364, allocations: 323.8 kB / 0.5607 GB, free: 8.188 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1364, allocations: 8.031 kB / 0.5607 GB, free: 8.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.1365, allocations: 30.75 kB / 0.5608 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.1365, allocations: 8.938 kB / 0.5608 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.1367, allocations: 172.3 kB / 0.5609 GB, free: 7.926 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-06/0.1367, allocations: 384 / 0.5609 GB, free: 7.926 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.1367, allocations: 8.281 kB / 0.5609 GB, free: 7.918 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.658e-05/0.1368, allocations: 38.19 kB / 0.561 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.1368, allocations: 3.938 kB / 0.561 GB, free: 7.871 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.1368, allocations: 0 / 0.561 GB, free: 7.871 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1368, allocations: 0 / 0.561 GB, free: 7.871 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.961e-05/0.1369, allocations: 4 kB / 0.561 GB, free: 7.867 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.137, allocations: 157.7 kB / 0.5611 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.982e-05/0.1371, allocations: 18.58 kB / 0.5612 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.1371, allocations: 12.91 kB / 0.5612 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.1371, allocations: 0 / 0.5612 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.1371, allocations: 34.5 kB / 0.5612 GB, free: 7.578 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.1372, allocations: 0 / 0.5612 GB, free: 7.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001447/0.1373, allocations: 49.62 kB / 0.5613 GB, free: 7.523 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.1373, allocations: 55.41 kB / 0.5613 GB, free: 7.457 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.322e-05/0.1374, allocations: 109.8 kB / 0.5614 GB, free: 7.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.1375, allocations: 25.7 kB / 0.5614 GB, free: 7.309 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.1375, allocations: 88.14 kB / 0.5615 GB, free: 7.219 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1375, allocations: 0 / 0.5615 GB, free: 7.219 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.1376, allocations: 13.72 kB / 0.5615 GB, free: 7.199 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.093e-05/0.1376, allocations: 314.8 kB / 0.5618 GB, free: 6.883 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.1377, allocations: 4.125 kB / 0.5618 GB, free: 6.879 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.1377, allocations: 25.64 kB / 0.5619 GB, free: 6.848 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.97e-05/0.1377, allocations: 21.72 kB / 0.5619 GB, free: 6.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1377, allocations: 0 / 0.5619 GB, free: 6.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.697e-05/0.1378, allocations: 49.53 kB / 0.5619 GB, free: 6.766 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1379, allocations: 7.938 kB / 0.5619 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1379, allocations: 8.125 kB / 0.5619 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1379, allocations: 256 / 0.5619 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.052e-05/0.138, allocations: 4 kB / 0.5619 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.138, allocations: 7.984 kB / 0.562 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.567e-05/0.138, allocations: 4 kB / 0.562 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.138, allocations: 7.969 kB / 0.562 GB, free: 6.727 MB / 430.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.482e-05/0.1381, allocations: 113.8 kB / 0.5621 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.1381, allocations: 3.938 kB / 0.5621 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.1382, allocations: 61.14 kB / 0.5621 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1382, allocations: 0 / 0.5621 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1382, allocations: 0 / 0.5621 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.1382, allocations: 0 / 0.5621 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.1384, allocations: 157.7 kB / 0.5623 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1384, allocations: 0 / 0.5623 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.893e-05/0.1384, allocations: 4 kB / 0.5623 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.1384, allocations: 3.938 kB / 0.5623 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1384, allocations: 0 / 0.5623 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1384, allocations: 0 / 0.5623 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1385, allocations: 0 / 0.5623 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.1386, allocations: 85.08 kB / 0.5624 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.1386, allocations: 77.11 kB / 0.5624 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.1387, allocations: 7.875 kB / 0.5625 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.133e-05/0.1387, allocations: 0 / 0.5625 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.1387, allocations: 7.984 kB / 0.5625 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1387, allocations: 3.938 kB / 0.5625 GB, free: 6.109 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.947e-05/0.1388, allocations: 87.28 kB / 0.5626 GB, free: 6.023 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1388, allocations: 4.094 kB / 0.5626 GB, free: 6.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001831/0.139, allocations: 4 kB / 0.5626 GB, free: 6.016 MB / 430.1 MB 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.0003558/0.1393, allocations: 0.6046 MB / 0.5631 GB, free: 5.383 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.638e-05/0.1394, allocations: 24.08 kB / 0.5632 GB, free: 5.359 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1394, allocations: 4.062 kB / 0.5632 GB, free: 5.355 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.378e-05/0.1395, allocations: 4 kB / 0.5632 GB, free: 5.352 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.1396, allocations: 3.984 kB / 0.5632 GB, free: 5.348 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008851/0.1405, allocations: 1.153 MB / 0.5643 GB, free: 4.109 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.1407, allocations: 0.677 MB / 0.565 GB, free: 3.406 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.61e-05/0.1408, allocations: 4 kB / 0.565 GB, free: 3.402 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.1408, allocations: 19.42 kB / 0.565 GB, free: 3.383 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1408, allocations: 0 / 0.565 GB, free: 3.383 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2465/0.3873, allocations: 0.9859 MB / 0.566 GB, free: 2.523 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.3876, allocations: 186.3 kB / 0.5661 GB, free: 2.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.262, allocations: 3.938 kB / 0.5661 GB, free: 2.266 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example5.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example5.pipe 2>&1)