Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001149/0.001149, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001312/0.001312, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00216/0.00216, allocations: 293.2 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9342/0.9342, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 95.56 kB / 0.5967 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1545, allocations: 86.97 MB / 0.6816 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002524/0.1571, allocations: 1.56 MB / 0.6831 GB, free: 5.848 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1584, allocations: 0.9053 MB / 0.684 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.544e-05/0.1585, allocations: 0 / 0.684 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/0.1585, allocations: 7.922 kB / 0.684 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.1588, allocations: 23.78 kB / 0.684 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.1591, allocations: 142.6 kB / 0.6842 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.1593, allocations: 83.64 kB / 0.6843 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.192e-05/0.1594, allocations: 15.97 kB / 0.6843 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.48e-05/0.1595, allocations: 31.91 kB / 0.6843 GB, free: 4.637 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1596, allocations: 39.78 kB / 0.6843 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.1596, allocations: 7.938 kB / 0.6844 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003786/0.16, allocations: 287.6 kB / 0.6846 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.16, allocations: 7.984 kB / 0.6846 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.1601, allocations: 35.8 kB / 0.6847 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.1603, allocations: 151.6 kB / 0.6848 GB, free: 4.117 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1603, allocations: 0 / 0.6848 GB, free: 4.117 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1603, allocations: 0 / 0.6848 GB, free: 4.117 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.1603, allocations: 0 / 0.6848 GB, free: 4.117 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005016/0.1608, allocations: 407.1 kB / 0.6852 GB, free: 3.672 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.1609, allocations: 8.031 kB / 0.6852 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.161, allocations: 16.84 kB / 0.6852 GB, free: 3.648 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.1612, allocations: 196.1 kB / 0.6854 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.1612, allocations: 384 / 0.6854 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.1612, allocations: 4.375 kB / 0.6854 GB, free: 3.414 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1614, allocations: 65.92 kB / 0.6855 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1614, allocations: 0 / 0.6855 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1614, allocations: 4 kB / 0.6855 GB, free: 3.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1614, allocations: 4 kB / 0.6855 GB, free: 3.336 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.1616, allocations: 43.97 kB / 0.6855 GB, free: 3.293 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.162, allocations: 292.7 kB / 0.6858 GB, free: 2.957 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.1621, allocations: 58.48 kB / 0.6859 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.642e-05/0.1622, allocations: 36.97 kB / 0.6859 GB, free: 2.852 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.1622, allocations: 4 kB / 0.6859 GB, free: 2.848 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.1622, allocations: 30.56 kB / 0.6859 GB, free: 2.809 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1623, allocations: 0 / 0.6859 GB, free: 2.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003352/0.1626, allocations: 97.66 kB / 0.686 GB, free: 2.707 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.1626, allocations: 51.41 kB / 0.6861 GB, free: 2.645 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.957e-05/0.1627, allocations: 140.2 kB / 0.6862 GB, free: 2.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.1628, allocations: 33.64 kB / 0.6862 GB, free: 2.461 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.1628, allocations: 100.1 kB / 0.6863 GB, free: 2.359 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.1628, allocations: 19.81 kB / 0.6864 GB, free: 2.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.1629, allocations: 21.7 kB / 0.6864 GB, free: 2.312 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.326e-05/0.163, allocations: 322.8 kB / 0.6867 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-05/0.1631, allocations: 23.97 kB / 0.6867 GB, free: 1.965 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.218e-05/0.1631, allocations: 19.98 kB / 0.6867 GB, free: 1.945 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.1633, allocations: 60.83 kB / 0.6868 GB, free: 1.883 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1633, allocations: 0 / 0.6868 GB, free: 1.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002015/0.1635, allocations: 85.58 kB / 0.6869 GB, free: 1.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1635, allocations: 4 kB / 0.6869 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1635, allocations: 0 / 0.6869 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1635, allocations: 0 / 0.6869 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1637, allocations: 19.92 kB / 0.6869 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1637, allocations: 4 kB / 0.6869 GB, free: 1.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.3e-05/0.1638, allocations: 7.984 kB / 0.6869 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.1638, allocations: 0 / 0.6869 GB, free: 1.758 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.459e-05/0.1638, allocations: 117.8 kB / 0.687 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.1639, allocations: 7.906 kB / 0.687 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.1642, allocations: 106.4 kB / 0.6871 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1642, allocations: 0 / 0.6871 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1642, allocations: 4 kB / 0.6871 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1642, allocations: 0 / 0.6871 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1644, allocations: 189.5 kB / 0.6873 GB, free: 1.273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1644, allocations: 4 kB / 0.6873 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.654e-05/0.1645, allocations: 11.98 kB / 0.6873 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1645, allocations: 0 / 0.6873 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.629e-06/0.1645, allocations: 4 kB / 0.6873 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1645, allocations: 0 / 0.6873 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1645, allocations: 0 / 0.6873 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.1647, allocations: 191.4 kB / 0.6875 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.1648, allocations: 88.95 kB / 0.6876 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1648, allocations: 0 / 0.6876 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.97e-05/0.1649, allocations: 7.984 kB / 0.6876 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.1649, allocations: 4 kB / 0.6876 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.165, allocations: 7.984 kB / 0.6876 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.586e-05/0.165, allocations: 99.2 kB / 0.6877 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.165, allocations: 4 kB / 0.6877 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.1653, allocations: 28 kB / 0.6877 GB, free: 0.7969 MB / 494.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 (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.000157/0.1654, allocations: 110.3 kB / 0.6878 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.1657, allocations: 55.91 kB / 0.6879 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1657, allocations: 0 / 0.6879 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.225e-05/0.1658, allocations: 35.86 kB / 0.6879 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.166, allocations: 23.95 kB / 0.688 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/0.1665, allocations: 200.1 kB / 0.6881 GB, free: 356 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2379/0.4044, allocations: 0.6872 MB / 0.6888 GB, free: 17.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.348e-05/0.4045, allocations: 6.406 kB / 0.6888 GB, free: 17.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.4046, allocations: 11.34 kB / 0.6888 GB, free: 17.57 MB / 494.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4046, allocations: 2.438 kB / 0.6888 GB, free: 17.57 MB / 494.1 MB Notification: Performance of Templates: time 0.003812/0.4084, allocations: 1.082 MB / 0.6899 GB, free: 17.54 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)