Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001329/0.001329, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001625/0.001626, allocations: 191.2 kB / 16.25 MB, free: 6.145 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.307/1.307, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 286.9 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9654/0.9654, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 94.83 kB / 0.5947 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1544, allocations: 86.98 MB / 0.6796 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00329/0.1577, allocations: 2.169 MB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.1593, allocations: 1.034 MB / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1594, allocations: 4 kB / 0.6828 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.569e-05/0.1595, allocations: 15.8 kB / 0.6828 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.1597, allocations: 71.42 kB / 0.6828 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.1601, allocations: 159.8 kB / 0.683 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.1604, allocations: 298.8 kB / 0.6833 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.1606, allocations: 64.91 kB / 0.6833 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1607, allocations: 111.5 kB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.1609, allocations: 139.4 kB / 0.6836 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.161, allocations: 20 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003734/0.1614, allocations: 311.6 kB / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.035e-05/0.1614, allocations: 43.78 kB / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.1615, allocations: 115.3 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.1619, allocations: 326.9 kB / 0.6844 GB, free: 12.22 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1619, allocations: 0 / 0.6844 GB, free: 12.22 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.1619, allocations: 0 / 0.6844 GB, free: 12.22 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1619, allocations: 3.938 kB / 0.6844 GB, free: 12.21 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.001053/0.163, allocations: 0.6233 MB / 0.685 GB, free: 11.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.163, allocations: 8.031 kB / 0.685 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002159/0.1632, allocations: 44.55 kB / 0.685 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.1635, allocations: 275.5 kB / 0.6853 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.1636, allocations: 12.66 kB / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1636, allocations: 12.38 kB / 0.6853 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/0.1641, allocations: 236.9 kB / 0.6855 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1641, allocations: 0 / 0.6855 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.1641, allocations: 8 kB / 0.6855 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1641, allocations: 4 kB / 0.6855 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006276/0.1648, allocations: 195.8 kB / 0.6857 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.1659, allocations: 0.9344 MB / 0.6866 GB, free: 9.703 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007599/0.1666, allocations: 241.2 kB / 0.6869 GB, free: 9.449 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.167, allocations: 113.6 kB / 0.687 GB, free: 9.332 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.167, allocations: 11.94 kB / 0.687 GB, free: 9.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.167, allocations: 30.88 kB / 0.687 GB, free: 9.281 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.167, allocations: 0 / 0.687 GB, free: 9.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001118/0.1682, allocations: 337.1 kB / 0.6873 GB, free: 8.945 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.1682, allocations: 85.11 kB / 0.6874 GB, free: 8.844 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.1685, allocations: 267 kB / 0.6877 GB, free: 8.574 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.1685, allocations: 25.7 kB / 0.6877 GB, free: 8.543 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.1686, allocations: 168.1 kB / 0.6879 GB, free: 8.375 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.1687, allocations: 55.2 kB / 0.6879 GB, free: 8.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.1687, allocations: 41.7 kB / 0.688 GB, free: 8.273 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1689, allocations: 334.8 kB / 0.6883 GB, free: 7.938 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.1692, allocations: 95.91 kB / 0.6884 GB, free: 7.844 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.1695, allocations: 137.9 kB / 0.6885 GB, free: 7.688 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006275/0.1702, allocations: 237.7 kB / 0.6887 GB, free: 7.434 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1702, allocations: 0 / 0.6887 GB, free: 7.434 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007915/0.171, allocations: 297 kB / 0.689 GB, free: 7.137 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.171, allocations: 8 kB / 0.689 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.171, allocations: 7.875 kB / 0.689 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.171, allocations: 4 kB / 0.689 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.1713, allocations: 60.09 kB / 0.6891 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.1713, allocations: 4 kB / 0.6891 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.1716, allocations: 35.81 kB / 0.6891 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.1716, allocations: 15.94 kB / 0.6891 GB, free: 7.004 MB / 494.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.0001148/0.1717, allocations: 127.2 kB / 0.6893 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.1718, allocations: 35.56 kB / 0.6893 GB, free: 6.836 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007913/0.1726, allocations: 295.8 kB / 0.6896 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1727, allocations: 4 kB / 0.6896 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1727, allocations: 4 kB / 0.6896 GB, free: 6.531 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.1727, allocations: 7.984 kB / 0.6896 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.1731, allocations: 293.3 kB / 0.6899 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1731, allocations: 3.938 kB / 0.6899 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.1733, allocations: 51.89 kB / 0.6899 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.1734, allocations: 4 kB / 0.6899 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.1734, allocations: 4 kB / 0.6899 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1734, allocations: 0 / 0.6899 GB, free: 6.125 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1734, allocations: 4 kB / 0.6899 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008429/0.1742, allocations: 439.8 kB / 0.6904 GB, free: 5.676 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/0.1743, allocations: 116.6 kB / 0.6905 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.1744, allocations: 0 / 0.6905 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.1746, allocations: 31.95 kB / 0.6905 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/0.1747, allocations: 19.98 kB / 0.6905 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.1748, allocations: 4 kB / 0.6905 GB, free: 5.488 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000183/0.1749, allocations: 190 kB / 0.6907 GB, free: 5.309 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1749, allocations: 0 / 0.6907 GB, free: 5.309 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003764/0.1753, allocations: 60.23 kB / 0.6908 GB, free: 5.25 MB / 494.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.0002225/0.1756, allocations: 115.2 kB / 0.6909 GB, free: 5.129 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000777/0.1763, allocations: 239.9 kB / 0.6911 GB, free: 4.895 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1764, allocations: 384 / 0.6911 GB, free: 4.895 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003411/0.1767, allocations: 119.8 kB / 0.6912 GB, free: 4.777 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.1773, allocations: 77.16 kB / 0.6913 GB, free: 4.703 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007881/0.1781, allocations: 0.5144 MB / 0.6918 GB, free: 4.156 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.1784, allocations: 0.7518 MB / 0.6925 GB, free: 3.379 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001614/0.1786, allocations: 38.36 kB / 0.6926 GB, free: 3.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.263e-05/0.1787, allocations: 23.44 kB / 0.6926 GB, free: 3.316 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1787, allocations: 0 / 0.6926 GB, free: 3.316 MB / 494.1 MB Notification: Performance of Templates: time 0.007549/0.1863, allocations: 3.738 MB / 0.6962 GB, free: 15.66 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)