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.004386/0.004386, allocations: 101.3 kB / 15.88 MB, free: 5.863 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.001128/0.001129, allocations: 191 kB / 16.79 MB, free: 5.805 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.313/1.313, allocations: 222.9 MB / 240.5 MB, free: 4.535 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.9289/0.9289, allocations: 143.1 MB / 433.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.91 kB / 0.5141 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1442, allocations: 82.04 MB / 0.5943 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.00252/0.1467, allocations: 1.607 MB / 0.5958 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003144/0.1471, allocations: 112.5 kB / 0.5959 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.1471, allocations: 0 / 0.5959 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.1473, allocations: 3.938 kB / 0.5959 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.322e-05/0.1473, allocations: 7.938 kB / 0.5959 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.1475, allocations: 27.95 kB / 0.596 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.209e-05/0.1476, allocations: 55.78 kB / 0.596 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.764e-05/0.1477, allocations: 23.98 kB / 0.596 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.74e-05/0.1477, allocations: 23.92 kB / 0.5961 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.076e-05/0.1478, allocations: 27.91 kB / 0.5961 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1478, allocations: 0 / 0.5961 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.033e-05/0.1479, allocations: 8 kB / 0.5961 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/0.1479, allocations: 19.91 kB / 0.5961 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.148, allocations: 23.88 kB / 0.5961 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.56e-05/0.1481, allocations: 39.94 kB / 0.5962 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1481, allocations: 0 / 0.5962 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.51e-07/0.1481, allocations: 0 / 0.5962 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.1481, allocations: 0 / 0.5962 GB, free: 7.992 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.0005081/0.1486, allocations: 385.8 kB / 0.5966 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.1486, allocations: 8.031 kB / 0.5966 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.1487, allocations: 8.844 kB / 0.5966 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.1488, allocations: 192.1 kB / 0.5968 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-06/0.1489, allocations: 4.375 kB / 0.5968 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.1489, allocations: 4.375 kB / 0.5968 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.1491, allocations: 86.2 kB / 0.5968 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.1492, allocations: 192 / 0.5968 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1492, allocations: 3.938 kB / 0.5968 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1492, allocations: 0 / 0.5968 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.1495, allocations: 91.84 kB / 0.5969 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.15, allocations: 328.6 kB / 0.5972 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.1502, allocations: 70.56 kB / 0.5973 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.1504, allocations: 32.92 kB / 0.5973 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.1504, allocations: 4 kB / 0.5974 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1504, allocations: 34.55 kB / 0.5974 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.1504, allocations: 0 / 0.5974 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005403/0.151, allocations: 137.6 kB / 0.5975 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.151, allocations: 55.41 kB / 0.5976 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.051e-05/0.1511, allocations: 113.8 kB / 0.5977 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1511, allocations: 29.64 kB / 0.5977 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.67e-05/0.1512, allocations: 104 kB / 0.5978 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.1512, allocations: 7.844 kB / 0.5978 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.1513, allocations: 17.72 kB / 0.5978 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1514, allocations: 318.8 kB / 0.5981 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.1515, allocations: 31.97 kB / 0.5982 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.1517, allocations: 40.14 kB / 0.5982 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.152, allocations: 76.86 kB / 0.5983 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.152, allocations: 0 / 0.5983 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003293/0.1523, allocations: 101.5 kB / 0.5984 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1523, allocations: 7.984 kB / 0.5984 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1524, allocations: 4 kB / 0.5984 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.1524, allocations: 0 / 0.5984 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1525, allocations: 19.92 kB / 0.5984 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.1525, allocations: 0 / 0.5984 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.881e-05/0.1526, allocations: 15.98 kB / 0.5984 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.1526, allocations: 0 / 0.5984 GB, free: 5.48 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.795e-05/0.1527, allocations: 117.8 kB / 0.5985 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.1527, allocations: 8 kB / 0.5985 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.1531, allocations: 109.5 kB / 0.5986 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1531, allocations: 4 kB / 0.5986 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1531, allocations: 0 / 0.5986 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1531, allocations: 0 / 0.5986 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.1533, allocations: 181.5 kB / 0.5988 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1533, allocations: 0 / 0.5988 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.1534, allocations: 27.91 kB / 0.5988 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1534, allocations: 0 / 0.5988 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1534, allocations: 0 / 0.5988 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1534, allocations: 0 / 0.5988 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1535, allocations: 0 / 0.5988 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.1538, allocations: 203.4 kB / 0.599 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.1539, allocations: 85.02 kB / 0.5991 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.1539, allocations: 0 / 0.5991 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.154, allocations: 11.92 kB / 0.5991 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.1541, allocations: 11.98 kB / 0.5991 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.1541, allocations: 4 kB / 0.5991 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.665e-05/0.1541, allocations: 95.2 kB / 0.5992 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1541, allocations: 0 / 0.5992 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002273/0.1544, allocations: 19.94 kB / 0.5993 GB, free: 4.512 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 (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.0001332/0.1545, allocations: 99.19 kB / 0.5994 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003401/0.1548, allocations: 83.84 kB / 0.5994 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1549, allocations: 0 / 0.5994 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.155, allocations: 39.97 kB / 0.5995 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.1553, allocations: 4 kB / 0.5995 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.1556, allocations: 189 kB / 0.5997 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.1559, allocations: 0.6926 MB / 0.6003 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.1559, allocations: 11.44 kB / 0.6003 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1559, allocations: 0 / 0.6003 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of Templates: time 0.002143/0.1581, allocations: 0.9363 MB / 0.6013 GB, free: 2.406 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)