Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.0009369/0.0009369, allocations: 95.88 kB / 15.68 MB, free: 488 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.001006/0.001006, allocations: 175.9 kB / 16.57 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.347/1.347, allocations: 223.2 MB / 240.5 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6787/0.6787, allocations: 113.7 MB / 405.3 MB, free: 4.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004527/0.0004529, allocations: 12 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1431, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.001866/0.145, allocations: 1.711 MB / 0.5584 GB, free: 9.969 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.1463, allocations: 0.9793 MB / 0.5593 GB, free: 8.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/0.1463, allocations: 7.938 kB / 0.5594 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.862e-05/0.1464, allocations: 11.86 kB / 0.5594 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.1466, allocations: 87.7 kB / 0.5595 GB, free: 8.875 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.1469, allocations: 126.5 kB / 0.5596 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.1472, allocations: 191.5 kB / 0.5598 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.1473, allocations: 55.23 kB / 0.5598 GB, free: 8.512 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.1474, allocations: 83.64 kB / 0.5599 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.1476, allocations: 123.4 kB / 0.56 GB, free: 8.309 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.1477, allocations: 8 kB / 0.56 GB, free: 8.301 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003638/0.148, allocations: 271.6 kB / 0.5603 GB, free: 8.035 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.72e-05/0.1481, allocations: 35.83 kB / 0.5603 GB, free: 8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.304e-05/0.1482, allocations: 69.52 kB / 0.5604 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.1484, allocations: 227.6 kB / 0.5606 GB, free: 7.703 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1484, allocations: 0 / 0.5606 GB, free: 7.703 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1484, allocations: 0 / 0.5606 GB, free: 7.703 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1484, allocations: 0 / 0.5606 GB, free: 7.703 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001025/0.1495, allocations: 0.6155 MB / 0.5612 GB, free: 7.039 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1495, allocations: 12.03 kB / 0.5612 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.4e-05/0.1496, allocations: 46.55 kB / 0.5612 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.1498, allocations: 31.72 kB / 0.5613 GB, free: 6.941 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.1501, allocations: 270.4 kB / 0.5615 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.1502, allocations: 16.23 kB / 0.5615 GB, free: 6.625 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1502, allocations: 12 kB / 0.5616 GB, free: 6.613 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.1507, allocations: 248.6 kB / 0.5618 GB, free: 6.348 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1508, allocations: 0 / 0.5618 GB, free: 6.348 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.1508, allocations: 8 kB / 0.5618 GB, free: 6.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1508, allocations: 4 kB / 0.5618 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007245/0.1515, allocations: 239.8 kB / 0.562 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.1528, allocations: 0.9501 MB / 0.563 GB, free: 5.082 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007944/0.1536, allocations: 265.2 kB / 0.5632 GB, free: 4.805 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.1536, allocations: 8.297 kB / 0.5632 GB, free: 4.797 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1536, allocations: 30.56 kB / 0.5633 GB, free: 4.758 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.1536, allocations: 0 / 0.5633 GB, free: 4.758 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001226/0.1549, allocations: 405 kB / 0.5636 GB, free: 4.355 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.1549, allocations: 77.11 kB / 0.5637 GB, free: 4.262 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.1552, allocations: 263 kB / 0.564 GB, free: 4.004 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.1553, allocations: 25.7 kB / 0.564 GB, free: 3.973 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.1554, allocations: 176 kB / 0.5642 GB, free: 3.797 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.723e-05/0.1554, allocations: 51.27 kB / 0.5642 GB, free: 3.746 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.1554, allocations: 4 kB / 0.5642 GB, free: 3.742 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1556, allocations: 330.8 kB / 0.5645 GB, free: 3.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/0.1559, allocations: 119.9 kB / 0.5646 GB, free: 3.293 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.1563, allocations: 158.7 kB / 0.5648 GB, free: 3.117 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.1567, allocations: 120.5 kB / 0.5649 GB, free: 3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1567, allocations: 0 / 0.5649 GB, free: 3 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008797/0.1576, allocations: 356.8 kB / 0.5652 GB, free: 2.645 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1576, allocations: 4.938 kB / 0.5653 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1576, allocations: 0 / 0.5653 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1576, allocations: 4 kB / 0.5653 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.1579, allocations: 76 kB / 0.5653 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1579, allocations: 4 kB / 0.5653 GB, free: 2.559 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.1582, allocations: 55.75 kB / 0.5654 GB, free: 2.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.1582, allocations: 12 kB / 0.5654 GB, free: 2.492 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.1583, allocations: 133.8 kB / 0.5655 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.1585, allocations: 27.67 kB / 0.5656 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008519/0.1593, allocations: 327.1 kB / 0.5659 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.1593, allocations: 4 kB / 0.5659 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.1593, allocations: 0 / 0.5659 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-06/0.1594, allocations: 3.984 kB / 0.5659 GB, free: 1.988 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003627/0.1597, allocations: 297.3 kB / 0.5662 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1597, allocations: 4 kB / 0.5662 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.16, allocations: 59.95 kB / 0.5662 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.16, allocations: 0 / 0.5662 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.16, allocations: 7.953 kB / 0.5662 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.16, allocations: 8 kB / 0.5662 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.16, allocations: 3.938 kB / 0.5662 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000862/0.1609, allocations: 492 kB / 0.5667 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.842e-05/0.161, allocations: 100.8 kB / 0.5668 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.161, allocations: 4.266 kB / 0.5668 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.1613, allocations: 47.91 kB / 0.5668 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.1614, allocations: 19.97 kB / 0.5669 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.1614, allocations: 7.938 kB / 0.5669 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001696/0.1616, allocations: 190 kB / 0.5671 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1616, allocations: 3.938 kB / 0.5671 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003493/0.1619, allocations: 60.09 kB / 0.5671 GB, free: 0.6211 MB / 430.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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001225/0.1632, allocations: 1.108 MB / 0.5682 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007608/0.1639, allocations: 271.9 kB / 0.5685 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.164, allocations: 0 / 0.5685 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003648/0.1643, allocations: 135.9 kB / 0.5686 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.1648, allocations: 77.33 kB / 0.5687 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.1661, allocations: 1.665 MB / 0.5703 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.1665, allocations: 0.756 MB / 0.571 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.1666, allocations: 42.22 kB / 0.5711 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.1667, allocations: 83.41 kB / 0.5711 GB, free: 12.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1667, allocations: 0 / 0.5711 GB, free: 12.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5717/0.7384, allocations: 5.741 MB / 0.5768 GB, free: 6.844 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002962/0.7387, allocations: 195.5 kB / 0.5769 GB, free: 6.602 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.222/2.961, allocations: 3.375 kB / 0.5769 GB, free: 6.602 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) Environment - environmentSimulation: