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.0009833/0.0009833, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.006314/0.006314, allocations: 174.1 kB / 16.27 MB, free: 6.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.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001853/0.001853, allocations: 274.7 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9324/0.9324, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004001, allocations: 19.98 kB / 0.5987 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1513, allocations: 88.54 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.0005778/0.1519, allocations: 259.4 kB / 0.6854 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001381/0.1521, allocations: 39.7 kB / 0.6854 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.1521, allocations: 0.75 kB / 0.6854 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.1522, allocations: 0 / 0.6854 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.1523, allocations: 13.11 kB / 0.6854 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.422e-05/0.1523, allocations: 0 / 0.6854 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.334e-05/0.1524, allocations: 12 kB / 0.6854 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.1524, allocations: 1.906 kB / 0.6854 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.998e-05/0.1525, allocations: 11.92 kB / 0.6854 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.393e-05/0.1525, allocations: 11.92 kB / 0.6855 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1526, allocations: 0 / 0.6855 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.134e-06/0.1526, allocations: 0 / 0.6855 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.1526, allocations: 8.797 kB / 0.6855 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.1527, allocations: 33.64 kB / 0.6855 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.534e-05/0.1527, allocations: 10.25 kB / 0.6855 GB, free: 14.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1527, allocations: 0 / 0.6855 GB, free: 14.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1527, allocations: 0 / 0.6855 GB, free: 14.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1527, allocations: 0 / 0.6855 GB, free: 14.66 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.0003511/0.1531, allocations: 323.8 kB / 0.6858 GB, free: 14.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1531, allocations: 14.22 kB / 0.6858 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.409e-05/0.1532, allocations: 8.781 kB / 0.6858 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.1533, allocations: 168.4 kB / 0.686 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.61e-06/0.1533, allocations: 384 / 0.686 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1533, allocations: 8.359 kB / 0.686 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.841e-05/0.1534, allocations: 26.86 kB / 0.686 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.1534, allocations: 4.188 kB / 0.686 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.1534, allocations: 8.438 kB / 0.686 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.1534, allocations: 1.438 kB / 0.686 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.691e-05/0.1535, allocations: 7.922 kB / 0.6861 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.1536, allocations: 157.7 kB / 0.6862 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.42e-05/0.1537, allocations: 19.83 kB / 0.6862 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.1537, allocations: 9.672 kB / 0.6862 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.1537, allocations: 0 / 0.6862 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.1537, allocations: 39.22 kB / 0.6863 GB, free: 13.72 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.1537, allocations: 1.719 kB / 0.6863 GB, free: 13.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001173/0.1539, allocations: 57.45 kB / 0.6863 GB, free: 13.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.1539, allocations: 51.41 kB / 0.6864 GB, free: 13.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.955e-05/0.154, allocations: 114.5 kB / 0.6865 GB, free: 13.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.154, allocations: 28.73 kB / 0.6865 GB, free: 13.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.154, allocations: 84.14 kB / 0.6866 GB, free: 13.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.1541, allocations: 0 / 0.6866 GB, free: 13.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/0.1541, allocations: 9.719 kB / 0.6866 GB, free: 13.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.1542, allocations: 314.8 kB / 0.6869 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.1542, allocations: 7.984 kB / 0.6869 GB, free: 13.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.957e-05/0.1542, allocations: 15.22 kB / 0.6869 GB, free: 13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.768e-05/0.1543, allocations: 26.36 kB / 0.6869 GB, free: 12.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1543, allocations: 0.875 kB / 0.687 GB, free: 12.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.288e-05/0.1544, allocations: 49.62 kB / 0.687 GB, free: 12.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1544, allocations: 8.625 kB / 0.687 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1544, allocations: 5.438 kB / 0.687 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.1544, allocations: 0 / 0.687 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.159e-05/0.1545, allocations: 4 kB / 0.687 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.1545, allocations: 0 / 0.687 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.392e-05/0.1545, allocations: 4.469 kB / 0.687 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.1545, allocations: 4 kB / 0.687 GB, free: 12.89 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 6.215e-05/0.1546, allocations: 115.4 kB / 0.6871 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.1546, allocations: 7.938 kB / 0.6871 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.452e-05/0.1547, allocations: 49.16 kB / 0.6872 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.1547, allocations: 0 / 0.6872 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.1547, allocations: 7.938 kB / 0.6872 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.1547, allocations: 0 / 0.6872 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.292e-05/0.1548, allocations: 153.7 kB / 0.6873 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1548, allocations: 0 / 0.6873 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.1549, allocations: 7.984 kB / 0.6873 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1549, allocations: 4.031 kB / 0.6874 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.1549, allocations: 3.938 kB / 0.6874 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1549, allocations: 0 / 0.6874 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1549, allocations: 0 / 0.6874 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.155, allocations: 77.12 kB / 0.6874 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.1551, allocations: 85 kB / 0.6875 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.1551, allocations: 11.91 kB / 0.6875 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.989e-05/0.1551, allocations: 4.094 kB / 0.6875 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.1551, allocations: 0 / 0.6875 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1551, allocations: 4.234 kB / 0.6875 GB, free: 12.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.356e-05/0.1552, allocations: 95.27 kB / 0.6876 GB, free: 12.17 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1552, allocations: 3.938 kB / 0.6876 GB, free: 12.17 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001849/0.1554, allocations: 4 kB / 0.6876 GB, free: 12.16 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 8.073e-05/0.1555, allocations: 91.25 kB / 0.6877 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.114e-05/0.1556, allocations: 19.98 kB / 0.6877 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1556, allocations: 0 / 0.6877 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.358e-05/0.1556, allocations: 8 kB / 0.6877 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.1557, allocations: 0 / 0.6877 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002141/0.1559, allocations: 128.8 kB / 0.6879 GB, free: 11.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.1562, allocations: 0.677 MB / 0.6885 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.609e-05/0.1562, allocations: 7.984 kB / 0.6885 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.825e-05/0.1562, allocations: 11.62 kB / 0.6885 GB, free: 11.16 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.1562, allocations: 0 / 0.6885 GB, free: 11.16 MB / 494.1 MB Notification: Performance of Templates: time 0.001867/0.1581, allocations: 292.7 kB / 0.6888 GB, free: 10.88 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)