Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 105.7 kB / 16.41 MB, free: 6.445 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.001796/0.001796, allocations: 187 kB / 17.34 MB, free: 5.711 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8957/0.8957, allocations: 143.1 MB / 434.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 64.16 kB / 0.5962 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1587, allocations: 82.02 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.00283/0.1615, allocations: 1.554 MB / 0.6778 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003231/0.1618, allocations: 112.5 kB / 0.6779 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.753e-05/0.1619, allocations: 0 / 0.6779 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.162, allocations: 7.875 kB / 0.6779 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.442e-05/0.162, allocations: 7.922 kB / 0.6779 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.1622, allocations: 31.95 kB / 0.678 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.1623, allocations: 55.78 kB / 0.678 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1624, allocations: 19.98 kB / 0.6781 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.26e-05/0.1625, allocations: 27.91 kB / 0.6781 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.447e-05/0.1626, allocations: 31.84 kB / 0.6781 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.1626, allocations: 4 kB / 0.6781 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.677e-05/0.1626, allocations: 12 kB / 0.6781 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.983e-05/0.1627, allocations: 11.98 kB / 0.6781 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.355e-05/0.1627, allocations: 31.8 kB / 0.6782 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.1629, allocations: 67.67 kB / 0.6782 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1629, allocations: 0 / 0.6782 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1629, allocations: 0 / 0.6782 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.1629, allocations: 0 / 0.6782 GB, free: 8.359 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005922/0.1635, allocations: 383.1 kB / 0.6786 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1635, allocations: 12.03 kB / 0.6786 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.1635, allocations: 0.9375 kB / 0.6786 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.1638, allocations: 180.3 kB / 0.6788 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1638, allocations: 8.375 kB / 0.6788 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.1638, allocations: 384 / 0.6788 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.1641, allocations: 98.06 kB / 0.6789 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.1641, allocations: 192 / 0.6789 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1641, allocations: 3.938 kB / 0.6789 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-06/0.1641, allocations: 7.938 kB / 0.6789 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003088/0.1644, allocations: 79.92 kB / 0.679 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005682/0.165, allocations: 332.6 kB / 0.6793 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.1652, allocations: 50.55 kB / 0.6793 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.1654, allocations: 44.91 kB / 0.6794 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.1654, allocations: 8 kB / 0.6794 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.1654, allocations: 30.56 kB / 0.6794 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1654, allocations: 0 / 0.6794 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005569/0.166, allocations: 141.6 kB / 0.6795 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.166, allocations: 55.39 kB / 0.6796 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1661, allocations: 121.8 kB / 0.6797 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1662, allocations: 25.7 kB / 0.6797 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.1662, allocations: 92.09 kB / 0.6798 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.1662, allocations: 11.94 kB / 0.6798 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.1663, allocations: 13.72 kB / 0.6799 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1664, allocations: 322.8 kB / 0.6802 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.1666, allocations: 35.95 kB / 0.6802 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.1667, allocations: 31.95 kB / 0.6802 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.167, allocations: 76.78 kB / 0.6803 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.167, allocations: 0 / 0.6803 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003313/0.1673, allocations: 105.5 kB / 0.6804 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1674, allocations: 4 kB / 0.6804 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1674, allocations: 0 / 0.6804 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1674, allocations: 0 / 0.6804 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.1675, allocations: 27.97 kB / 0.6804 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1675, allocations: 0 / 0.6804 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.835e-05/0.1676, allocations: 16.25 kB / 0.6804 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.1676, allocations: 0 / 0.6804 GB, free: 5.859 MB / 0.5137 GB 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 (3): * Single equations (assignments): 3 * 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 0.0001056/0.1677, allocations: 118.7 kB / 0.6806 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.1678, allocations: 7.984 kB / 0.6806 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003868/0.1682, allocations: 121.4 kB / 0.6807 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1682, allocations: 0 / 0.6807 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1682, allocations: 3.938 kB / 0.6807 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1682, allocations: 4 kB / 0.6807 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.1684, allocations: 185.6 kB / 0.6809 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1684, allocations: 0 / 0.6809 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.1685, allocations: 15.97 kB / 0.6809 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1685, allocations: 7.938 kB / 0.6809 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.1685, allocations: 4 kB / 0.6809 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1685, allocations: 0 / 0.6809 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1685, allocations: 0 / 0.6809 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.1689, allocations: 203.3 kB / 0.6811 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.1689, allocations: 81.06 kB / 0.6812 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.169, allocations: 12 kB / 0.6812 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1691, allocations: 7.984 kB / 0.6812 GB, free: 5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.1691, allocations: 7.984 kB / 0.6812 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.1691, allocations: 0 / 0.6812 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.623e-05/0.1692, allocations: 87.28 kB / 0.6813 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1692, allocations: 0 / 0.6813 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002336/0.1694, allocations: 15.98 kB / 0.6813 GB, free: 4.891 MB / 0.5137 GB 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 (3): * Single equations (assignments): 3 * 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.0001728/0.1696, allocations: 107.2 kB / 0.6814 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003675/0.1699, allocations: 71.92 kB / 0.6815 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1699, allocations: 0 / 0.6815 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.1701, allocations: 39.89 kB / 0.6815 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.1704, allocations: 9.875 kB / 0.6815 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004032/0.1708, allocations: 187 kB / 0.6817 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.1712, allocations: 0.6885 MB / 0.6824 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.1712, allocations: 7.438 kB / 0.6824 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.1712, allocations: 0 / 0.6824 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of Templates: time 0.002652/0.1738, allocations: 0.948 MB / 0.6833 GB, free: 2.777 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)