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.00115/0.00115, allocations: 105.7 kB / 16.41 MB, free: 6.504 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.001172/0.001172, allocations: 187 kB / 17.34 MB, free: 5.742 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.197/1.197, allocations: 222.9 MB / 241 MB, free: 15.15 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.7806/0.7806, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 68.73 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1279, allocations: 82.03 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002454/0.1303, allocations: 1.536 MB / 0.6778 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003132/0.1307, allocations: 112.5 kB / 0.6779 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.062e-05/0.1308, allocations: 4 kB / 0.6779 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.1309, allocations: 7.922 kB / 0.6779 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.502e-05/0.131, allocations: 11.86 kB / 0.6779 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.1313, allocations: 27.97 kB / 0.678 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.1315, allocations: 59.78 kB / 0.678 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.1316, allocations: 23.98 kB / 0.678 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.705e-05/0.1317, allocations: 23.92 kB / 0.6781 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.999e-05/0.1318, allocations: 39.77 kB / 0.6781 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.1318, allocations: 4 kB / 0.6781 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.722e-05/0.1319, allocations: 12 kB / 0.6781 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.083e-05/0.132, allocations: 11.98 kB / 0.6781 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.349e-05/0.132, allocations: 27.8 kB / 0.6782 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.1322, allocations: 59.8 kB / 0.6782 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1322, allocations: 4 kB / 0.6782 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1322, allocations: 4 kB / 0.6782 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.1322, allocations: 0 / 0.6782 GB, free: 8.363 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.0006601/0.1329, allocations: 375.3 kB / 0.6786 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.133, allocations: 8.031 kB / 0.6786 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.133, allocations: 8.844 kB / 0.6786 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.1332, allocations: 188.2 kB / 0.6788 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.1332, allocations: 384 / 0.6788 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.1332, allocations: 12.38 kB / 0.6788 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.1335, allocations: 82.2 kB / 0.6789 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1335, allocations: 192 / 0.6789 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.1336, allocations: 7.938 kB / 0.6789 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1336, allocations: 0 / 0.6789 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.1339, allocations: 87.84 kB / 0.679 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.1344, allocations: 324.7 kB / 0.6793 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.1346, allocations: 62.56 kB / 0.6793 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.1347, allocations: 44.86 kB / 0.6794 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.1348, allocations: 7.984 kB / 0.6794 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.1348, allocations: 34.55 kB / 0.6794 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1348, allocations: 0 / 0.6794 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005286/0.1353, allocations: 141.5 kB / 0.6795 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.1354, allocations: 51.41 kB / 0.6796 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.494e-05/0.1355, allocations: 113.8 kB / 0.6797 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.1355, allocations: 25.7 kB / 0.6797 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.1355, allocations: 99.97 kB / 0.6798 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.1355, allocations: 7.906 kB / 0.6798 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.1356, allocations: 17.72 kB / 0.6799 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.188e-05/0.1357, allocations: 326.7 kB / 0.6802 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.1358, allocations: 31.97 kB / 0.6802 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.136, allocations: 31.95 kB / 0.6802 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.1363, allocations: 84.72 kB / 0.6803 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1363, allocations: 0 / 0.6803 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003336/0.1366, allocations: 97.61 kB / 0.6804 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1367, allocations: 9.719 kB / 0.6804 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1367, allocations: 0 / 0.6804 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1367, allocations: 0 / 0.6804 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.1368, allocations: 15.98 kB / 0.6804 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1369, allocations: 7.938 kB / 0.6804 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.1369, allocations: 15.89 kB / 0.6804 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.137, allocations: 0 / 0.6804 GB, free: 5.863 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 9.616e-05/0.1371, allocations: 122.6 kB / 0.6806 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.1371, allocations: 0 / 0.6806 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.1375, allocations: 113.5 kB / 0.6807 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1375, allocations: 0 / 0.6807 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1375, allocations: 0 / 0.6807 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1375, allocations: 3.984 kB / 0.6807 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.1377, allocations: 185.6 kB / 0.6808 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.1377, allocations: 3.984 kB / 0.6809 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.223e-05/0.1378, allocations: 15.92 kB / 0.6809 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1378, allocations: 0 / 0.6809 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1378, allocations: 4 kB / 0.6809 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1378, allocations: 7.938 kB / 0.6809 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1378, allocations: 0 / 0.6809 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.1382, allocations: 203.3 kB / 0.6811 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.1382, allocations: 81.05 kB / 0.6812 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.1382, allocations: 0 / 0.6812 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1384, allocations: 15.98 kB / 0.6812 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.1384, allocations: 8.406 kB / 0.6812 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1384, allocations: 8 kB / 0.6812 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.884e-05/0.1385, allocations: 91.27 kB / 0.6813 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.8e-07/0.1385, allocations: 0 / 0.6813 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002171/0.1387, allocations: 11.91 kB / 0.6813 GB, free: 4.902 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.0001088/0.1388, allocations: 103.2 kB / 0.6814 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003414/0.1392, allocations: 87.83 kB / 0.6815 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1392, allocations: 0 / 0.6815 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.1393, allocations: 39.97 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.0002569/0.1396, allocations: 3.984 kB / 0.6815 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.1399, allocations: 183.2 kB / 0.6817 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.1402, allocations: 0.6892 MB / 0.6824 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.1402, allocations: 15.38 kB / 0.6824 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.1402, allocations: 0 / 0.6824 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of Templates: time 0.002095/0.1423, allocations: 0.9452 MB / 0.6833 GB, free: 2.781 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)