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.001006/0.001006, allocations: 101.5 kB / 16.35 MB, free: 5.875 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.0009713/0.0009713, allocations: 198.3 kB / 17.3 MB, free: 5.516 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.261/1.261, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00201/0.00201, allocations: 288.3 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8889/0.8889, allocations: 169.2 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 89.52 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1589, allocations: 86.97 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002954/0.1619, allocations: 1.574 MB / 0.6831 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1633, allocations: 0.9053 MB / 0.684 GB, free: 4.938 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.571e-05/0.1634, allocations: 0 / 0.684 GB, free: 4.938 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/0.1635, allocations: 3.938 kB / 0.684 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.1637, allocations: 27.78 kB / 0.684 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.164, allocations: 135.6 kB / 0.6842 GB, free: 4.773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.1641, allocations: 79.66 kB / 0.6843 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.823e-05/0.1642, allocations: 19.95 kB / 0.6843 GB, free: 4.676 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.904e-05/0.1643, allocations: 31.92 kB / 0.6843 GB, free: 4.645 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.1644, allocations: 35.84 kB / 0.6843 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1644, allocations: 4 kB / 0.6843 GB, free: 4.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.1648, allocations: 283.6 kB / 0.6846 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.1648, allocations: 15.92 kB / 0.6846 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.1649, allocations: 31.8 kB / 0.6847 GB, free: 4.281 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.1651, allocations: 159.5 kB / 0.6848 GB, free: 4.125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1651, allocations: 0 / 0.6848 GB, free: 4.125 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1651, allocations: 0 / 0.6848 GB, free: 4.125 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.1651, allocations: 4 kB / 0.6848 GB, free: 4.121 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.0005186/0.1656, allocations: 407.1 kB / 0.6852 GB, free: 3.676 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.1657, allocations: 8.031 kB / 0.6852 GB, free: 3.668 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.1658, allocations: 12.84 kB / 0.6852 GB, free: 3.656 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.166, allocations: 188.2 kB / 0.6854 GB, free: 3.434 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.166, allocations: 384 / 0.6854 GB, free: 3.434 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.166, allocations: 8.375 kB / 0.6854 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1662, allocations: 65.97 kB / 0.6855 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.1662, allocations: 0 / 0.6855 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1662, allocations: 4 kB / 0.6855 GB, free: 3.352 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1663, allocations: 0 / 0.6855 GB, free: 3.352 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.1664, allocations: 47.89 kB / 0.6855 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.1668, allocations: 296.7 kB / 0.6858 GB, free: 2.965 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.1669, allocations: 54.55 kB / 0.6859 GB, free: 2.902 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.751e-05/0.167, allocations: 28.97 kB / 0.6859 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.167, allocations: 3.984 kB / 0.6859 GB, free: 2.867 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.1671, allocations: 30.56 kB / 0.6859 GB, free: 2.828 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1671, allocations: 15.88 kB / 0.6859 GB, free: 2.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003231/0.1674, allocations: 101.6 kB / 0.686 GB, free: 2.707 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.1675, allocations: 51.41 kB / 0.6861 GB, free: 2.645 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/0.1676, allocations: 135.6 kB / 0.6862 GB, free: 2.504 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.1676, allocations: 25.7 kB / 0.6862 GB, free: 2.473 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.1676, allocations: 92.14 kB / 0.6863 GB, free: 2.379 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.1677, allocations: 23.73 kB / 0.6863 GB, free: 2.355 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.1677, allocations: 21.72 kB / 0.6864 GB, free: 2.328 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.1678, allocations: 322.8 kB / 0.6867 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.22e-05/0.1679, allocations: 19.98 kB / 0.6867 GB, free: 1.984 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.377e-05/0.1679, allocations: 23.98 kB / 0.6867 GB, free: 1.961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.1681, allocations: 52.77 kB / 0.6868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1681, allocations: 384 / 0.6868 GB, free: 1.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002031/0.1683, allocations: 97.58 kB / 0.6869 GB, free: 1.805 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1683, allocations: 11.98 kB / 0.6869 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1683, allocations: 0 / 0.6869 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1684, allocations: 0 / 0.6869 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.1685, allocations: 15.98 kB / 0.6869 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1685, allocations: 0 / 0.6869 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.139e-05/0.1686, allocations: 4 kB / 0.6869 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.1686, allocations: 0 / 0.6869 GB, free: 1.773 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 9.99e-05/0.1687, allocations: 125.7 kB / 0.687 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.1687, allocations: 11.84 kB / 0.687 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.169, allocations: 97.95 kB / 0.6871 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.169, allocations: 0 / 0.6871 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.169, allocations: 4 kB / 0.6871 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.169, allocations: 0 / 0.6871 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.1692, allocations: 189.6 kB / 0.6873 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1692, allocations: 0 / 0.6873 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.322e-05/0.1693, allocations: 16 kB / 0.6873 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1693, allocations: 0 / 0.6873 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1694, allocations: 3.984 kB / 0.6873 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1694, allocations: 0 / 0.6873 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1694, allocations: 3.938 kB / 0.6873 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.1697, allocations: 191.4 kB / 0.6875 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.1697, allocations: 84.95 kB / 0.6876 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.1697, allocations: 11.94 kB / 0.6876 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.257e-05/0.1698, allocations: 0 / 0.6876 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.1699, allocations: 11.98 kB / 0.6876 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.1699, allocations: 192 / 0.6876 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.33e-05/0.17, allocations: 101.3 kB / 0.6877 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.17, allocations: 0 / 0.6877 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.1702, allocations: 24 kB / 0.6877 GB, free: 0.8125 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.0001942/0.1704, allocations: 115.2 kB / 0.6878 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.1706, allocations: 63.84 kB / 0.6879 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1706, allocations: 0 / 0.6879 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.066e-05/0.1707, allocations: 31.97 kB / 0.6879 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.171, allocations: 8 kB / 0.6879 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/0.1714, allocations: 204 kB / 0.6881 GB, free: 372 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2509/0.4224, allocations: 0.6873 MB / 0.6888 GB, free: 17.58 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.392e-05/0.4225, allocations: 4.5 kB / 0.6888 GB, free: 17.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.4225, allocations: 12.67 kB / 0.6888 GB, free: 17.57 MB / 494.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4225, allocations: 0 / 0.6888 GB, free: 17.57 MB / 494.1 MB Notification: Performance of Templates: time 0.003863/0.4264, allocations: 1.095 MB / 0.6899 GB, free: 17.55 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)