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.001124/0.001124, allocations: 106.3 kB / 15.99 MB, free: 5.891 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.001118/0.001117, allocations: 192.2 kB / 16.91 MB, free: 5.746 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.219/1.219, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002046/0.002046, allocations: 283.7 kB / 291 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8956/0.8956, allocations: 169.2 MB / 0.4985 GB, free: 4.613 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 106.3 kB / 0.5953 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1531, allocations: 86.97 MB / 0.6803 GB, free: 8.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002528/0.1557, allocations: 1.625 MB / 0.6819 GB, free: 6.891 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.157, allocations: 0.9008 MB / 0.6827 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.657e-05/0.157, allocations: 0 / 0.6827 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.1571, allocations: 3.938 kB / 0.6827 GB, free: 5.977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.1573, allocations: 23.84 kB / 0.6828 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1576, allocations: 122.5 kB / 0.6829 GB, free: 5.836 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.1577, allocations: 79.66 kB / 0.683 GB, free: 5.758 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.601e-05/0.1578, allocations: 20.27 kB / 0.683 GB, free: 5.738 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.474e-05/0.1579, allocations: 31.91 kB / 0.683 GB, free: 5.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.158, allocations: 43.78 kB / 0.6831 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.158, allocations: 4 kB / 0.6831 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003387/0.1584, allocations: 279.6 kB / 0.6833 GB, free: 5.387 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.1584, allocations: 11.94 kB / 0.6833 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.1584, allocations: 35.78 kB / 0.6834 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.1586, allocations: 99.78 kB / 0.6835 GB, free: 5.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1586, allocations: 0 / 0.6835 GB, free: 5.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1586, allocations: 0 / 0.6835 GB, free: 5.242 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1586, allocations: 4 kB / 0.6835 GB, free: 5.238 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.0004993/0.1591, allocations: 407.1 kB / 0.6839 GB, free: 4.793 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.1592, allocations: 15.97 kB / 0.6839 GB, free: 4.777 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.1593, allocations: 8.844 kB / 0.6839 GB, free: 4.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.1595, allocations: 188.2 kB / 0.6841 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1595, allocations: 384 / 0.6841 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.1595, allocations: 4.375 kB / 0.6841 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.1597, allocations: 69.97 kB / 0.6841 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1597, allocations: 0 / 0.6841 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1597, allocations: 0 / 0.6841 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1597, allocations: 4 kB / 0.6841 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.1599, allocations: 43.97 kB / 0.6842 GB, free: 4.422 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.1604, allocations: 300.7 kB / 0.6845 GB, free: 4.078 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.1605, allocations: 50.56 kB / 0.6845 GB, free: 4.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.996e-05/0.1606, allocations: 32.95 kB / 0.6845 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1606, allocations: 8.062 kB / 0.6846 GB, free: 3.977 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.1606, allocations: 30.56 kB / 0.6846 GB, free: 3.938 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1606, allocations: 4 kB / 0.6846 GB, free: 3.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003503/0.161, allocations: 101.6 kB / 0.6847 GB, free: 3.828 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.161, allocations: 51.41 kB / 0.6847 GB, free: 3.766 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.1612, allocations: 139.9 kB / 0.6849 GB, free: 3.621 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1612, allocations: 29.7 kB / 0.6849 GB, free: 3.586 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.1612, allocations: 92.12 kB / 0.685 GB, free: 3.492 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.1613, allocations: 19.75 kB / 0.685 GB, free: 3.473 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.1613, allocations: 25.7 kB / 0.685 GB, free: 3.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1614, allocations: 322.8 kB / 0.6853 GB, free: 3.117 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.151e-05/0.1615, allocations: 19.98 kB / 0.6853 GB, free: 3.098 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.1616, allocations: 23.97 kB / 0.6854 GB, free: 3.074 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.1618, allocations: 48.84 kB / 0.6854 GB, free: 3.023 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1618, allocations: 3.938 kB / 0.6854 GB, free: 3.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002123/0.162, allocations: 97.94 kB / 0.6855 GB, free: 2.918 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.162, allocations: 4 kB / 0.6855 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.162, allocations: 0 / 0.6855 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.162, allocations: 64 / 0.6855 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1622, allocations: 23.92 kB / 0.6855 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/0.1622, allocations: 0 / 0.6855 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.222e-05/0.1622, allocations: 7.984 kB / 0.6855 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1622, allocations: 0 / 0.6855 GB, free: 2.883 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.809e-05/0.1623, allocations: 121.8 kB / 0.6857 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.1624, allocations: 7.906 kB / 0.6857 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.1626, allocations: 105.9 kB / 0.6858 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1626, allocations: 0 / 0.6858 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1626, allocations: 0 / 0.6858 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1627, allocations: 0 / 0.6858 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.1628, allocations: 181.6 kB / 0.6859 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1628, allocations: 4 kB / 0.686 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.345e-05/0.1629, allocations: 15.98 kB / 0.686 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1629, allocations: 3.984 kB / 0.686 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.163, allocations: 4 kB / 0.686 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.163, allocations: 0 / 0.686 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.163, allocations: 0 / 0.686 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.1632, allocations: 191.3 kB / 0.6862 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.1633, allocations: 92.95 kB / 0.6862 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.1633, allocations: 0 / 0.6862 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.1634, allocations: 7.984 kB / 0.6863 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.1634, allocations: 4 kB / 0.6863 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1634, allocations: 7.938 kB / 0.6863 GB, free: 2.047 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.364e-05/0.1635, allocations: 99.25 kB / 0.6864 GB, free: 1.949 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1635, allocations: 0 / 0.6864 GB, free: 1.949 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1638, allocations: 24 kB / 0.6864 GB, free: 1.926 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.0001639/0.1639, allocations: 111.2 kB / 0.6865 GB, free: 1.809 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.1642, allocations: 63.95 kB / 0.6865 GB, free: 1.746 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1642, allocations: 4 kB / 0.6866 GB, free: 1.742 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.578e-05/0.1643, allocations: 28.11 kB / 0.6866 GB, free: 1.715 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.1646, allocations: 14.66 kB / 0.6866 GB, free: 1.703 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.1651, allocations: 249.7 kB / 0.6868 GB, free: 1.426 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.1654, allocations: 0.6885 MB / 0.6875 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.1654, allocations: 11.44 kB / 0.6875 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1654, allocations: 0 / 0.6875 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of Templates: time 0.234/0.3994, allocations: 1.112 MB / 0.6886 GB, free: 17.7 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)