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.00103/0.00103, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.339/1.339, allocations: 223.3 MB / 241 MB, free: 5.348 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.9746/0.9746, allocations: 143.2 MB / 435.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003182, allocations: 12 kB / 0.517 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1619, allocations: 83.42 MB / 0.5985 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.001609/0.1636, allocations: 1.252 MB / 0.5997 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003156/0.1639, allocations: 112.5 kB / 0.5998 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.164, allocations: 0 / 0.5998 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.1641, allocations: 15.92 kB / 0.5999 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.268e-05/0.1641, allocations: 3.938 kB / 0.5999 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.1643, allocations: 23.97 kB / 0.5999 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.092e-05/0.1644, allocations: 51.84 kB / 0.5999 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1645, allocations: 20 kB / 0.6 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.897e-05/0.1646, allocations: 23.91 kB / 0.6 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.1646, allocations: 27.84 kB / 0.6 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.1646, allocations: 0 / 0.6 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.276e-05/0.1647, allocations: 8 kB / 0.6 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.733e-05/0.1648, allocations: 15.92 kB / 0.6 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.1648, allocations: 49.5 kB / 0.6001 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.734e-05/0.1649, allocations: 39.92 kB / 0.6001 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1649, allocations: 0 / 0.6001 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1649, allocations: 0 / 0.6001 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.1649, allocations: 0 / 0.6001 GB, free: 6.039 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.0005076/0.1654, allocations: 387.6 kB / 0.6005 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1655, allocations: 8.031 kB / 0.6005 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.1655, allocations: 4.938 kB / 0.6005 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.1657, allocations: 184.2 kB / 0.6007 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1657, allocations: 8.375 kB / 0.6007 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.1657, allocations: 4.375 kB / 0.6007 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.166, allocations: 102.1 kB / 0.6008 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.166, allocations: 192 / 0.6008 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1661, allocations: 3.938 kB / 0.6008 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1661, allocations: 8 kB / 0.6008 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.1664, allocations: 99.92 kB / 0.6009 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.1669, allocations: 340.6 kB / 0.6012 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.1671, allocations: 66.55 kB / 0.6013 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.1673, allocations: 52.91 kB / 0.6013 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.1674, allocations: 0 / 0.6013 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.1674, allocations: 42.59 kB / 0.6014 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.1674, allocations: 0 / 0.6014 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005827/0.168, allocations: 169.5 kB / 0.6015 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.168, allocations: 51.41 kB / 0.6016 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.431e-05/0.1681, allocations: 121.8 kB / 0.6017 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1681, allocations: 25.7 kB / 0.6017 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.1682, allocations: 92.08 kB / 0.6018 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.1682, allocations: 11.8 kB / 0.6018 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.1682, allocations: 13.72 kB / 0.6018 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1684, allocations: 322.8 kB / 0.6021 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.1685, allocations: 43.95 kB / 0.6022 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.1687, allocations: 43.97 kB / 0.6022 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.169, allocations: 105 kB / 0.6023 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.169, allocations: 0 / 0.6023 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003472/0.1693, allocations: 129.5 kB / 0.6024 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1694, allocations: 4 kB / 0.6024 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.1694, allocations: 3.938 kB / 0.6024 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1694, allocations: 0 / 0.6024 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1695, allocations: 31.97 kB / 0.6025 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1695, allocations: 0 / 0.6025 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.229e-05/0.1696, allocations: 15.98 kB / 0.6025 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.1697, allocations: 0 / 0.6025 GB, free: 3.367 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.277e-05/0.1697, allocations: 121.7 kB / 0.6026 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.1698, allocations: 7.906 kB / 0.6026 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/0.1702, allocations: 137.5 kB / 0.6027 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1702, allocations: 4 kB / 0.6028 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1702, allocations: 0 / 0.6028 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1702, allocations: 0 / 0.6028 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.1704, allocations: 181.6 kB / 0.6029 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1704, allocations: 0 / 0.6029 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.752e-05/0.1705, allocations: 19.98 kB / 0.6029 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1705, allocations: 0 / 0.6029 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.1705, allocations: 0 / 0.6029 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1705, allocations: 7.984 kB / 0.603 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1705, allocations: 4 kB / 0.603 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003887/0.1709, allocations: 223.3 kB / 0.6032 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.1709, allocations: 85.09 kB / 0.6033 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.171, allocations: 0 / 0.6033 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.1711, allocations: 15.98 kB / 0.6033 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.1711, allocations: 8 kB / 0.6033 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.1711, allocations: 7.984 kB / 0.6033 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.1712, allocations: 87.28 kB / 0.6034 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1712, allocations: 0 / 0.6034 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002238/0.1714, allocations: 15.84 kB / 0.6034 GB, free: 2.352 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.0001368/0.1716, allocations: 107.2 kB / 0.6035 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003562/0.1719, allocations: 99.86 kB / 0.6036 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1719, allocations: 3.938 kB / 0.6036 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.1721, allocations: 59.95 kB / 0.6036 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.1724, allocations: 2.031 kB / 0.6036 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.1727, allocations: 195.5 kB / 0.6038 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.1729, allocations: 0.6926 MB / 0.6045 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.173, allocations: 11.44 kB / 0.6045 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of SimCode: time 4.3e-07/0.173, allocations: 0 / 0.6045 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of Templates: time 0.00216/0.1752, allocations: 0.9242 MB / 0.6054 GB, free: 216 kB / 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)