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.006774/0.006774, allocations: 103.2 kB / 15.73 MB, free: 6.047 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.001093/0.001093, allocations: 196.8 kB / 16.68 MB, free: 5.961 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00213/0.00213, allocations: 278.8 kB / 290.8 MB, free: 1.773 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9187/0.9187, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 95.41 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1626, allocations: 86.97 MB / 0.7659 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003366/0.166, allocations: 1.565 MB / 0.7674 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1678, allocations: 0.9128 MB / 0.7683 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.1679, allocations: 4 kB / 0.7683 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.35e-05/0.168, allocations: 3.938 kB / 0.7683 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000279/0.1683, allocations: 23.78 kB / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005395/0.1689, allocations: 143.8 kB / 0.7685 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.1691, allocations: 75.66 kB / 0.7686 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.1692, allocations: 27.95 kB / 0.7686 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1693, allocations: 23.92 kB / 0.7686 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.1695, allocations: 35.84 kB / 0.7687 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1695, allocations: 8 kB / 0.7687 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004533/0.17, allocations: 279.7 kB / 0.7689 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.17, allocations: 15.91 kB / 0.7689 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.79e-05/0.1701, allocations: 31.86 kB / 0.769 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.1704, allocations: 155.5 kB / 0.7691 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1704, allocations: 4 kB / 0.7691 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1704, allocations: 0 / 0.7691 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.1705, allocations: 0 / 0.7691 GB, free: 5.586 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.0006636/0.1711, allocations: 407.1 kB / 0.7695 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.1712, allocations: 12.03 kB / 0.7695 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.1712, allocations: 34.75 kB / 0.7696 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.1714, allocations: 12.84 kB / 0.7696 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.1717, allocations: 196.1 kB / 0.7698 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1717, allocations: 384 / 0.7698 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.1717, allocations: 4.375 kB / 0.7698 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.1719, allocations: 69.77 kB / 0.7698 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.172, allocations: 0 / 0.7698 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.172, allocations: 3.938 kB / 0.7698 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.172, allocations: 0 / 0.7698 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.1721, allocations: 43.95 kB / 0.7699 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.1726, allocations: 296.8 kB / 0.7702 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.1728, allocations: 50.55 kB / 0.7702 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.732e-05/0.1729, allocations: 32.97 kB / 0.7702 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.1729, allocations: 7.938 kB / 0.7702 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.1729, allocations: 30.56 kB / 0.7703 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.173, allocations: 0 / 0.7703 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0003858/0.1733, allocations: 109.5 kB / 0.7704 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.1734, allocations: 51.41 kB / 0.7704 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.1735, allocations: 136 kB / 0.7706 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.1736, allocations: 25.7 kB / 0.7706 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.1736, allocations: 100 kB / 0.7707 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.1737, allocations: 19.73 kB / 0.7707 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.1737, allocations: 21.72 kB / 0.7707 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1739, allocations: 322.8 kB / 0.771 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.53e-05/0.1739, allocations: 19.98 kB / 0.771 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.63e-05/0.174, allocations: 24.3 kB / 0.7711 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.1742, allocations: 60.83 kB / 0.7711 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1742, allocations: 0 / 0.7711 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000248/0.1744, allocations: 89.58 kB / 0.7712 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.1745, allocations: 11.98 kB / 0.7712 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1745, allocations: 0 / 0.7712 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1745, allocations: 0 / 0.7712 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.1746, allocations: 15.98 kB / 0.7712 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.1747, allocations: 0 / 0.7712 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.497e-05/0.1747, allocations: 11.94 kB / 0.7712 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.1748, allocations: 3.938 kB / 0.7713 GB, free: 3.176 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 9.946e-05/0.1749, allocations: 118.4 kB / 0.7714 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.1749, allocations: 11.89 kB / 0.7714 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/0.1752, allocations: 97.95 kB / 0.7715 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1752, allocations: 0 / 0.7715 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.1752, allocations: 0 / 0.7715 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1752, allocations: 8 kB / 0.7715 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.1755, allocations: 189.6 kB / 0.7717 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1755, allocations: 0 / 0.7717 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.046e-05/0.1756, allocations: 19.94 kB / 0.7717 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1756, allocations: 0 / 0.7717 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1756, allocations: 3.984 kB / 0.7717 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1756, allocations: 0 / 0.7717 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1756, allocations: 128 / 0.7717 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.1759, allocations: 199.4 kB / 0.7719 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.176, allocations: 81.02 kB / 0.7719 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.176, allocations: 0 / 0.7719 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.1761, allocations: 4 kB / 0.772 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.1761, allocations: 7.984 kB / 0.772 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.1761, allocations: 3.938 kB / 0.772 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.14e-05/0.1762, allocations: 102.2 kB / 0.7721 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1762, allocations: 0 / 0.7721 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002677/0.1765, allocations: 24 kB / 0.7721 GB, free: 2.227 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.0006597/0.1772, allocations: 0.7396 MB / 0.7728 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.1774, allocations: 59.97 kB / 0.7729 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1774, allocations: 0 / 0.7729 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.584e-05/0.1775, allocations: 27.92 kB / 0.7729 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.1778, allocations: 11.98 kB / 0.7729 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.315/0.4928, allocations: 1.453 MB / 0.7743 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.493, allocations: 0.6911 MB / 0.775 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.793e-05/0.4931, allocations: 10.86 kB / 0.775 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.4932, allocations: 26.16 kB / 0.775 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.4932, allocations: 0.9062 kB / 0.775 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.5134, allocations: 2.349 MB / 0.7773 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/7.868, allocations: 13.16 kB / 0.7773 GB, free: 12.94 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)