Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009614/0.0009614, allocations: 93.11 kB / 16.02 MB, free: 84 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.001207/0.001207, allocations: 177.8 kB / 16.92 MB, free: 6.684 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.369/1.369, allocations: 223.2 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.689/0.689, allocations: 115.5 MB / 407.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005191/0.0005194, allocations: 8 kB / 495.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1655, allocations: 77.55 MB / 0.56 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002403/0.1679, allocations: 1.8 MB / 0.5617 GB, free: 7.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.1699, allocations: 1.049 MB / 0.5627 GB, free: 6.172 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.17, allocations: 0 / 0.5627 GB, free: 6.172 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.084e-05/0.1701, allocations: 15.8 kB / 0.5628 GB, free: 6.156 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.1704, allocations: 75.47 kB / 0.5628 GB, free: 6.082 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.1708, allocations: 139.7 kB / 0.563 GB, free: 5.945 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.1711, allocations: 286.8 kB / 0.5632 GB, free: 5.664 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.1713, allocations: 60.69 kB / 0.5633 GB, free: 5.605 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1714, allocations: 91.52 kB / 0.5634 GB, free: 5.516 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.1716, allocations: 127.5 kB / 0.5635 GB, free: 5.391 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.1716, allocations: 11.94 kB / 0.5635 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.172, allocations: 287.6 kB / 0.5638 GB, free: 5.098 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.833e-05/0.1721, allocations: 31.78 kB / 0.5638 GB, free: 5.066 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.1722, allocations: 133 kB / 0.564 GB, free: 4.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.1725, allocations: 319.1 kB / 0.5643 GB, free: 4.617 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1726, allocations: 0 / 0.5643 GB, free: 4.617 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1726, allocations: 0 / 0.5643 GB, free: 4.617 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1726, allocations: 0 / 0.5643 GB, free: 4.617 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001009/0.1736, allocations: 0.6156 MB / 0.5649 GB, free: 3.953 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1736, allocations: 8.031 kB / 0.5649 GB, free: 3.945 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.1738, allocations: 32.66 kB / 0.5649 GB, free: 3.914 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.1742, allocations: 279.4 kB / 0.5652 GB, free: 3.605 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1742, allocations: 12.66 kB / 0.5652 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.1742, allocations: 16.38 kB / 0.5652 GB, free: 3.578 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.1748, allocations: 252.9 kB / 0.5654 GB, free: 3.309 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1748, allocations: 0 / 0.5654 GB, free: 3.309 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.1748, allocations: 8 kB / 0.5654 GB, free: 3.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.1748, allocations: 4 kB / 0.5654 GB, free: 3.297 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007156/0.1756, allocations: 239.8 kB / 0.5657 GB, free: 3.062 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.1767, allocations: 0.9462 MB / 0.5666 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007859/0.1775, allocations: 261.4 kB / 0.5668 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003739/0.1779, allocations: 129.8 kB / 0.567 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.1779, allocations: 7.938 kB / 0.567 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.178, allocations: 42.48 kB / 0.567 GB, free: 1.582 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.178, allocations: 3.938 kB / 0.567 GB, free: 1.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001274/0.1793, allocations: 397.6 kB / 0.5674 GB, free: 1.184 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.1793, allocations: 89.11 kB / 0.5675 GB, free: 1.078 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.1796, allocations: 263 kB / 0.5677 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.1796, allocations: 29.7 kB / 0.5678 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.1797, allocations: 168 kB / 0.5679 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.1798, allocations: 47.28 kB / 0.568 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.1798, allocations: 29.64 kB / 0.568 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1799, allocations: 338.8 kB / 0.5683 GB, free: 196 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.1803, allocations: 111.9 kB / 0.5684 GB, free: 84 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/0.1807, allocations: 166 kB / 0.5686 GB, free: 15.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007498/0.1815, allocations: 285.8 kB / 0.5689 GB, free: 15.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1815, allocations: 0 / 0.5689 GB, free: 15.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009281/0.1824, allocations: 341.1 kB / 0.5692 GB, free: 15.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1825, allocations: 4 kB / 0.5692 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.1825, allocations: 4 kB / 0.5692 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1825, allocations: 0 / 0.5692 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.1828, allocations: 75.88 kB / 0.5693 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1828, allocations: 4.125 kB / 0.5693 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.1831, allocations: 55.75 kB / 0.5693 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.1831, allocations: 12 kB / 0.5693 GB, free: 15.11 MB / 446.1 MB 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.0001172/0.1832, allocations: 129.8 kB / 0.5695 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.1834, allocations: 35.64 kB / 0.5695 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009077/0.1843, allocations: 335.1 kB / 0.5698 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.1843, allocations: 7.984 kB / 0.5698 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1843, allocations: 0 / 0.5698 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1843, allocations: 0 / 0.5698 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.1847, allocations: 289.4 kB / 0.5701 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1847, allocations: 3.938 kB / 0.5701 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.185, allocations: 67.89 kB / 0.5702 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.185, allocations: 4 kB / 0.5702 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.185, allocations: 4 kB / 0.5702 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1851, allocations: 0 / 0.5702 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.1851, allocations: 7.984 kB / 0.5702 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009363/0.186, allocations: 491.9 kB / 0.5706 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.13e-05/0.1861, allocations: 104.8 kB / 0.5707 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.1861, allocations: 11.92 kB / 0.5708 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.1864, allocations: 35.97 kB / 0.5708 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.1865, allocations: 19.97 kB / 0.5708 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.1865, allocations: 8 kB / 0.5708 GB, free: 13.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001733/0.1867, allocations: 190 kB / 0.571 GB, free: 13.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1867, allocations: 0 / 0.571 GB, free: 13.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003678/0.1871, allocations: 64.09 kB / 0.5711 GB, free: 13.24 MB / 446.1 MB 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.0001877/0.1873, allocations: 107.2 kB / 0.5712 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000834/0.1881, allocations: 267.9 kB / 0.5714 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1881, allocations: 0 / 0.5714 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.1886, allocations: 144.4 kB / 0.5716 GB, free: 12.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/0.1892, allocations: 72.91 kB / 0.5716 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008373/0.19, allocations: 0.5244 MB / 0.5721 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.1904, allocations: 0.748 MB / 0.5729 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.1905, allocations: 38.28 kB / 0.5729 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.869e-05/0.1906, allocations: 19.44 kB / 0.5729 GB, free: 11.27 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1906, allocations: 0 / 0.5729 GB, free: 11.27 MB / 446.1 MB Notification: Performance of Templates: time 0.00741/0.198, allocations: 3.542 MB / 0.5764 GB, free: 7.793 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)