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.00736/0.00736, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001367/0.001367, allocations: 186.9 kB / 16.67 MB, free: 5.887 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7904/0.7904, allocations: 135.1 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 67.64 kB / 0.5856 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.168, allocations: 80.92 MB / 0.6646 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003187/0.1712, allocations: 1.575 MB / 0.6662 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1732, allocations: 0.9084 MB / 0.6671 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.1734, allocations: 0 / 0.6671 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.768e-05/0.1735, allocations: 7.875 kB / 0.6671 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.1738, allocations: 23.78 kB / 0.6671 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006918/0.1745, allocations: 138.2 kB / 0.6672 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.1748, allocations: 79.66 kB / 0.6673 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1749, allocations: 15.92 kB / 0.6673 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.1751, allocations: 35.84 kB / 0.6674 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.1752, allocations: 39.84 kB / 0.6674 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.1753, allocations: 4 kB / 0.6674 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000475/0.1757, allocations: 279.7 kB / 0.6677 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.1758, allocations: 15.92 kB / 0.6677 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.1758, allocations: 31.84 kB / 0.6677 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.1761, allocations: 147.6 kB / 0.6678 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1762, allocations: 0 / 0.6678 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.845e-06/0.1762, allocations: 4 kB / 0.6679 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.1762, allocations: 0 / 0.6679 GB, free: 2.484 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.0006818/0.1769, allocations: 407.1 kB / 0.6682 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1769, allocations: 13.11 kB / 0.6683 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.1771, allocations: 4.938 kB / 0.6683 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.1774, allocations: 188.1 kB / 0.6684 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.1774, allocations: 4.375 kB / 0.6684 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.1774, allocations: 11.88 kB / 0.6685 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.1776, allocations: 65.66 kB / 0.6685 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.1776, allocations: 4 kB / 0.6685 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1776, allocations: 0 / 0.6685 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1777, allocations: 3.938 kB / 0.6685 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.1778, allocations: 39.97 kB / 0.6686 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.1783, allocations: 296.8 kB / 0.6688 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.1785, allocations: 58.5 kB / 0.6689 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.1786, allocations: 32.95 kB / 0.6689 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1786, allocations: 0 / 0.6689 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1786, allocations: 30.56 kB / 0.669 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.1786, allocations: 0 / 0.669 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003962/0.179, allocations: 113.5 kB / 0.6691 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.1791, allocations: 59.34 kB / 0.6691 GB, free: 1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.1792, allocations: 131.5 kB / 0.6693 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1792, allocations: 29.7 kB / 0.6693 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.1793, allocations: 100 kB / 0.6694 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.1793, allocations: 11.75 kB / 0.6694 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.614e-05/0.1794, allocations: 21.7 kB / 0.6694 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1795, allocations: 322.8 kB / 0.6697 GB, free: 372 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.998e-05/0.1796, allocations: 23.98 kB / 0.6697 GB, free: 348 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-05/0.1797, allocations: 23.97 kB / 0.6698 GB, free: 324 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.1798, allocations: 53.22 kB / 0.6698 GB, free: 268 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1798, allocations: 0 / 0.6698 GB, free: 268 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002403/0.1801, allocations: 93.56 kB / 0.6699 GB, free: 168 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1801, allocations: 7.938 kB / 0.6699 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1801, allocations: 8 kB / 0.6699 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1801, allocations: 0 / 0.6699 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1803, allocations: 11.98 kB / 0.6699 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1803, allocations: 0 / 0.6699 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.286e-05/0.1803, allocations: 11.92 kB / 0.6699 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1804, allocations: 8 kB / 0.6699 GB, free: 120 kB / 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.454e-05/0.1804, allocations: 111.2 kB / 0.6701 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.1805, allocations: 4.078 kB / 0.6701 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.1808, allocations: 109.9 kB / 0.6702 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1808, allocations: 0 / 0.6702 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1808, allocations: 0 / 0.6702 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1808, allocations: 3.938 kB / 0.6702 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.181, allocations: 181.6 kB / 0.6703 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.181, allocations: 0 / 0.6703 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-05/0.1811, allocations: 15.98 kB / 0.6704 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1811, allocations: 0 / 0.6704 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1811, allocations: 0 / 0.6704 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1811, allocations: 4 kB / 0.6704 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1811, allocations: 0 / 0.6704 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.1814, allocations: 187.4 kB / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.1814, allocations: 92.89 kB / 0.6706 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.1815, allocations: 192 / 0.6706 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.925e-05/0.1816, allocations: 15.98 kB / 0.6706 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.1816, allocations: 11.94 kB / 0.6707 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.1816, allocations: 7.875 kB / 0.6707 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.861e-05/0.1817, allocations: 105 kB / 0.6708 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1817, allocations: 0 / 0.6708 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002438/0.1819, allocations: 20 kB / 0.6708 GB, free: 15.16 MB / 0.5137 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.0001766/0.1821, allocations: 111.3 kB / 0.6709 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.1823, allocations: 55.95 kB / 0.6709 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1824, allocations: 4 kB / 0.6709 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.349e-05/0.1825, allocations: 35.92 kB / 0.671 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.1827, allocations: 11.97 kB / 0.671 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.1832, allocations: 188.2 kB / 0.6712 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.1835, allocations: 0.6924 MB / 0.6718 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.591e-05/0.1835, allocations: 7.75 kB / 0.6719 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.1836, allocations: 19.42 kB / 0.6719 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1836, allocations: 0 / 0.6719 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of Templates: time 0.003849/0.1874, allocations: 1.089 MB / 0.6729 GB, free: 12.9 MB / 0.5137 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)