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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007658/0.007658, allocations: 98.47 kB / 15.73 MB, free: 5.949 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.002069/0.002069, allocations: 196.5 kB / 16.68 MB, free: 5.871 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.414/1.414, 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/package.mo): time 0.8318/0.8318, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 63.94 kB / 0.5814 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1599, allocations: 80.21 MB / 0.6597 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003548/0.1635, allocations: 2.111 MB / 0.6618 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.1651, allocations: 1.045 MB / 0.6628 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1652, allocations: 4 kB / 0.6628 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.975e-05/0.1653, allocations: 23.67 kB / 0.6628 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.1656, allocations: 83.22 kB / 0.6629 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.1661, allocations: 197 kB / 0.6631 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004018/0.1665, allocations: 290.8 kB / 0.6633 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.1668, allocations: 68.53 kB / 0.6634 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.167, allocations: 115.5 kB / 0.6635 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.1672, allocations: 135.4 kB / 0.6637 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.337e-05/0.1673, allocations: 23.94 kB / 0.6637 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004971/0.1678, allocations: 299.6 kB / 0.664 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.1679, allocations: 43.78 kB / 0.664 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.168, allocations: 119.3 kB / 0.6641 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004848/0.1685, allocations: 334.5 kB / 0.6644 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1685, allocations: 0 / 0.6644 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1685, allocations: 0 / 0.6644 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.1685, allocations: 0 / 0.6644 GB, free: 5.469 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.00123/0.1698, allocations: 0.6385 MB / 0.6651 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1698, allocations: 16.03 kB / 0.6651 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.17, allocations: 36.75 kB / 0.6651 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/0.1705, allocations: 283.7 kB / 0.6654 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1705, allocations: 12.66 kB / 0.6654 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.1705, allocations: 19.92 kB / 0.6654 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005336/0.1711, allocations: 228.6 kB / 0.6656 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1711, allocations: 0 / 0.6656 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.1711, allocations: 8 kB / 0.6656 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1711, allocations: 8 kB / 0.6656 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006668/0.1718, allocations: 191.8 kB / 0.6658 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.173, allocations: 0.9502 MB / 0.6668 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007812/0.1738, allocations: 241.2 kB / 0.667 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.1741, allocations: 101.6 kB / 0.6671 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.1742, allocations: 4.297 kB / 0.6671 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.1742, allocations: 46.55 kB / 0.6671 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.1742, allocations: 3.938 kB / 0.6671 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001215/0.1754, allocations: 329.3 kB / 0.6674 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.1755, allocations: 85.03 kB / 0.6675 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.1758, allocations: 267 kB / 0.6678 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.1758, allocations: 33.7 kB / 0.6678 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.1759, allocations: 160.3 kB / 0.668 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.176, allocations: 51.53 kB / 0.668 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-05/0.176, allocations: 41.7 kB / 0.6681 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1762, allocations: 338.8 kB / 0.6684 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.1765, allocations: 91.91 kB / 0.6685 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.1769, allocations: 137.9 kB / 0.6686 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006983/0.1776, allocations: 245.6 kB / 0.6688 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1776, allocations: 0 / 0.6688 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000852/0.1785, allocations: 297.1 kB / 0.6691 GB, free: 364 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1785, allocations: 4 kB / 0.6691 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.1785, allocations: 3.984 kB / 0.6691 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1786, allocations: 8.156 kB / 0.6691 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.1789, allocations: 59.95 kB / 0.6692 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.1789, allocations: 8.641 kB / 0.6692 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.1791, allocations: 39.84 kB / 0.6692 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.1791, allocations: 8 kB / 0.6692 GB, free: 232 kB / 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.0001226/0.1793, allocations: 130.7 kB / 0.6694 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.1794, allocations: 31.81 kB / 0.6694 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008721/0.1803, allocations: 291.1 kB / 0.6697 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.1803, allocations: 4 kB / 0.6697 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1803, allocations: 0 / 0.6697 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1803, allocations: 0 / 0.6697 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.1807, allocations: 297.3 kB / 0.67 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1807, allocations: 3.984 kB / 0.67 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.181, allocations: 59.89 kB / 0.67 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.181, allocations: 0 / 0.67 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.181, allocations: 8 kB / 0.67 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.181, allocations: 4.281 kB / 0.67 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.181, allocations: 0 / 0.67 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008768/0.1819, allocations: 452.3 kB / 0.6705 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/0.182, allocations: 100.9 kB / 0.6706 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.182, allocations: 8 kB / 0.6706 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.1823, allocations: 23.97 kB / 0.6706 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/0.1824, allocations: 19.97 kB / 0.6706 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.1824, allocations: 7.938 kB / 0.6706 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001832/0.1826, allocations: 194 kB / 0.6708 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1826, allocations: 4 kB / 0.6708 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003474/0.183, allocations: 55.89 kB / 0.6709 GB, free: 14.46 MB / 0.5137 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.0001945/0.1832, allocations: 115.2 kB / 0.671 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007861/0.184, allocations: 228.1 kB / 0.6712 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.184, allocations: 0 / 0.6712 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.1843, allocations: 115.8 kB / 0.6713 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.1849, allocations: 85.47 kB / 0.6714 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007789/0.1857, allocations: 450.3 kB / 0.6718 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.1861, allocations: 0.748 MB / 0.6725 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001267/0.1862, allocations: 26.3 kB / 0.6726 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.446e-05/0.1863, allocations: 27.42 kB / 0.6726 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1863, allocations: 0 / 0.6726 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of Templates: time 0.008207/0.1945, allocations: 3.968 MB / 0.6765 GB, free: 8.73 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile [Timeout 660] (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) [Timeout 480]