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.001323/0.001323, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001392/0.001392, allocations: 192.3 kB / 16.13 MB, free: 6.711 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.329/1.329, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7513/0.7513, allocations: 132.2 MB / 422.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 59.31 kB / 0.5011 GB, free: 9.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1652, allocations: 80.2 MB / 0.5794 GB, free: 9.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003104/0.1683, allocations: 2.176 MB / 0.5816 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.17, allocations: 1.049 MB / 0.5826 GB, free: 6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1702, allocations: 7.938 kB / 0.5826 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.352e-05/0.1702, allocations: 15.8 kB / 0.5826 GB, free: 5.977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.1705, allocations: 75.41 kB / 0.5827 GB, free: 5.902 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.1709, allocations: 142.4 kB / 0.5828 GB, free: 5.766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.1712, allocations: 286.7 kB / 0.5831 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.1714, allocations: 56.72 kB / 0.5831 GB, free: 5.426 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.1715, allocations: 107.5 kB / 0.5832 GB, free: 5.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.1717, allocations: 135.3 kB / 0.5834 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.1717, allocations: 12 kB / 0.5834 GB, free: 5.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.1721, allocations: 291.6 kB / 0.5837 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.1722, allocations: 39.81 kB / 0.5837 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.809e-05/0.1723, allocations: 111.3 kB / 0.5838 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.1726, allocations: 319.1 kB / 0.5841 GB, free: 4.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1726, allocations: 4 kB / 0.5841 GB, free: 4.426 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1727, allocations: 0 / 0.5841 GB, free: 4.426 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.1727, allocations: 0 / 0.5841 GB, free: 4.426 MB / 494.1 MB 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.00106/0.1737, allocations: 0.6194 MB / 0.5847 GB, free: 3.758 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1738, allocations: 12.03 kB / 0.5847 GB, free: 3.746 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.174, allocations: 40.55 kB / 0.5848 GB, free: 3.707 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.1743, allocations: 275.5 kB / 0.585 GB, free: 3.402 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1743, allocations: 12.66 kB / 0.585 GB, free: 3.391 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.1744, allocations: 16.12 kB / 0.5851 GB, free: 3.375 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.1749, allocations: 236.6 kB / 0.5853 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1749, allocations: 4 kB / 0.5853 GB, free: 3.117 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.1749, allocations: 4 kB / 0.5853 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1749, allocations: 4 kB / 0.5853 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006408/0.1756, allocations: 203.7 kB / 0.5855 GB, free: 2.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.1767, allocations: 0.9306 MB / 0.5864 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007605/0.1775, allocations: 245.1 kB / 0.5866 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.1778, allocations: 105.6 kB / 0.5867 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.1778, allocations: 7.938 kB / 0.5867 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1779, allocations: 42.5 kB / 0.5868 GB, free: 1.484 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.1779, allocations: 0 / 0.5868 GB, free: 1.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001149/0.179, allocations: 345.3 kB / 0.5871 GB, free: 1.141 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.1791, allocations: 77.11 kB / 0.5872 GB, free: 1.047 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.1793, allocations: 259 kB / 0.5874 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.1794, allocations: 29.7 kB / 0.5875 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1795, allocations: 168.1 kB / 0.5876 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.1795, allocations: 51.25 kB / 0.5877 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.337e-05/0.1796, allocations: 41.7 kB / 0.5877 GB, free: 500 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1797, allocations: 334.8 kB / 0.588 GB, free: 156 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.18, allocations: 95.91 kB / 0.5881 GB, free: 60 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/0.1804, allocations: 141.2 kB / 0.5882 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006281/0.181, allocations: 242.3 kB / 0.5885 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.181, allocations: 3.938 kB / 0.5885 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007967/0.1818, allocations: 297 kB / 0.5888 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1819, allocations: 8 kB / 0.5888 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1819, allocations: 0 / 0.5888 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1819, allocations: 4.156 kB / 0.5888 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.1822, allocations: 67.88 kB / 0.5888 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1822, allocations: 4.062 kB / 0.5888 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.1825, allocations: 43.75 kB / 0.5889 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.1825, allocations: 4 kB / 0.5889 GB, free: 15.21 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.0001307/0.1826, allocations: 134.4 kB / 0.589 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.1828, allocations: 35.7 kB / 0.5891 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008093/0.1836, allocations: 287.2 kB / 0.5893 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1836, allocations: 0 / 0.5893 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1836, allocations: 288 / 0.5893 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.1836, allocations: 7.984 kB / 0.5893 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.184, allocations: 305.2 kB / 0.5896 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.184, allocations: 3.938 kB / 0.5896 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.1843, allocations: 47.95 kB / 0.5897 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1843, allocations: 4 kB / 0.5897 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.1843, allocations: 8 kB / 0.5897 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1843, allocations: 8 kB / 0.5897 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1843, allocations: 0 / 0.5897 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008294/0.1851, allocations: 450 kB / 0.5901 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.704e-05/0.1852, allocations: 96.83 kB / 0.5902 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.1853, allocations: 8 kB / 0.5902 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.1856, allocations: 27.95 kB / 0.5903 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-05/0.1856, allocations: 15.97 kB / 0.5903 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.1857, allocations: 8 kB / 0.5903 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001967/0.1859, allocations: 190 kB / 0.5905 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1859, allocations: 0 / 0.5905 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003821/0.1863, allocations: 63.84 kB / 0.5905 GB, free: 13.45 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.0002528/0.1865, allocations: 115.4 kB / 0.5906 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008144/0.1873, allocations: 225.7 kB / 0.5908 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1874, allocations: 0 / 0.5908 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.1877, allocations: 119.8 kB / 0.591 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006583/0.1884, allocations: 74.52 kB / 0.591 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000827/0.1892, allocations: 0.5113 MB / 0.5915 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.1895, allocations: 0.7597 MB / 0.5923 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001473/0.1897, allocations: 26.28 kB / 0.5923 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.1898, allocations: 27.44 kB / 0.5923 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.1898, allocations: 0 / 0.5923 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.007149/0.1969, allocations: 3.547 MB / 0.5958 GB, free: 8.066 MB / 0.4981 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)