Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.005285/0.005285, allocations: 101.8 kB / 15.73 MB, free: 6.469 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.001288/0.001288, allocations: 194 kB / 16.67 MB, free: 6.379 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002035/0.002035, allocations: 279 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9069/0.9069, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 99.84 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1592, allocations: 86.98 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002697/0.1619, allocations: 1.562 MB / 0.7674 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1634, allocations: 0.9128 MB / 0.7683 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.836e-05/0.1635, allocations: 0 / 0.7683 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.1635, allocations: 3.938 kB / 0.7683 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.1638, allocations: 27.78 kB / 0.7684 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.1642, allocations: 143.8 kB / 0.7685 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.1643, allocations: 75.66 kB / 0.7686 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.179e-05/0.1644, allocations: 19.95 kB / 0.7686 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.022e-05/0.1645, allocations: 27.92 kB / 0.7686 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.1646, allocations: 39.84 kB / 0.7686 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.1647, allocations: 4 kB / 0.7687 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003785/0.1651, allocations: 291.6 kB / 0.7689 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.1651, allocations: 15.92 kB / 0.7689 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.1651, allocations: 27.86 kB / 0.769 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.1654, allocations: 155.5 kB / 0.7691 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1654, allocations: 0 / 0.7691 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1654, allocations: 0 / 0.7691 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.1654, allocations: 0 / 0.7691 GB, free: 5.621 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005508/0.166, allocations: 411.1 kB / 0.7695 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.166, allocations: 8.031 kB / 0.7695 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/0.1661, allocations: 34.75 kB / 0.7696 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.1662, allocations: 12.83 kB / 0.7696 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.1664, allocations: 188.1 kB / 0.7697 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.1664, allocations: 4.375 kB / 0.7697 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.1664, allocations: 384 / 0.7698 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.1666, allocations: 77.75 kB / 0.7698 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1666, allocations: 0 / 0.7698 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1667, allocations: 4 kB / 0.7698 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1667, allocations: 7.938 kB / 0.7698 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.1668, allocations: 39.97 kB / 0.7699 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.1673, allocations: 292.8 kB / 0.7702 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.1674, allocations: 54.56 kB / 0.7702 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.686e-05/0.1675, allocations: 24.97 kB / 0.7702 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.1675, allocations: 4 kB / 0.7702 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.1676, allocations: 34.5 kB / 0.7703 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1676, allocations: 0 / 0.7703 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0003529/0.1679, allocations: 109.5 kB / 0.7704 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.168, allocations: 59.34 kB / 0.7704 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.1681, allocations: 127.7 kB / 0.7705 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1681, allocations: 29.7 kB / 0.7706 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.1682, allocations: 100 kB / 0.7707 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.1682, allocations: 15.75 kB / 0.7707 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.1682, allocations: 17.72 kB / 0.7707 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.616e-05/0.1683, allocations: 330.8 kB / 0.771 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.191e-05/0.1684, allocations: 19.98 kB / 0.771 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.59e-05/0.1685, allocations: 23.92 kB / 0.7711 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.1687, allocations: 56.83 kB / 0.7711 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1687, allocations: 0 / 0.7711 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002117/0.1689, allocations: 97.98 kB / 0.7712 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1689, allocations: 4 kB / 0.7712 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1689, allocations: 0 / 0.7712 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1689, allocations: 0 / 0.7712 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.169, allocations: 19.92 kB / 0.7712 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1691, allocations: 4 kB / 0.7712 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.743e-05/0.1691, allocations: 4 kB / 0.7712 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1692, allocations: 7.922 kB / 0.7712 GB, free: 3.211 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 7.825e-05/0.1692, allocations: 118.4 kB / 0.7714 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.1693, allocations: 11.91 kB / 0.7714 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.1695, allocations: 102 kB / 0.7715 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1696, allocations: 0 / 0.7715 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1696, allocations: 0 / 0.7715 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1696, allocations: 0 / 0.7715 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.1697, allocations: 189.6 kB / 0.7716 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1698, allocations: 4 kB / 0.7717 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.394e-05/0.1698, allocations: 15.92 kB / 0.7717 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1699, allocations: 4 kB / 0.7717 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-06/0.1699, allocations: 4 kB / 0.7717 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1699, allocations: 0 / 0.7717 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1699, allocations: 0 / 0.7717 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.1701, allocations: 187.4 kB / 0.7719 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.1702, allocations: 85.02 kB / 0.7719 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.1702, allocations: 0 / 0.7719 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.1703, allocations: 11.98 kB / 0.7719 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.1703, allocations: 7.938 kB / 0.772 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1703, allocations: 4 kB / 0.772 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.25e-05/0.1704, allocations: 97.3 kB / 0.7721 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1704, allocations: 0 / 0.7721 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002467/0.1706, allocations: 27.98 kB / 0.7721 GB, free: 2.262 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0005135/0.1712, allocations: 0.7358 MB / 0.7728 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1714, allocations: 60.02 kB / 0.7729 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1714, allocations: 0 / 0.7729 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.12e-05/0.1715, allocations: 35.92 kB / 0.7729 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.1717, allocations: 8 kB / 0.7729 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2954/0.4671, allocations: 1.456 MB / 0.7743 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.4673, allocations: 0.6896 MB / 0.775 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.79e-05/0.4673, allocations: 11.38 kB / 0.775 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/0.4674, allocations: 22.28 kB / 0.775 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of SimCode: time 8.21e-07/0.4674, allocations: 0.75 kB / 0.775 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.4858, allocations: 2.31 MB / 0.7773 GB, free: 13 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/7.876, allocations: 8.219 kB / 0.7773 GB, free: 13 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)