Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 102.7 kB / 16.4 MB, free: 6.457 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.0009854/0.0009855, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.248/1.248, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7848/0.7848, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.44 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1507, allocations: 80.22 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00411/0.1549, allocations: 2.109 MB / 0.6624 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1567, allocations: 1.037 MB / 0.6634 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.1569, allocations: 8 kB / 0.6634 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.574e-05/0.1571, allocations: 31.59 kB / 0.6635 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.1574, allocations: 79.23 kB / 0.6635 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.158, allocations: 187.6 kB / 0.6637 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003947/0.1584, allocations: 298.8 kB / 0.664 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.1586, allocations: 68.52 kB / 0.6641 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.1588, allocations: 115.5 kB / 0.6642 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.159, allocations: 139.3 kB / 0.6643 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/0.1591, allocations: 20 kB / 0.6643 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004724/0.1596, allocations: 287.7 kB / 0.6646 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.1596, allocations: 59.75 kB / 0.6647 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.1598, allocations: 119.3 kB / 0.6648 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004244/0.1602, allocations: 330.9 kB / 0.6651 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.1602, allocations: 4 kB / 0.6651 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1602, allocations: 4 kB / 0.6651 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.1602, allocations: 0 / 0.6651 GB, free: 5.344 MB / 0.4981 GB 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.001141/0.1614, allocations: 0.6154 MB / 0.6657 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1614, allocations: 12.02 kB / 0.6657 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002394/0.1617, allocations: 36.56 kB / 0.6657 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.1621, allocations: 287.5 kB / 0.666 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.1621, allocations: 12.66 kB / 0.666 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.1621, allocations: 19.94 kB / 0.666 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004948/0.1626, allocations: 224.6 kB / 0.6663 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1626, allocations: 4 kB / 0.6663 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.1627, allocations: 4 kB / 0.6663 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1627, allocations: 4 kB / 0.6663 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006168/0.1633, allocations: 205.2 kB / 0.6665 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.1644, allocations: 0.9422 MB / 0.6674 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007339/0.1652, allocations: 237.2 kB / 0.6676 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.1655, allocations: 101.6 kB / 0.6677 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.1655, allocations: 4 kB / 0.6677 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1656, allocations: 42.5 kB / 0.6678 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 2.996e-06/0.1656, allocations: 7.922 kB / 0.6678 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.00109/0.1667, allocations: 341.4 kB / 0.6681 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.1667, allocations: 77.11 kB / 0.6682 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.167, allocations: 263 kB / 0.6684 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.167, allocations: 29.7 kB / 0.6684 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1671, allocations: 164.1 kB / 0.6686 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.1672, allocations: 59.19 kB / 0.6687 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/0.1672, allocations: 41.7 kB / 0.6687 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1674, allocations: 334.8 kB / 0.669 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.1677, allocations: 91.91 kB / 0.6691 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.168, allocations: 137.9 kB / 0.6692 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005791/0.1686, allocations: 242.2 kB / 0.6695 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1686, allocations: 8 kB / 0.6695 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007607/0.1693, allocations: 293 kB / 0.6697 GB, free: 264 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1694, allocations: 12.16 kB / 0.6698 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1694, allocations: 0 / 0.6698 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1694, allocations: 4 kB / 0.6698 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.1697, allocations: 67.88 kB / 0.6698 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1697, allocations: 0 / 0.6698 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.17, allocations: 39.81 kB / 0.6699 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.17, allocations: 4 kB / 0.6699 GB, free: 136 kB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.1701, allocations: 142.6 kB / 0.67 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.1702, allocations: 31.56 kB / 0.67 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007434/0.171, allocations: 287.2 kB / 0.6703 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.171, allocations: 0 / 0.6703 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.171, allocations: 4 kB / 0.6703 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.171, allocations: 0 / 0.6703 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/0.1714, allocations: 297.3 kB / 0.6706 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1714, allocations: 3.938 kB / 0.6706 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.1716, allocations: 51.95 kB / 0.6707 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1717, allocations: 4 kB / 0.6707 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.1717, allocations: 8.266 kB / 0.6707 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1717, allocations: 4 kB / 0.6707 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1717, allocations: 0 / 0.6707 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007504/0.1725, allocations: 442.2 kB / 0.6711 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.479e-05/0.1725, allocations: 108.7 kB / 0.6712 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.1726, allocations: 11.94 kB / 0.6712 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.1728, allocations: 23.97 kB / 0.6712 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.1729, allocations: 19.97 kB / 0.6712 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.1729, allocations: 8 kB / 0.6713 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001615/0.1731, allocations: 190 kB / 0.6714 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1731, allocations: 0 / 0.6714 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003597/0.1735, allocations: 52 kB / 0.6715 GB, free: 14.38 MB / 0.5137 GB 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 (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.0002051/0.1737, allocations: 115.4 kB / 0.6716 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006965/0.1744, allocations: 225.8 kB / 0.6718 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1744, allocations: 0 / 0.6718 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.1747, allocations: 124.2 kB / 0.6719 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.1753, allocations: 69.28 kB / 0.672 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000813/0.1761, allocations: 464.5 kB / 0.6724 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.1764, allocations: 0.7558 MB / 0.6732 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.613e-05/0.1765, allocations: 27.44 kB / 0.6732 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1765, allocations: 0 / 0.6732 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of Templates: time 0.005989/0.1825, allocations: 3.515 MB / 0.6766 GB, free: 9.074 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)