Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008693/0.0008693, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009452/0.0009455, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.962/0.962, allocations: 135.3 MB / 426.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.000334, allocations: 21.11 kB / 0.507 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1592, allocations: 82.3 MB / 0.5874 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001618/0.1609, allocations: 1.274 MB / 0.5886 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1621, allocations: 0.8313 MB / 0.5894 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.925e-05/0.1622, allocations: 7.938 kB / 0.5894 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.1622, allocations: 3.984 kB / 0.5894 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.1624, allocations: 19.84 kB / 0.5895 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.1627, allocations: 99.75 kB / 0.5896 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.1628, allocations: 63.72 kB / 0.5896 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.44e-05/0.1629, allocations: 15.98 kB / 0.5896 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.538e-05/0.163, allocations: 27.86 kB / 0.5897 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.1631, allocations: 39.83 kB / 0.5897 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.1631, allocations: 0 / 0.5897 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003387/0.1635, allocations: 267.6 kB / 0.59 GB, free: 352 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.1635, allocations: 11.94 kB / 0.59 GB, free: 340 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.572e-05/0.1635, allocations: 33.7 kB / 0.59 GB, free: 300 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.1637, allocations: 100 kB / 0.5901 GB, free: 200 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1637, allocations: 4 kB / 0.5901 GB, free: 196 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1637, allocations: 3.938 kB / 0.5901 GB, free: 192 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.1637, allocations: 0 / 0.5901 GB, free: 192 kB / 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.0004962/0.1642, allocations: 395.1 kB / 0.5905 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1642, allocations: 12.03 kB / 0.5905 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.1644, allocations: 15.91 kB / 0.5905 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.1645, allocations: 190.8 kB / 0.5907 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.1646, allocations: 8 kB / 0.5907 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.1646, allocations: 0 / 0.5907 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.1647, allocations: 61.67 kB / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1648, allocations: 0 / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1648, allocations: 0 / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1648, allocations: 4 kB / 0.5908 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.1649, allocations: 51.95 kB / 0.5908 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.1654, allocations: 304.7 kB / 0.5911 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.1655, allocations: 62.55 kB / 0.5912 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.547e-05/0.1656, allocations: 28.97 kB / 0.5912 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.1656, allocations: 3.938 kB / 0.5912 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.1656, allocations: 38.56 kB / 0.5912 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1656, allocations: 4 kB / 0.5912 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003534/0.166, allocations: 117.5 kB / 0.5913 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.166, allocations: 59.36 kB / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.916e-05/0.1661, allocations: 132.4 kB / 0.5915 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1662, allocations: 29.7 kB / 0.5916 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.1662, allocations: 92.14 kB / 0.5916 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.1662, allocations: 15.73 kB / 0.5917 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.1663, allocations: 4 kB / 0.5917 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.262e-05/0.1664, allocations: 318.8 kB / 0.592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.822e-05/0.1664, allocations: 23.98 kB / 0.592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.439e-05/0.1665, allocations: 27.98 kB / 0.592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.1666, allocations: 28.36 kB / 0.592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1666, allocations: 0 / 0.592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002109/0.1668, allocations: 109.5 kB / 0.5921 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1668, allocations: 7.938 kB / 0.5922 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1669, allocations: 3.984 kB / 0.5922 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1669, allocations: 4 kB / 0.5922 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.167, allocations: 15.98 kB / 0.5922 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.167, allocations: 3.953 kB / 0.5922 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.716e-05/0.1671, allocations: 4 kB / 0.5922 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.1671, allocations: 7.984 kB / 0.5922 GB, free: 13.83 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.86e-05/0.1672, allocations: 113.8 kB / 0.5923 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.1672, allocations: 7.906 kB / 0.5923 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.1675, allocations: 113.9 kB / 0.5924 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1675, allocations: 0 / 0.5924 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1675, allocations: 0 / 0.5924 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1675, allocations: 11.94 kB / 0.5924 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.1677, allocations: 181.5 kB / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1677, allocations: 0 / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.514e-05/0.1678, allocations: 19.98 kB / 0.5926 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1678, allocations: 0 / 0.5926 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.1678, allocations: 0 / 0.5926 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1678, allocations: 0 / 0.5926 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1678, allocations: 0 / 0.5926 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.168, allocations: 199.4 kB / 0.5928 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.218e-05/0.1681, allocations: 81.11 kB / 0.5929 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.1681, allocations: 192 / 0.5929 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.1682, allocations: 15.92 kB / 0.5929 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.1683, allocations: 12 kB / 0.5929 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1683, allocations: 0 / 0.5929 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.423e-05/0.1683, allocations: 109 kB / 0.593 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1683, allocations: 4 kB / 0.593 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000238/0.1686, allocations: 24 kB / 0.593 GB, free: 12.85 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001514/0.1687, allocations: 107.3 kB / 0.5931 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.1689, allocations: 67.95 kB / 0.5932 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1689, allocations: 0 / 0.5932 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.514e-05/0.169, allocations: 35.92 kB / 0.5932 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.1693, allocations: 11.95 kB / 0.5933 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.1697, allocations: 222.4 kB / 0.5935 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.1699, allocations: 0.6906 MB / 0.5941 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.001e-05/0.17, allocations: 12.17 kB / 0.5942 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.17, allocations: 11.44 kB / 0.5942 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.17, allocations: 0 / 0.5942 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of Templates: time 0.003046/0.1731, allocations: 0.9711 MB / 0.5951 GB, free: 10.69 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)