Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002432/0.002432, allocations: 283.4 kB / 304.8 MB, free: 3.531 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.069/1.069, allocations: 180.9 MB / 0.5281 GB, free: 1.934 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average") translateModel(BuildingSystems.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002739/0.002739, allocations: 99.84 kB / 0.7283 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5396/0.5423, allocations: 94.16 MB / 0.8203 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Average): time 0.00235/0.5447, allocations: 1.563 MB / 0.8218 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002677/0.5449, allocations: 109.4 kB / 0.8219 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.917e-05/0.545, allocations: 2.094 kB / 0.8219 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.733e-05/0.5451, allocations: 8.484 kB / 0.8219 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.642e-05/0.5451, allocations: 5.688 kB / 0.8219 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.5453, allocations: 34.22 kB / 0.822 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.447e-05/0.5453, allocations: 56.67 kB / 0.822 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.5454, allocations: 18.59 kB / 0.822 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.777e-05/0.5455, allocations: 23.86 kB / 0.8221 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.5455, allocations: 34.39 kB / 0.8221 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.5456, allocations: 4.219 kB / 0.8221 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.19e-05/0.5456, allocations: 8.688 kB / 0.8221 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.606e-05/0.5457, allocations: 19.92 kB / 0.8221 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.5457, allocations: 24.81 kB / 0.8221 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.5458, allocations: 59.31 kB / 0.8222 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.5458, allocations: 2.766 kB / 0.8222 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5458, allocations: 1.125 kB / 0.8222 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.5458, allocations: 4 kB / 0.8222 GB, free: 6.258 MB / 0.5762 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.000423/0.5462, allocations: 380 kB / 0.8226 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.5463, allocations: 9.094 kB / 0.8226 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.5463, allocations: 7.75 kB / 0.8226 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.5464, allocations: 193.2 kB / 0.8228 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.044e-06/0.5464, allocations: 6.109 kB / 0.8228 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.5464, allocations: 3.094 kB / 0.8228 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.5467, allocations: 94.23 kB / 0.8229 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.5467, allocations: 0.75 kB / 0.8229 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.5467, allocations: 4.844 kB / 0.8229 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.5467, allocations: 0.9688 kB / 0.8229 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.547, allocations: 79.52 kB / 0.823 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.5475, allocations: 328.3 kB / 0.8233 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.5477, allocations: 58.03 kB / 0.8233 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.5478, allocations: 38.22 kB / 0.8234 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.5478, allocations: 6.625 kB / 0.8234 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.11e-05/0.5478, allocations: 32.38 kB / 0.8234 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5478, allocations: 0 / 0.8234 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005091/0.5483, allocations: 142.4 kB / 0.8235 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.5484, allocations: 57.28 kB / 0.8236 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.343e-05/0.5484, allocations: 116.8 kB / 0.8237 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.5484, allocations: 25.7 kB / 0.8237 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.5485, allocations: 101.1 kB / 0.8238 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.5485, allocations: 8.406 kB / 0.8238 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.5485, allocations: 16.47 kB / 0.8238 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.519e-05/0.5486, allocations: 316.8 kB / 0.8241 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.5487, allocations: 36.69 kB / 0.8242 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.5488, allocations: 37.52 kB / 0.8242 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.5491, allocations: 77.14 kB / 0.8243 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5491, allocations: 3.938 kB / 0.8243 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002882/0.5494, allocations: 104.7 kB / 0.8244 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.5494, allocations: 10.22 kB / 0.8244 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.5494, allocations: 0.6094 kB / 0.8244 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.5494, allocations: 0 / 0.8244 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.5495, allocations: 18.12 kB / 0.8244 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.5495, allocations: 0 / 0.8244 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.311e-05/0.5496, allocations: 14.25 kB / 0.8244 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.5496, allocations: 1.344 kB / 0.8244 GB, free: 4.418 MB / 0.5762 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 4.657e-05/0.5497, allocations: 120.9 kB / 0.8246 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.5497, allocations: 5.312 kB / 0.8246 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.55, allocations: 118.3 kB / 0.8247 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.55, allocations: 6.969 kB / 0.8247 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.217e-06/0.55, allocations: 4 kB / 0.8247 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.55, allocations: 0.6562 kB / 0.8247 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.5502, allocations: 179.5 kB / 0.8249 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5502, allocations: 3.281 kB / 0.8249 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.918e-05/0.5503, allocations: 15.36 kB / 0.8249 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.5503, allocations: 0 / 0.8249 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.5503, allocations: 0.5156 kB / 0.8249 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5503, allocations: 0 / 0.8249 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5503, allocations: 3.891 kB / 0.8249 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.5506, allocations: 207.8 kB / 0.8251 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.5506, allocations: 81.72 kB / 0.8252 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.5506, allocations: 0.6094 kB / 0.8252 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.5507, allocations: 17.08 kB / 0.8252 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.5508, allocations: 1.734 kB / 0.8252 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.5508, allocations: 7.062 kB / 0.8252 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.172e-05/0.5508, allocations: 89.69 kB / 0.8253 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.5508, allocations: 1.312 kB / 0.8253 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002251/0.551, allocations: 13.03 kB / 0.8253 GB, free: 3.684 MB / 0.5762 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 9.314e-05/0.5511, allocations: 102.7 kB / 0.8254 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003376/0.5515, allocations: 76.47 kB / 0.8254 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5515, allocations: 0 / 0.8254 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.5516, allocations: 51.47 kB / 0.8255 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.5519, allocations: 8.938 kB / 0.8255 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.5521, allocations: 157.4 kB / 0.8257 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.5522, allocations: 0.6894 MB / 0.8263 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.022e-05/0.5523, allocations: 12.09 kB / 0.8263 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.364e-05/0.5523, allocations: 14.16 kB / 0.8264 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.5523, allocations: 0 / 0.8264 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of Templates: time 0.003183/0.5555, allocations: 0.7699 MB / 0.8271 GB, free: 2.641 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.333321331068873]