Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.0008059/0.000806, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009045/0.0009046, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.57/1.57, allocations: 252 MB / 0.5102 GB, free: 4.758 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005238/0.0005239, allocations: 12 kB / 0.6243 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4244, allocations: 106.3 MB / 0.7281 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001953/0.4264, allocations: 1.246 MB / 0.7293 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000359/0.4268, allocations: 104.5 kB / 0.7294 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.383e-05/0.4269, allocations: 0 / 0.7294 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.427, allocations: 7.922 kB / 0.7294 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.165e-05/0.427, allocations: 15.92 kB / 0.7295 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.4273, allocations: 27.97 kB / 0.7295 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.373e-05/0.4274, allocations: 43.84 kB / 0.7295 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.4275, allocations: 23.97 kB / 0.7295 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.168e-05/0.4275, allocations: 19.92 kB / 0.7296 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.66e-05/0.4276, allocations: 19.92 kB / 0.7296 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.4276, allocations: 7.938 kB / 0.7296 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.585e-05/0.4277, allocations: 11.98 kB / 0.7296 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.796e-05/0.4277, allocations: 19.91 kB / 0.7296 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.4278, allocations: 25.7 kB / 0.7296 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.578e-05/0.4279, allocations: 35.88 kB / 0.7297 GB, free: 9.953 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4279, allocations: 4 kB / 0.7297 GB, free: 9.949 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4279, allocations: 0 / 0.7297 GB, free: 9.949 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.4279, allocations: 0 / 0.7297 GB, free: 9.949 MB / 0.545 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.0005239/0.4284, allocations: 393.2 kB / 0.7301 GB, free: 9.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4285, allocations: 12.03 kB / 0.7301 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.4285, allocations: 7.906 kB / 0.7301 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.4287, allocations: 175 kB / 0.7302 GB, free: 9.289 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.4287, allocations: 12 kB / 0.7303 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.4287, allocations: 0 / 0.7303 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.429, allocations: 105.6 kB / 0.7304 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.429, allocations: 0 / 0.7304 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.429, allocations: 3.938 kB / 0.7304 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.429, allocations: 3.984 kB / 0.7304 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.4293, allocations: 99.92 kB / 0.7305 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/0.4299, allocations: 340.6 kB / 0.7308 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.4301, allocations: 74.53 kB / 0.7309 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.4302, allocations: 48.91 kB / 0.7309 GB, free: 8.547 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.4303, allocations: 8 kB / 0.7309 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.4303, allocations: 30.56 kB / 0.7309 GB, free: 8.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4303, allocations: 0 / 0.7309 GB, free: 8.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005237/0.4308, allocations: 177.5 kB / 0.7311 GB, free: 8.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.4309, allocations: 59.41 kB / 0.7312 GB, free: 8.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.123e-05/0.431, allocations: 121.7 kB / 0.7313 GB, free: 8.121 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.431, allocations: 25.7 kB / 0.7313 GB, free: 8.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.431, allocations: 92.05 kB / 0.7314 GB, free: 7.996 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.431, allocations: 7.844 kB / 0.7314 GB, free: 7.988 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.4311, allocations: 0 / 0.7314 GB, free: 7.988 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.4312, allocations: 326.8 kB / 0.7317 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.4313, allocations: 43.97 kB / 0.7318 GB, free: 7.617 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.4314, allocations: 43.95 kB / 0.7318 GB, free: 7.574 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.4316, allocations: 47.95 kB / 0.7318 GB, free: 7.527 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4316, allocations: 0 / 0.7318 GB, free: 7.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003064/0.4319, allocations: 125.6 kB / 0.732 GB, free: 7.398 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.4319, allocations: 8 kB / 0.732 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.4319, allocations: 0 / 0.732 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.432, allocations: 3.953 kB / 0.732 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.4321, allocations: 27.97 kB / 0.732 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4321, allocations: 0 / 0.732 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.4322, allocations: 19.89 kB / 0.732 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.4322, allocations: 3.938 kB / 0.732 GB, free: 7.336 MB / 0.545 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.284e-05/0.4323, allocations: 113.8 kB / 0.7321 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.4323, allocations: 11.98 kB / 0.7321 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003517/0.4327, allocations: 133.8 kB / 0.7323 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.4327, allocations: 11.83 kB / 0.7323 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4327, allocations: 4 kB / 0.7323 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.4327, allocations: 0 / 0.7323 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.4329, allocations: 173.6 kB / 0.7324 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4329, allocations: 0 / 0.7324 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.56e-05/0.433, allocations: 27.97 kB / 0.7325 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.433, allocations: 4 kB / 0.7325 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.433, allocations: 0 / 0.7325 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.433, allocations: 0 / 0.7325 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.433, allocations: 3.953 kB / 0.7325 GB, free: 6.793 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.4334, allocations: 223.4 kB / 0.7327 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.4334, allocations: 81.11 kB / 0.7328 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.4334, allocations: 0 / 0.7328 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.4335, allocations: 23.98 kB / 0.7328 GB, free: 6.438 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.4336, allocations: 3.984 kB / 0.7328 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.4336, allocations: 3.953 kB / 0.7328 GB, free: 6.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.401e-05/0.4337, allocations: 99.2 kB / 0.7329 GB, free: 6.332 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4337, allocations: 0 / 0.7329 GB, free: 6.332 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002817/0.4339, allocations: 11.91 kB / 0.7329 GB, free: 6.32 MB / 0.545 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.0001219/0.4341, allocations: 99.25 kB / 0.733 GB, free: 6.215 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003173/0.4344, allocations: 95.92 kB / 0.7331 GB, free: 6.121 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4344, allocations: 4 kB / 0.7331 GB, free: 6.117 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.4346, allocations: 47.95 kB / 0.7331 GB, free: 6.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.4348, allocations: 10.81 kB / 0.7332 GB, free: 6.062 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.4351, allocations: 172.5 kB / 0.7333 GB, free: 5.867 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.4354, allocations: 0.6887 MB / 0.734 GB, free: 5.152 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.119e-05/0.4354, allocations: 7.984 kB / 0.734 GB, free: 5.145 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.4355, allocations: 11.44 kB / 0.734 GB, free: 5.133 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4355, allocations: 4 kB / 0.734 GB, free: 5.129 MB / 0.545 GB Notification: Performance of Templates: time 0.002567/0.438, allocations: 0.6082 MB / 0.7346 GB, free: 4.527 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) Environment - environmentSimulation: