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.001487/0.001487, allocations: 116.4 kB / 16.42 MB, free: 6.496 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.001688/0.001688, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.32/1.32, 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.8452/0.8452, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 68.78 kB / 0.5962 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1408, 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.002523/0.1434, allocations: 1.536 MB / 0.6778 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003017/0.1437, allocations: 108.5 kB / 0.6779 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.338e-05/0.1437, allocations: 4 kB / 0.6779 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.1439, allocations: 15.92 kB / 0.6779 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.705e-05/0.1439, allocations: 7.875 kB / 0.6779 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.1441, allocations: 31.91 kB / 0.678 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.068e-05/0.1442, allocations: 55.83 kB / 0.678 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1443, allocations: 27.98 kB / 0.6781 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.415e-05/0.1444, allocations: 23.91 kB / 0.6781 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.902e-05/0.1445, allocations: 27.86 kB / 0.6781 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1445, allocations: 8 kB / 0.6781 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.812e-05/0.1445, allocations: 15.98 kB / 0.6781 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.1446, allocations: 11.98 kB / 0.6781 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.1446, allocations: 23.81 kB / 0.6782 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.1448, allocations: 63.78 kB / 0.6782 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1448, allocations: 0 / 0.6782 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1448, allocations: 0 / 0.6782 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.1448, allocations: 4 kB / 0.6782 GB, free: 8.367 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.0004705/0.1453, allocations: 375.3 kB / 0.6786 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1453, allocations: 12.02 kB / 0.6786 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.1453, allocations: 8.844 kB / 0.6786 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.1455, allocations: 180.2 kB / 0.6788 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1455, allocations: 4.375 kB / 0.6788 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1455, allocations: 4.375 kB / 0.6788 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.1458, allocations: 90.19 kB / 0.6789 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1458, allocations: 192 / 0.6789 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1458, allocations: 7.875 kB / 0.6789 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1458, allocations: 4 kB / 0.6789 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.1461, allocations: 83.84 kB / 0.679 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.1466, allocations: 328.7 kB / 0.6793 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.1469, allocations: 66.5 kB / 0.6793 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.147, allocations: 44.91 kB / 0.6794 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.1471, allocations: 4 kB / 0.6794 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.1471, allocations: 30.56 kB / 0.6794 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.1471, allocations: 4 kB / 0.6794 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.000536/0.1476, allocations: 133.5 kB / 0.6795 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.1477, allocations: 59.34 kB / 0.6796 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.14e-05/0.1478, allocations: 113.8 kB / 0.6797 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.1478, allocations: 25.7 kB / 0.6797 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.1478, allocations: 99.97 kB / 0.6798 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.1479, allocations: 7.906 kB / 0.6798 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.1479, allocations: 13.72 kB / 0.6799 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.148, allocations: 326.8 kB / 0.6802 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.1482, allocations: 31.97 kB / 0.6802 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.1483, allocations: 35.95 kB / 0.6802 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.1486, allocations: 72.78 kB / 0.6803 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1486, allocations: 0 / 0.6803 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003222/0.1489, allocations: 113.5 kB / 0.6804 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.149, allocations: 4 kB / 0.6804 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.149, allocations: 0 / 0.6804 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.149, allocations: 4 kB / 0.6804 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1491, allocations: 11.98 kB / 0.6804 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.1491, allocations: 3.984 kB / 0.6804 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.838e-05/0.1492, allocations: 23.88 kB / 0.6805 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.1492, allocations: 0 / 0.6805 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 7.582e-05/0.1493, allocations: 118.7 kB / 0.6806 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.1493, allocations: 4 kB / 0.6806 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/0.1497, allocations: 113.5 kB / 0.6807 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1497, allocations: 4 kB / 0.6807 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1497, allocations: 0 / 0.6807 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.1498, allocations: 81.39 kB / 0.6808 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1498, allocations: 3.938 kB / 0.6808 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.1499, allocations: 19.86 kB / 0.6808 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.1499, allocations: 11.98 kB / 0.6808 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003956/0.1503, allocations: 188.9 kB / 0.681 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003881/0.1507, allocations: 270.8 kB / 0.6812 GB, free: 5 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001524/0.1509, allocations: 43.91 kB / 0.6813 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.645e-05/0.151, allocations: 99.2 kB / 0.6814 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of Backend: time 3.11e-07/0.151, allocations: 0 / 0.6814 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004793/0.1514, allocations: 113 kB / 0.6815 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0004796/0.1519, allocations: 0.5997 MB / 0.6821 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of Templates: time 0.003096/0.155, allocations: 0.9765 MB / 0.683 GB, free: 3.129 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)