Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009149/0.0009149, allocations: 96.58 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009539/0.0009539, allocations: 173.8 kB / 16.57 MB, free: 6.398 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.287/1.287, allocations: 223.2 MB / 240.5 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.676/0.676, allocations: 113.8 MB / 405.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004592, allocations: 8 kB / 493.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.151, allocations: 77.15 MB / 0.5568 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001615/0.1527, allocations: 1.256 MB / 0.5581 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.154, allocations: 0.8391 MB / 0.5589 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.1541, allocations: 0 / 0.5589 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.1541, allocations: 3.938 kB / 0.5589 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.1543, allocations: 19.95 kB / 0.5589 GB, free: 9.449 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.1546, allocations: 95.12 kB / 0.559 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.1547, allocations: 51.86 kB / 0.559 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.341e-05/0.1548, allocations: 8 kB / 0.5591 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.612e-05/0.1549, allocations: 31.84 kB / 0.5591 GB, free: 9.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.155, allocations: 35.84 kB / 0.5591 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.155, allocations: 8 kB / 0.5591 GB, free: 9.227 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003674/0.1554, allocations: 259.7 kB / 0.5594 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.1554, allocations: 11.92 kB / 0.5594 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.1554, allocations: 37.7 kB / 0.5594 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.1556, allocations: 104 kB / 0.5595 GB, free: 8.816 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.1556, allocations: 0 / 0.5595 GB, free: 8.816 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1556, allocations: 0 / 0.5595 GB, free: 8.816 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.1556, allocations: 0 / 0.5595 GB, free: 8.816 MB / 430.1 MB 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.0005037/0.1561, allocations: 401.1 kB / 0.5599 GB, free: 8.379 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.1562, allocations: 11.97 kB / 0.5599 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.1563, allocations: 11.91 kB / 0.5599 GB, free: 8.355 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.1565, allocations: 186.9 kB / 0.5601 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.1565, allocations: 7.938 kB / 0.5601 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.1565, allocations: 8 kB / 0.5601 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1567, allocations: 65.67 kB / 0.5602 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.1567, allocations: 0 / 0.5602 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1567, allocations: 0 / 0.5602 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.1567, allocations: 0 / 0.5602 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.1569, allocations: 51.91 kB / 0.5602 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.1573, allocations: 296.8 kB / 0.5605 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.1575, allocations: 58.55 kB / 0.5606 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.1575, allocations: 0 / 0.5606 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.1575, allocations: 38.56 kB / 0.5606 GB, free: 7.543 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1575, allocations: 0 / 0.5606 GB, free: 7.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003807/0.1579, allocations: 117.6 kB / 0.5607 GB, free: 7.422 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.158, allocations: 51.41 kB / 0.5608 GB, free: 7.359 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.1581, allocations: 140.1 kB / 0.5609 GB, free: 7.215 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1581, allocations: 25.7 kB / 0.5609 GB, free: 7.184 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.1582, allocations: 100 kB / 0.561 GB, free: 7.082 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1582, allocations: 15.75 kB / 0.561 GB, free: 7.066 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.1582, allocations: 0 / 0.561 GB, free: 7.066 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1583, allocations: 326.8 kB / 0.5613 GB, free: 6.738 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-05/0.1584, allocations: 23.98 kB / 0.5614 GB, free: 6.715 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.149e-05/0.1585, allocations: 27.98 kB / 0.5614 GB, free: 6.688 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.301e-05/0.1586, allocations: 27.98 kB / 0.5614 GB, free: 6.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1586, allocations: 0 / 0.5614 GB, free: 6.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002303/0.1588, allocations: 109.5 kB / 0.5615 GB, free: 6.547 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1588, allocations: 4 kB / 0.5615 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1588, allocations: 4 kB / 0.5615 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.1589, allocations: 0 / 0.5615 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.159, allocations: 15.98 kB / 0.5616 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.159, allocations: 0 / 0.5616 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.1591, allocations: 8 kB / 0.5616 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.1591, allocations: 4.438 kB / 0.5616 GB, free: 6.512 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.443e-05/0.1592, allocations: 117.8 kB / 0.5617 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.1592, allocations: 11.84 kB / 0.5617 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/0.1595, allocations: 113.9 kB / 0.5618 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1595, allocations: 0 / 0.5618 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1595, allocations: 4 kB / 0.5618 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1595, allocations: 0 / 0.5618 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.1597, allocations: 193.6 kB / 0.562 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1597, allocations: 0 / 0.562 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.929e-05/0.1598, allocations: 12 kB / 0.562 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1598, allocations: 3.984 kB / 0.562 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1598, allocations: 0 / 0.562 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1598, allocations: 0 / 0.562 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1598, allocations: 0 / 0.562 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.1601, allocations: 199.4 kB / 0.5622 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.1602, allocations: 88.97 kB / 0.5623 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.1602, allocations: 4 kB / 0.5623 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.234e-05/0.1603, allocations: 4 kB / 0.5623 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.1604, allocations: 11.98 kB / 0.5623 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.1604, allocations: 0 / 0.5623 GB, free: 5.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.321e-05/0.1604, allocations: 105.1 kB / 0.5624 GB, free: 5.559 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1604, allocations: 0 / 0.5624 GB, free: 5.559 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1607, allocations: 20 kB / 0.5624 GB, free: 5.539 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001412/0.1608, allocations: 112.8 kB / 0.5625 GB, free: 5.422 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.1611, allocations: 67.91 kB / 0.5626 GB, free: 5.355 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1611, allocations: 3.938 kB / 0.5626 GB, free: 5.352 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.088e-05/0.1612, allocations: 35.97 kB / 0.5626 GB, free: 5.316 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.1614, allocations: 4 kB / 0.5626 GB, free: 5.312 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/0.1618, allocations: 230.3 kB / 0.5628 GB, free: 5.062 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.1621, allocations: 0.6926 MB / 0.5635 GB, free: 4.344 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.33e-05/0.1621, allocations: 12.55 kB / 0.5635 GB, free: 4.332 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.1622, allocations: 7.438 kB / 0.5635 GB, free: 4.324 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1622, allocations: 4 kB / 0.5635 GB, free: 4.32 MB / 430.1 MB Notification: Performance of Templates: time 0.003202/0.1654, allocations: 0.9635 MB / 0.5645 GB, free: 3.371 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)