Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001359/0.001359, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.281/1.281, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002193/0.002193, allocations: 291.5 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9258/0.9258, allocations: 169.3 MB / 0.4988 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002022, allocations: 89.61 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1594, allocations: 86.99 MB / 0.6808 GB, free: 8.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.00177/0.1612, allocations: 0.5091 MB / 0.6813 GB, free: 7.652 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001665/0.1614, allocations: 51.8 kB / 0.6814 GB, free: 7.602 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.866e-05/0.1614, allocations: 4 kB / 0.6814 GB, free: 7.598 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.1615, allocations: 0 / 0.6814 GB, free: 7.598 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.1616, allocations: 3.938 kB / 0.6814 GB, free: 7.594 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.513e-05/0.1617, allocations: 3.984 kB / 0.6814 GB, free: 7.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.031e-05/0.1617, allocations: 23.92 kB / 0.6814 GB, free: 7.566 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.084e-05/0.1618, allocations: 0 / 0.6814 GB, free: 7.566 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.743e-05/0.1618, allocations: 4 kB / 0.6814 GB, free: 7.562 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.717e-05/0.1619, allocations: 11.92 kB / 0.6814 GB, free: 7.551 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1619, allocations: 0 / 0.6814 GB, free: 7.551 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-06/0.1619, allocations: 4 kB / 0.6814 GB, free: 7.547 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.162, allocations: 4 kB / 0.6814 GB, free: 7.543 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.162, allocations: 7.938 kB / 0.6815 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.285e-05/0.1621, allocations: 11.97 kB / 0.6815 GB, free: 7.523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1621, allocations: 3.938 kB / 0.6815 GB, free: 7.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1621, allocations: 0 / 0.6815 GB, free: 7.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.1621, allocations: 0 / 0.6815 GB, free: 7.52 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004124/0.1625, allocations: 335.7 kB / 0.6818 GB, free: 7.141 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.1626, allocations: 12.03 kB / 0.6818 GB, free: 7.129 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.1626, allocations: 4.938 kB / 0.6818 GB, free: 7.125 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.1628, allocations: 168.3 kB / 0.682 GB, free: 6.922 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.1628, allocations: 384 / 0.682 GB, free: 6.922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.1628, allocations: 4.375 kB / 0.682 GB, free: 6.918 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.294e-05/0.1629, allocations: 34.19 kB / 0.682 GB, free: 6.879 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.1629, allocations: 192 / 0.682 GB, free: 6.879 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.1629, allocations: 7.938 kB / 0.682 GB, free: 6.871 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1629, allocations: 0 / 0.682 GB, free: 6.871 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.753e-05/0.1629, allocations: 0 / 0.682 GB, free: 6.871 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.1631, allocations: 157.7 kB / 0.6822 GB, free: 6.668 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.11e-05/0.1632, allocations: 26.59 kB / 0.6822 GB, free: 6.633 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.1632, allocations: 8.922 kB / 0.6822 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.1632, allocations: 0 / 0.6822 GB, free: 6.621 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1632, allocations: 34.5 kB / 0.6822 GB, free: 6.578 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.1632, allocations: 0 / 0.6822 GB, free: 6.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001413/0.1634, allocations: 49.62 kB / 0.6823 GB, free: 6.523 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.1634, allocations: 59.42 kB / 0.6823 GB, free: 6.453 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.1635, allocations: 113.8 kB / 0.6824 GB, free: 6.332 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.1636, allocations: 25.7 kB / 0.6825 GB, free: 6.301 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.1636, allocations: 84.14 kB / 0.6825 GB, free: 6.215 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.1636, allocations: 0 / 0.6825 GB, free: 6.215 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.1637, allocations: 13.72 kB / 0.6826 GB, free: 6.195 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1638, allocations: 314.8 kB / 0.6829 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.1638, allocations: 11.98 kB / 0.6829 GB, free: 5.867 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.1638, allocations: 17.66 kB / 0.6829 GB, free: 5.844 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.288e-05/0.1639, allocations: 25.7 kB / 0.6829 GB, free: 5.812 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1639, allocations: 0 / 0.6829 GB, free: 5.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.186e-05/0.164, allocations: 49.53 kB / 0.683 GB, free: 5.758 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.164, allocations: 4 kB / 0.683 GB, free: 5.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.164, allocations: 8.062 kB / 0.683 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.164, allocations: 0 / 0.683 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.285e-05/0.1641, allocations: 4 kB / 0.683 GB, free: 5.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.1641, allocations: 4 kB / 0.683 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.197e-05/0.1641, allocations: 0 / 0.683 GB, free: 5.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1641, allocations: 0 / 0.683 GB, free: 5.738 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.662e-05/0.1642, allocations: 117.8 kB / 0.6831 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.1642, allocations: 0 / 0.6831 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.1643, allocations: 68.97 kB / 0.6832 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1643, allocations: 0 / 0.6832 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1644, allocations: 0 / 0.6832 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1644, allocations: 0 / 0.6832 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.1645, allocations: 149.7 kB / 0.6833 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1645, allocations: 0 / 0.6833 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.936e-05/0.1645, allocations: 11.98 kB / 0.6833 GB, free: 5.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1645, allocations: 0 / 0.6833 GB, free: 5.332 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1646, allocations: 7.938 kB / 0.6833 GB, free: 5.324 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1646, allocations: 0 / 0.6833 GB, free: 5.324 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1646, allocations: 0 / 0.6833 GB, free: 5.324 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.1647, allocations: 81.05 kB / 0.6834 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.1648, allocations: 85.08 kB / 0.6835 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.1648, allocations: 3.938 kB / 0.6835 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.981e-05/0.1648, allocations: 0 / 0.6835 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.1648, allocations: 0 / 0.6835 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.1648, allocations: 4.25 kB / 0.6835 GB, free: 5.117 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.248e-05/0.1649, allocations: 91.27 kB / 0.6836 GB, free: 5.027 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1649, allocations: 4.094 kB / 0.6836 GB, free: 5.023 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001743/0.1651, allocations: 4 kB / 0.6836 GB, free: 5.02 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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 9.663e-05/0.1652, allocations: 95.25 kB / 0.6837 GB, free: 4.918 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.983e-05/0.1653, allocations: 19.98 kB / 0.6837 GB, free: 4.898 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1653, allocations: 0 / 0.6837 GB, free: 4.898 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.582e-05/0.1653, allocations: 11.94 kB / 0.6837 GB, free: 4.887 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.1654, allocations: 7.969 kB / 0.6837 GB, free: 4.879 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.1657, allocations: 143.4 kB / 0.6838 GB, free: 4.707 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.166, allocations: 0.6807 MB / 0.6845 GB, free: 4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.166, allocations: 7.438 kB / 0.6845 GB, free: 3.992 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.166, allocations: 0 / 0.6845 GB, free: 3.992 MB / 494.1 MB Notification: Performance of Templates: time 0.00162/0.1676, allocations: 0.5114 MB / 0.685 GB, free: 3.48 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)