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.006745/0.006745, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001563/0.001563, allocations: 191.8 kB / 16.67 MB, free: 5.969 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.279/1.279, allocations: 222.9 MB / 240.4 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.7583/0.7583, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 57.38 kB / 0.5814 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1573, allocations: 80.21 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003038/0.1604, allocations: 1.574 MB / 0.6612 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.1619, allocations: 0.9084 MB / 0.6621 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.528e-05/0.162, allocations: 0 / 0.6621 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.162, allocations: 3.938 kB / 0.6621 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.1623, allocations: 31.78 kB / 0.6621 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.1627, allocations: 135.6 kB / 0.6623 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.1628, allocations: 75.66 kB / 0.6623 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.173e-05/0.1629, allocations: 15.98 kB / 0.6624 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.397e-05/0.163, allocations: 35.91 kB / 0.6624 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.1632, allocations: 35.84 kB / 0.6624 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.1632, allocations: 4 kB / 0.6624 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004015/0.1636, allocations: 279.7 kB / 0.6627 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.1636, allocations: 15.92 kB / 0.6627 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.1637, allocations: 31.84 kB / 0.6627 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.164, allocations: 151.4 kB / 0.6629 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.164, allocations: 0 / 0.6629 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.164, allocations: 0 / 0.6629 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.353e-06/0.164, allocations: 0 / 0.6629 GB, free: 6.992 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.0006207/0.1646, allocations: 418.8 kB / 0.6633 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1647, allocations: 8.031 kB / 0.6633 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.1648, allocations: 16.89 kB / 0.6633 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.1651, allocations: 192.2 kB / 0.6635 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.138e-06/0.1651, allocations: 4.375 kB / 0.6635 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.1651, allocations: 7.938 kB / 0.6635 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.1653, allocations: 61.67 kB / 0.6636 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1653, allocations: 0 / 0.6636 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1653, allocations: 0 / 0.6636 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1654, allocations: 0 / 0.6636 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.1655, allocations: 43.91 kB / 0.6636 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.166, allocations: 304.8 kB / 0.6639 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.1662, allocations: 54.55 kB / 0.6639 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.943e-05/0.1662, allocations: 28.91 kB / 0.664 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.1663, allocations: 0 / 0.664 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.1663, allocations: 34.56 kB / 0.664 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1663, allocations: 4 kB / 0.664 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003781/0.1667, allocations: 109.5 kB / 0.6641 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.1667, allocations: 55.39 kB / 0.6642 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.1669, allocations: 128.2 kB / 0.6643 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1669, allocations: 25.7 kB / 0.6643 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.1669, allocations: 100.1 kB / 0.6644 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.167, allocations: 23.78 kB / 0.6644 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.167, allocations: 17.7 kB / 0.6645 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1671, allocations: 326.8 kB / 0.6648 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.593e-05/0.1672, allocations: 19.98 kB / 0.6648 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.1e-05/0.1673, allocations: 27.98 kB / 0.6648 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.1675, allocations: 53.14 kB / 0.6649 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1675, allocations: 0 / 0.6649 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002185/0.1677, allocations: 93.62 kB / 0.6649 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1677, allocations: 8 kB / 0.665 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1677, allocations: 0 / 0.665 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1677, allocations: 0 / 0.665 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1679, allocations: 15.98 kB / 0.665 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1679, allocations: 0 / 0.665 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.1679, allocations: 15.92 kB / 0.665 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1679, allocations: 0 / 0.665 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.484e-05/0.168, allocations: 114.7 kB / 0.6651 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.1681, allocations: 11.95 kB / 0.6651 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.1683, allocations: 97.89 kB / 0.6652 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1684, allocations: 0 / 0.6652 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1684, allocations: 4 kB / 0.6652 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1684, allocations: 3.938 kB / 0.6652 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.1686, allocations: 181.6 kB / 0.6654 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1686, allocations: 0 / 0.6654 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.076e-05/0.1687, allocations: 15.98 kB / 0.6654 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1687, allocations: 4 kB / 0.6654 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.1687, allocations: 0 / 0.6654 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1687, allocations: 0 / 0.6654 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1687, allocations: 3.984 kB / 0.6654 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.1689, allocations: 191.4 kB / 0.6656 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.169, allocations: 85.19 kB / 0.6657 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.169, allocations: 15.98 kB / 0.6657 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.1691, allocations: 4 kB / 0.6657 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1692, allocations: 7.984 kB / 0.6657 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.1692, allocations: 7.875 kB / 0.6657 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.321e-05/0.1692, allocations: 105 kB / 0.6658 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.047e-05/0.1693, allocations: 0 / 0.6658 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002298/0.1695, allocations: 19.94 kB / 0.6658 GB, free: 3.66 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.0001744/0.1697, allocations: 119.2 kB / 0.6659 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.1699, allocations: 59.91 kB / 0.666 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1699, allocations: 0 / 0.666 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.17, allocations: 27.98 kB / 0.666 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.1703, allocations: 14.39 kB / 0.666 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.1707, allocations: 199.2 kB / 0.6662 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.1709, allocations: 0.6924 MB / 0.6669 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.64e-05/0.171, allocations: 7.984 kB / 0.6669 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.171, allocations: 15.42 kB / 0.6669 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.171, allocations: 0 / 0.6669 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of Templates: time 0.003527/0.1746, allocations: 1.073 MB / 0.668 GB, free: 1.41 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)