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.004938/0.004938, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001091/0.001091, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7655/0.7655, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 64.47 kB / 0.5814 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1667, allocations: 80.22 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002949/0.1697, allocations: 2.115 MB / 0.6618 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.1713, allocations: 1.041 MB / 0.6628 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.1714, allocations: 4 kB / 0.6628 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.893e-05/0.1715, allocations: 23.67 kB / 0.6628 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.1718, allocations: 79.22 kB / 0.6629 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.1722, allocations: 195.5 kB / 0.6631 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.1725, allocations: 290.8 kB / 0.6633 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.1727, allocations: 72.52 kB / 0.6634 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.1729, allocations: 111.5 kB / 0.6635 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.1731, allocations: 143.3 kB / 0.6637 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.1731, allocations: 16 kB / 0.6637 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004069/0.1735, allocations: 295.6 kB / 0.6639 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.042e-05/0.1736, allocations: 47.78 kB / 0.664 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.1737, allocations: 119.3 kB / 0.6641 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000389/0.1741, allocations: 338.8 kB / 0.6644 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1741, allocations: 3.938 kB / 0.6644 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1741, allocations: 0 / 0.6644 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.1742, allocations: 4 kB / 0.6644 GB, free: 8.605 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.001044/0.1752, allocations: 0.6194 MB / 0.665 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1752, allocations: 8.031 kB / 0.6651 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.1755, allocations: 32.66 kB / 0.6651 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.1758, allocations: 295.4 kB / 0.6654 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1758, allocations: 12.66 kB / 0.6654 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.1759, allocations: 15.94 kB / 0.6654 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.1764, allocations: 224.6 kB / 0.6656 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1764, allocations: 4 kB / 0.6656 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.1764, allocations: 7.984 kB / 0.6656 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/0.1764, allocations: 4 kB / 0.6656 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006427/0.1771, allocations: 203.8 kB / 0.6658 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.1782, allocations: 0.9382 MB / 0.6667 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007983/0.179, allocations: 237.2 kB / 0.667 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.1793, allocations: 113.6 kB / 0.6671 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.1794, allocations: 4.312 kB / 0.6671 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1794, allocations: 38.55 kB / 0.6671 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 3.496e-06/0.1794, allocations: 0 / 0.6671 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001175/0.1806, allocations: 333 kB / 0.6674 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.1807, allocations: 81.11 kB / 0.6675 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.1809, allocations: 263 kB / 0.6678 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.1809, allocations: 29.7 kB / 0.6678 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/0.181, allocations: 168.1 kB / 0.6679 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.1811, allocations: 59.19 kB / 0.668 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.1811, allocations: 33.72 kB / 0.668 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1813, allocations: 338.8 kB / 0.6684 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/0.1816, allocations: 91.86 kB / 0.6684 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.1819, allocations: 145.9 kB / 0.6686 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/0.1826, allocations: 242.3 kB / 0.6688 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1826, allocations: 0 / 0.6688 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007997/0.1834, allocations: 301 kB / 0.6691 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1834, allocations: 5.406 kB / 0.6691 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1834, allocations: 4 kB / 0.6691 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.1834, allocations: 4 kB / 0.6691 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.1837, allocations: 55.89 kB / 0.6692 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1838, allocations: 4 kB / 0.6692 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.184, allocations: 43.92 kB / 0.6692 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.184, allocations: 8 kB / 0.6692 GB, free: 3.398 MB / 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.0001133/0.1841, allocations: 134.4 kB / 0.6693 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.1842, allocations: 27.62 kB / 0.6694 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000803/0.1851, allocations: 295.1 kB / 0.6697 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1851, allocations: 4 kB / 0.6697 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1851, allocations: 0 / 0.6697 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1851, allocations: 0 / 0.6697 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.1854, allocations: 305.3 kB / 0.6699 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1854, allocations: 0 / 0.6699 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.1857, allocations: 55.89 kB / 0.67 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.1857, allocations: 4 kB / 0.67 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.1857, allocations: 4 kB / 0.67 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1857, allocations: 0 / 0.67 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1857, allocations: 4 kB / 0.67 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007996/0.1865, allocations: 440.8 kB / 0.6704 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.1866, allocations: 104.7 kB / 0.6705 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.1867, allocations: 11.88 kB / 0.6705 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.1869, allocations: 31.91 kB / 0.6706 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.187, allocations: 23.97 kB / 0.6706 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.187, allocations: 4 kB / 0.6706 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001555/0.1872, allocations: 190 kB / 0.6708 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1872, allocations: 0 / 0.6708 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003405/0.1875, allocations: 52 kB / 0.6708 GB, free: 1.641 MB / 0.4981 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.0001694/0.1877, allocations: 117.4 kB / 0.6709 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007439/0.1885, allocations: 223.7 kB / 0.6712 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1885, allocations: 0 / 0.6712 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003502/0.1888, allocations: 124.1 kB / 0.6713 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.1894, allocations: 77.27 kB / 0.6713 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006956/0.1901, allocations: 434.8 kB / 0.6718 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.1903, allocations: 0.748 MB / 0.6725 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001279/0.1905, allocations: 34.28 kB / 0.6725 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.9e-05/0.1905, allocations: 27.42 kB / 0.6726 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1906, allocations: 4 kB / 0.6726 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of Templates: time 0.00712/0.1977, allocations: 3.959 MB / 0.6764 GB, free: 11.93 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)