Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001439/0.001439, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001456/0.001456, allocations: 199.2 kB / 16.26 MB, free: 6.633 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.58/1.58, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.066/1.066, allocations: 135.2 MB / 425.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.23 kB / 0.5049 GB, free: 5.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1616, allocations: 80.94 MB / 0.5839 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003442/0.165, allocations: 2.173 MB / 0.5861 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.1667, allocations: 1.025 MB / 0.5871 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.1669, allocations: 15.88 kB / 0.5871 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.497e-05/0.167, allocations: 11.86 kB / 0.5871 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.1673, allocations: 67.41 kB / 0.5872 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.1678, allocations: 175.6 kB / 0.5873 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.1681, allocations: 294.8 kB / 0.5876 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.1683, allocations: 60.98 kB / 0.5877 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.1685, allocations: 115.5 kB / 0.5878 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.1687, allocations: 139.4 kB / 0.5879 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.1687, allocations: 20 kB / 0.5879 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004125/0.1691, allocations: 291.7 kB / 0.5882 GB, free: 472 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.1692, allocations: 43.83 kB / 0.5882 GB, free: 428 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.1693, allocations: 115.3 kB / 0.5884 GB, free: 312 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004135/0.1697, allocations: 334.9 kB / 0.5887 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1698, allocations: 3.938 kB / 0.5887 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1698, allocations: 4 kB / 0.5887 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.1698, allocations: 0 / 0.5887 GB, free: 15.96 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.001178/0.171, allocations: 0.6193 MB / 0.5893 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.171, allocations: 12.03 kB / 0.5893 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.1712, allocations: 40.55 kB / 0.5893 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.1716, allocations: 271.5 kB / 0.5896 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.1716, allocations: 12.66 kB / 0.5896 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.1717, allocations: 16.12 kB / 0.5896 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.1722, allocations: 228.7 kB / 0.5898 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1722, allocations: 3.938 kB / 0.5898 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.1723, allocations: 8 kB / 0.5898 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1723, allocations: 4 kB / 0.5899 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006437/0.1729, allocations: 194.6 kB / 0.59 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.1742, allocations: 0.9423 MB / 0.591 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008776/0.1751, allocations: 249.1 kB / 0.5912 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.1754, allocations: 102 kB / 0.5913 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/0.1755, allocations: 11.98 kB / 0.5913 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.1755, allocations: 34.56 kB / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.1755, allocations: 0 / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.00118/0.1767, allocations: 337.1 kB / 0.5917 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.1768, allocations: 81.11 kB / 0.5917 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.1771, allocations: 270.9 kB / 0.592 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.1771, allocations: 25.7 kB / 0.592 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.1773, allocations: 160.2 kB / 0.5922 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.581e-05/0.1773, allocations: 55.2 kB / 0.5922 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.323e-05/0.1774, allocations: 41.7 kB / 0.5923 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.1776, allocations: 338.8 kB / 0.5926 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.178, allocations: 87.91 kB / 0.5927 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.1783, allocations: 153.9 kB / 0.5928 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/0.179, allocations: 233.8 kB / 0.593 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.179, allocations: 3.938 kB / 0.593 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008263/0.1798, allocations: 300.9 kB / 0.5933 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1799, allocations: 4 kB / 0.5933 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.1799, allocations: 12.16 kB / 0.5933 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1799, allocations: 4 kB / 0.5934 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.1802, allocations: 59.88 kB / 0.5934 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.1802, allocations: 4 kB / 0.5934 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.1805, allocations: 35.81 kB / 0.5934 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.1805, allocations: 12 kB / 0.5935 GB, free: 10.76 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.0001469/0.1807, allocations: 141.7 kB / 0.5936 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.1808, allocations: 23.72 kB / 0.5936 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008306/0.1816, allocations: 287.1 kB / 0.5939 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.1816, allocations: 4.281 kB / 0.5939 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.1816, allocations: 3.984 kB / 0.5939 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1816, allocations: 0 / 0.5939 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.1821, allocations: 301.2 kB / 0.5942 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1821, allocations: 4 kB / 0.5942 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.1824, allocations: 47.95 kB / 0.5942 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1824, allocations: 8 kB / 0.5942 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.1824, allocations: 4 kB / 0.5942 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1824, allocations: 11.86 kB / 0.5943 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1824, allocations: 4.703 kB / 0.5943 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000867/0.1833, allocations: 438.2 kB / 0.5947 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.1834, allocations: 108.8 kB / 0.5948 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.1834, allocations: 0 / 0.5948 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.1837, allocations: 27.97 kB / 0.5948 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/0.1838, allocations: 19.97 kB / 0.5948 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.1838, allocations: 12 kB / 0.5948 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001824/0.184, allocations: 193.9 kB / 0.595 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.184, allocations: 0 / 0.595 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003637/0.1844, allocations: 51.91 kB / 0.5951 GB, free: 9 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.0002058/0.1846, allocations: 115.5 kB / 0.5952 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007738/0.1854, allocations: 235.6 kB / 0.5954 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1854, allocations: 0 / 0.5954 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.1857, allocations: 120.2 kB / 0.5955 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006789/0.1864, allocations: 79.48 kB / 0.5956 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009752/0.1874, allocations: 0.5221 MB / 0.5961 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.1878, allocations: 0.7519 MB / 0.5968 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001595/0.188, allocations: 34.28 kB / 0.5969 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/0.1881, allocations: 19.44 kB / 0.5969 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1881, allocations: 0 / 0.5969 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.00823/0.1963, allocations: 3.709 MB / 0.6005 GB, free: 3.434 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)