Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001367/0.001367, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001501/0.001501, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7941/0.7941, allocations: 132.2 MB / 423.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.61 kB / 0.582 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1517, allocations: 80.22 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002749/0.1544, allocations: 1.569 MB / 0.6619 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.156, allocations: 0.9084 MB / 0.6628 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.455e-05/0.1561, allocations: 0 / 0.6628 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.647e-05/0.1561, allocations: 7.938 kB / 0.6628 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.1564, allocations: 23.78 kB / 0.6628 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.1568, allocations: 139.6 kB / 0.6629 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.157, allocations: 79.66 kB / 0.663 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1571, allocations: 15.94 kB / 0.663 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1572, allocations: 31.91 kB / 0.663 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.1574, allocations: 43.77 kB / 0.6631 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.1574, allocations: 4 kB / 0.6631 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/0.1578, allocations: 279.7 kB / 0.6634 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.1578, allocations: 15.92 kB / 0.6634 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.1579, allocations: 23.88 kB / 0.6634 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.1582, allocations: 151.6 kB / 0.6635 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1582, allocations: 0 / 0.6635 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1582, allocations: 4 kB / 0.6635 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.1582, allocations: 0 / 0.6635 GB, free: 6.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005718/0.1588, allocations: 403.1 kB / 0.6639 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1588, allocations: 12.03 kB / 0.6639 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.1589, allocations: 12.83 kB / 0.664 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.1592, allocations: 188.2 kB / 0.6641 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1592, allocations: 8.375 kB / 0.6641 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.1592, allocations: 7.938 kB / 0.6642 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1594, allocations: 65.59 kB / 0.6642 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1594, allocations: 0 / 0.6642 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1594, allocations: 4 kB / 0.6642 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1595, allocations: 0 / 0.6642 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.1596, allocations: 39.97 kB / 0.6643 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.1601, allocations: 300.7 kB / 0.6645 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.1602, allocations: 54.5 kB / 0.6646 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.844e-05/0.1603, allocations: 28.97 kB / 0.6646 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1603, allocations: 8 kB / 0.6646 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.1603, allocations: 38.55 kB / 0.6647 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1604, allocations: 0 / 0.6647 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003674/0.1607, allocations: 109.6 kB / 0.6648 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1608, allocations: 51.41 kB / 0.6648 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.971e-05/0.1609, allocations: 135.5 kB / 0.6649 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1609, allocations: 25.7 kB / 0.665 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.161, allocations: 100.1 kB / 0.6651 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.161, allocations: 19.69 kB / 0.6651 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.161, allocations: 21.7 kB / 0.6651 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1611, allocations: 322.8 kB / 0.6654 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.794e-05/0.1612, allocations: 19.98 kB / 0.6654 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.1613, allocations: 19.98 kB / 0.6655 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.1615, allocations: 56.83 kB / 0.6655 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1615, allocations: 4 kB / 0.6655 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002294/0.1617, allocations: 89.56 kB / 0.6656 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1617, allocations: 4 kB / 0.6656 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1617, allocations: 0 / 0.6656 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1618, allocations: 4 kB / 0.6656 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.1619, allocations: 15.92 kB / 0.6656 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1619, allocations: 0 / 0.6656 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.4e-05/0.162, allocations: 7.938 kB / 0.6656 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.162, allocations: 7.984 kB / 0.6656 GB, free: 4.617 MB / 0.4981 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.827e-05/0.1621, allocations: 114.7 kB / 0.6657 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.1621, allocations: 7.906 kB / 0.6658 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.1624, allocations: 105.9 kB / 0.6659 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1624, allocations: 0 / 0.6659 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1624, allocations: 0.5 kB / 0.6659 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1624, allocations: 3.938 kB / 0.6659 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.1626, allocations: 181.6 kB / 0.666 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1626, allocations: 7.938 kB / 0.666 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.654e-05/0.1627, allocations: 15.98 kB / 0.6661 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1627, allocations: 4 kB / 0.6661 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1627, allocations: 0 / 0.6661 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1627, allocations: 0 / 0.6661 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1627, allocations: 0 / 0.6661 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.163, allocations: 191.4 kB / 0.6662 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.163, allocations: 88.95 kB / 0.6663 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.1631, allocations: 0 / 0.6663 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/0.1631, allocations: 11.98 kB / 0.6663 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.1632, allocations: 0 / 0.6663 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1632, allocations: 11.88 kB / 0.6663 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.147e-05/0.1633, allocations: 109.1 kB / 0.6665 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1633, allocations: 3.938 kB / 0.6665 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002453/0.1635, allocations: 23.91 kB / 0.6665 GB, free: 3.652 MB / 0.4981 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.0001704/0.1637, allocations: 111.2 kB / 0.6666 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.1639, allocations: 55.95 kB / 0.6666 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.164, allocations: 0 / 0.6666 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.799e-05/0.1641, allocations: 35.92 kB / 0.6667 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.1643, allocations: 7.984 kB / 0.6667 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.1648, allocations: 214 kB / 0.6669 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.165, allocations: 0.6924 MB / 0.6676 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.165, allocations: 15.44 kB / 0.6676 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.165, allocations: 0 / 0.6676 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of Templates: time 0.002799/0.1678, allocations: 1.124 MB / 0.6687 GB, free: 1.344 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)