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.0008697/0.0008697, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008896/0.0008897, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.188/1.188, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.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.8702/0.8702, allocations: 143.2 MB / 434.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.0002806, allocations: 8 kB / 0.5158 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 83.41 MB / 0.5972 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.001423/0.1352, allocations: 1.237 MB / 0.5985 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002716/0.1355, allocations: 112.5 kB / 0.5986 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.087e-05/0.1355, allocations: 0 / 0.5986 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.563e-05/0.1356, allocations: 7.938 kB / 0.5986 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.895e-05/0.1357, allocations: 7.938 kB / 0.5986 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.1358, allocations: 27.95 kB / 0.5986 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.49e-05/0.1359, allocations: 47.84 kB / 0.5986 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.531e-05/0.136, allocations: 19.98 kB / 0.5987 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.153e-05/0.1361, allocations: 19.92 kB / 0.5987 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.1362, allocations: 23.91 kB / 0.5987 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.1362, allocations: 0 / 0.5987 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.546e-05/0.1362, allocations: 11.94 kB / 0.5987 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.814e-05/0.1363, allocations: 19.92 kB / 0.5987 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.1363, allocations: 29.7 kB / 0.5988 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.337e-05/0.1364, allocations: 35.92 kB / 0.5988 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.1364, allocations: 4 kB / 0.5988 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.175e-06/0.1364, allocations: 0 / 0.5988 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.1364, allocations: 3.938 kB / 0.5988 GB, free: 6.477 MB / 0.4981 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.0004736/0.1369, allocations: 383.4 kB / 0.5992 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.1369, allocations: 12.03 kB / 0.5992 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.137, allocations: 7.953 kB / 0.5992 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.1371, allocations: 186.8 kB / 0.5994 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1371, allocations: 4 kB / 0.5994 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.1372, allocations: 0 / 0.5994 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.1374, allocations: 101.6 kB / 0.5995 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1374, allocations: 3.938 kB / 0.5995 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1374, allocations: 0 / 0.5995 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1375, allocations: 7.938 kB / 0.5995 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.1377, allocations: 107.8 kB / 0.5996 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.1382, allocations: 336.6 kB / 0.5999 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.1384, allocations: 74.53 kB / 0.6 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.1386, allocations: 48.92 kB / 0.6 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.1386, allocations: 7.984 kB / 0.6 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.1386, allocations: 42.5 kB / 0.6001 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1386, allocations: 0 / 0.6001 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005007/0.1391, allocations: 169.6 kB / 0.6002 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.1392, allocations: 55.41 kB / 0.6003 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.428e-05/0.1393, allocations: 117.8 kB / 0.6004 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.1393, allocations: 25.7 kB / 0.6004 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.1393, allocations: 99.97 kB / 0.6005 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.1394, allocations: 7.906 kB / 0.6005 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.1394, allocations: 0 / 0.6005 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.1395, allocations: 314.8 kB / 0.6008 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.1396, allocations: 47.95 kB / 0.6009 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.1398, allocations: 47.95 kB / 0.6009 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.1399, allocations: 43.97 kB / 0.601 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1399, allocations: 0 / 0.601 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003076/0.1402, allocations: 129.5 kB / 0.6011 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1402, allocations: 10.03 kB / 0.6011 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1402, allocations: 3.953 kB / 0.6011 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1403, allocations: 0 / 0.6011 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.1404, allocations: 23.98 kB / 0.6011 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1404, allocations: 0 / 0.6011 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.103e-05/0.1405, allocations: 15.98 kB / 0.6011 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.1405, allocations: 3.984 kB / 0.6011 GB, free: 3.871 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.628e-05/0.1406, allocations: 113.8 kB / 0.6013 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.1406, allocations: 7.906 kB / 0.6013 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/0.1409, allocations: 141.5 kB / 0.6014 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.141, allocations: 3.953 kB / 0.6014 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.141, allocations: 7.938 kB / 0.6014 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.141, allocations: 0 / 0.6014 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.1411, allocations: 181.6 kB / 0.6016 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1411, allocations: 0 / 0.6016 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.964e-05/0.1412, allocations: 19.98 kB / 0.6016 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1412, allocations: 0 / 0.6016 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.1413, allocations: 0 / 0.6016 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1413, allocations: 4 kB / 0.6016 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1413, allocations: 3.953 kB / 0.6016 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000331/0.1416, allocations: 219.5 kB / 0.6018 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.1416, allocations: 88.95 kB / 0.6019 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.1417, allocations: 0 / 0.6019 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-05/0.1418, allocations: 19.97 kB / 0.6019 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.1418, allocations: 7.953 kB / 0.6019 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.1418, allocations: 8 kB / 0.6019 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.162e-05/0.1419, allocations: 91.27 kB / 0.602 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1419, allocations: 0 / 0.602 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002075/0.1421, allocations: 11.94 kB / 0.602 GB, free: 2.852 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00013/0.1422, allocations: 99.19 kB / 0.6021 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000308/0.1425, allocations: 100.3 kB / 0.6022 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.1425, allocations: 0 / 0.6022 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.1427, allocations: 55.95 kB / 0.6023 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.143, allocations: 4 kB / 0.6023 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.1433, allocations: 164.8 kB / 0.6024 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.1435, allocations: 0.6964 MB / 0.6031 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.927e-05/0.1435, allocations: 8.172 kB / 0.6031 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.1436, allocations: 11.44 kB / 0.6031 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1436, allocations: 0 / 0.6031 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.002598/0.1462, allocations: 0.6181 MB / 0.6037 GB, free: 1.051 MB / 0.4981 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)