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: translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001179/0.001179, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.28/1.28, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00223/0.00223, allocations: 290.2 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9259/0.9259, allocations: 169.2 MB / 0.4988 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 99.19 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1607, allocations: 86.97 MB / 0.6808 GB, free: 8.191 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003042/0.1638, allocations: 1.556 MB / 0.6824 GB, free: 6.617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1653, allocations: 0.9014 MB / 0.6832 GB, free: 5.707 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.382e-05/0.1655, allocations: 3.938 kB / 0.6833 GB, free: 5.703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.88e-05/0.1655, allocations: 7.922 kB / 0.6833 GB, free: 5.695 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.1658, allocations: 19.8 kB / 0.6833 GB, free: 5.676 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.1662, allocations: 143.6 kB / 0.6834 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.1663, allocations: 75.67 kB / 0.6835 GB, free: 5.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.1664, allocations: 20.25 kB / 0.6835 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.085e-05/0.1665, allocations: 31.91 kB / 0.6835 GB, free: 5.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.1667, allocations: 35.84 kB / 0.6836 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1667, allocations: 4 kB / 0.6836 GB, free: 5.371 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.1671, allocations: 283.7 kB / 0.6838 GB, free: 5.094 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.1671, allocations: 11.92 kB / 0.6839 GB, free: 5.082 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.1672, allocations: 31.8 kB / 0.6839 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.1674, allocations: 159.5 kB / 0.684 GB, free: 4.895 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1674, allocations: 0 / 0.684 GB, free: 4.895 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1675, allocations: 0 / 0.684 GB, free: 4.895 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1675, allocations: 0 / 0.684 GB, free: 4.895 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005913/0.1681, allocations: 411.1 kB / 0.6844 GB, free: 4.445 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1681, allocations: 8.031 kB / 0.6844 GB, free: 4.438 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.1683, allocations: 12.84 kB / 0.6845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.1684, allocations: 202.5 kB / 0.6846 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1685, allocations: 384 / 0.6846 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.1685, allocations: 4.375 kB / 0.6846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.1687, allocations: 61.98 kB / 0.6847 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1687, allocations: 0 / 0.6847 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1687, allocations: 4 kB / 0.6847 GB, free: 4.117 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1687, allocations: 3.984 kB / 0.6847 GB, free: 4.113 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.1689, allocations: 39.97 kB / 0.6848 GB, free: 4.074 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.1693, allocations: 308.6 kB / 0.685 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.1694, allocations: 58.55 kB / 0.6851 GB, free: 3.656 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.1695, allocations: 24.97 kB / 0.6851 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.1696, allocations: 4 kB / 0.6851 GB, free: 3.625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.1696, allocations: 34.56 kB / 0.6852 GB, free: 3.582 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.1696, allocations: 0 / 0.6852 GB, free: 3.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003673/0.17, allocations: 101.6 kB / 0.6853 GB, free: 3.477 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.17, allocations: 55.41 kB / 0.6853 GB, free: 3.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.1701, allocations: 133.7 kB / 0.6854 GB, free: 3.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.1702, allocations: 29.7 kB / 0.6855 GB, free: 3.234 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.1702, allocations: 100.1 kB / 0.6856 GB, free: 3.133 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.1702, allocations: 15.75 kB / 0.6856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.1703, allocations: 21.7 kB / 0.6856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1704, allocations: 318.8 kB / 0.6859 GB, free: 2.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.152e-05/0.1705, allocations: 23.97 kB / 0.6859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.75e-05/0.1706, allocations: 23.98 kB / 0.686 GB, free: 2.723 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.1707, allocations: 56.83 kB / 0.686 GB, free: 2.664 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1708, allocations: 4 kB / 0.686 GB, free: 2.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002243/0.171, allocations: 89.52 kB / 0.6861 GB, free: 2.566 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.171, allocations: 6.031 kB / 0.6861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.171, allocations: 0 / 0.6861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.171, allocations: 0 / 0.6861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1712, allocations: 15.98 kB / 0.6861 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1712, allocations: 448 / 0.6861 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.453e-05/0.1712, allocations: 11.98 kB / 0.6861 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1713, allocations: 0 / 0.6861 GB, free: 2.535 MB / 494.1 MB 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.356e-05/0.1714, allocations: 117.8 kB / 0.6862 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.1714, allocations: 11.84 kB / 0.6863 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.1717, allocations: 109.9 kB / 0.6864 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1717, allocations: 4 kB / 0.6864 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1717, allocations: 4 kB / 0.6864 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1717, allocations: 0 / 0.6864 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.1719, allocations: 181.6 kB / 0.6865 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1719, allocations: 0 / 0.6865 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.912e-05/0.172, allocations: 15.98 kB / 0.6866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.172, allocations: 0 / 0.6866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.172, allocations: 0 / 0.6866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.172, allocations: 0 / 0.6866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.1721, allocations: 4 kB / 0.6866 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.1723, allocations: 195.3 kB / 0.6867 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.1724, allocations: 84.95 kB / 0.6868 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.1724, allocations: 7.984 kB / 0.6868 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-05/0.1725, allocations: 0 / 0.6868 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.1725, allocations: 8 kB / 0.6868 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.1726, allocations: 7.922 kB / 0.6868 GB, free: 1.695 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.784e-05/0.1726, allocations: 99.27 kB / 0.6869 GB, free: 1.598 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1726, allocations: 0 / 0.6869 GB, free: 1.598 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1729, allocations: 24 kB / 0.687 GB, free: 1.574 MB / 494.1 MB 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.0001672/0.1731, allocations: 111.2 kB / 0.6871 GB, free: 1.457 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.1733, allocations: 63.84 kB / 0.6871 GB, free: 1.395 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1733, allocations: 0 / 0.6871 GB, free: 1.395 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.496e-05/0.1734, allocations: 31.98 kB / 0.6872 GB, free: 1.363 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.1737, allocations: 12.36 kB / 0.6872 GB, free: 1.352 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.1742, allocations: 225.8 kB / 0.6874 GB, free: 1.098 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.1744, allocations: 0.6963 MB / 0.6881 GB, free: 384 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.1744, allocations: 15.42 kB / 0.6881 GB, free: 368 kB / 494.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1744, allocations: 4 kB / 0.6881 GB, free: 364 kB / 494.1 MB Notification: Performance of Templates: time 0.2536/0.428, allocations: 1.102 MB / 0.6892 GB, free: 17.57 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)