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.0009846/0.0009847, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.007832/0.007832, allocations: 171.7 kB / 16.27 MB, free: 6.648 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001832/0.001831, allocations: 269.5 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9992/0.9992, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004175, allocations: 17 kB / 0.5987 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1588, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00213/0.161, allocations: 1.81 MB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1625, allocations: 1.054 MB / 0.6879 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.393e-05/0.1626, allocations: 0 / 0.6879 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.1627, allocations: 19.78 kB / 0.6879 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.1629, allocations: 69.98 kB / 0.688 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.1633, allocations: 138 kB / 0.6881 GB, free: 11.99 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000276/0.1635, allocations: 285.1 kB / 0.6884 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.1637, allocations: 62.36 kB / 0.6885 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.1638, allocations: 91.52 kB / 0.6886 GB, free: 11.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.164, allocations: 134.8 kB / 0.6887 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.1641, allocations: 8 kB / 0.6887 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.1645, allocations: 287.6 kB / 0.689 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.418e-05/0.1645, allocations: 31.78 kB / 0.689 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.1646, allocations: 133 kB / 0.6891 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.1649, allocations: 310.9 kB / 0.6894 GB, free: 10.67 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1649, allocations: 0 / 0.6894 GB, free: 10.67 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1649, allocations: 0 / 0.6894 GB, free: 10.67 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.165, allocations: 0 / 0.6894 GB, free: 10.67 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.0009691/0.1659, allocations: 0.6116 MB / 0.69 GB, free: 10.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.166, allocations: 8.031 kB / 0.69 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.1662, allocations: 40.55 kB / 0.6901 GB, free: 9.969 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.1665, allocations: 283.5 kB / 0.6903 GB, free: 9.656 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.1665, allocations: 12.66 kB / 0.6903 GB, free: 9.645 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.1665, allocations: 12.38 kB / 0.6904 GB, free: 9.633 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.1671, allocations: 252.9 kB / 0.6906 GB, free: 9.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.1671, allocations: 0 / 0.6906 GB, free: 9.363 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.1671, allocations: 8 kB / 0.6906 GB, free: 9.355 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.1671, allocations: 8 kB / 0.6906 GB, free: 9.348 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007044/0.1678, allocations: 246.3 kB / 0.6909 GB, free: 9.109 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.1689, allocations: 0.9424 MB / 0.6918 GB, free: 8.098 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007677/0.1697, allocations: 257.2 kB / 0.692 GB, free: 7.828 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.1701, allocations: 125.6 kB / 0.6921 GB, free: 7.699 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1701, allocations: 7.938 kB / 0.6921 GB, free: 7.691 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.1701, allocations: 42.5 kB / 0.6922 GB, free: 7.641 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.1701, allocations: 0 / 0.6922 GB, free: 7.641 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001239/0.1714, allocations: 409.3 kB / 0.6926 GB, free: 7.234 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.1714, allocations: 81.11 kB / 0.6927 GB, free: 7.137 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.1717, allocations: 267 kB / 0.6929 GB, free: 6.867 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.1717, allocations: 29.7 kB / 0.6929 GB, free: 6.832 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.1718, allocations: 156.2 kB / 0.6931 GB, free: 6.676 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.1719, allocations: 59.19 kB / 0.6931 GB, free: 6.617 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.1719, allocations: 21.7 kB / 0.6932 GB, free: 6.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.172, allocations: 342.8 kB / 0.6935 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.1724, allocations: 115.9 kB / 0.6936 GB, free: 6.133 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/0.1728, allocations: 160.2 kB / 0.6938 GB, free: 5.957 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007144/0.1735, allocations: 289.7 kB / 0.694 GB, free: 5.652 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1735, allocations: 0 / 0.694 GB, free: 5.652 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008727/0.1744, allocations: 340.9 kB / 0.6944 GB, free: 5.312 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1744, allocations: 5.875 kB / 0.6944 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1744, allocations: 4 kB / 0.6944 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1744, allocations: 0 / 0.6944 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.1747, allocations: 84 kB / 0.6944 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1747, allocations: 3.938 kB / 0.6944 GB, free: 5.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.175, allocations: 43.81 kB / 0.6945 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.175, allocations: 12 kB / 0.6945 GB, free: 5.164 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.0001122/0.1751, allocations: 135.1 kB / 0.6946 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.1753, allocations: 27.66 kB / 0.6947 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008758/0.1761, allocations: 332.1 kB / 0.695 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1762, allocations: 4.094 kB / 0.695 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.1762, allocations: 7.938 kB / 0.695 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1762, allocations: 3.984 kB / 0.695 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.1765, allocations: 297.3 kB / 0.6953 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1765, allocations: 7.938 kB / 0.6953 GB, free: 4.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/0.1768, allocations: 63.95 kB / 0.6953 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1768, allocations: 4 kB / 0.6953 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1768, allocations: 0 / 0.6953 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.1769, allocations: 0 / 0.6953 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1769, allocations: 0 / 0.6953 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008659/0.1777, allocations: 496.1 kB / 0.6958 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.1778, allocations: 112.7 kB / 0.6959 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.1778, allocations: 0 / 0.6959 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.1781, allocations: 43.95 kB / 0.696 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.1782, allocations: 19.97 kB / 0.696 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.1782, allocations: 4 kB / 0.696 GB, free: 3.539 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.1784, allocations: 190 kB / 0.6962 GB, free: 3.359 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1784, allocations: 0 / 0.6962 GB, free: 3.359 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003539/0.1787, allocations: 60.03 kB / 0.6962 GB, free: 3.301 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.0001836/0.1789, allocations: 115.2 kB / 0.6963 GB, free: 3.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008023/0.1797, allocations: 271.8 kB / 0.6966 GB, free: 2.914 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1798, allocations: 4.125 kB / 0.6966 GB, free: 2.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003756/0.1801, allocations: 143.8 kB / 0.6967 GB, free: 2.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/0.1808, allocations: 71.05 kB / 0.6968 GB, free: 2.699 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007824/0.1815, allocations: 0.536 MB / 0.6973 GB, free: 2.129 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.1818, allocations: 0.748 MB / 0.6981 GB, free: 1.355 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.182, allocations: 30.28 kB / 0.6981 GB, free: 1.328 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.751e-05/0.182, allocations: 23.44 kB / 0.6981 GB, free: 1.305 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1821, allocations: 0 / 0.6981 GB, free: 1.305 MB / 494.1 MB Notification: Performance of Templates: time 0.006984/0.189, allocations: 3.553 MB / 0.7016 GB, free: 13.82 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)