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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00248/0.00248, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002646/0.002646, allocations: 236.2 kB / 259.8 MB, free: 12.84 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.086/1.086, allocations: 138.4 MB / 454.7 MB, free: 1.434 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.483e-06/1.483e-06, allocations: 0 / 0.5543 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.687e-05, allocations: 5.266 kB / 0.5543 GB, free: 0.793 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Average): time 0.002996/0.003023, allocations: 1.542 MB / 0.5558 GB, free: 15.24 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003511/0.003374, allocations: 116.5 kB / 0.556 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.565e-05/0.00342, allocations: 4 kB / 0.556 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.003549, allocations: 15.86 kB / 0.556 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.643e-05/0.003576, allocations: 3.938 kB / 0.556 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.003819, allocations: 31.84 kB / 0.556 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.003934, allocations: 59.83 kB / 0.5561 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.004038, allocations: 15.98 kB / 0.5561 GB, free: 14.99 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.915e-05/0.004117, allocations: 31.91 kB / 0.5561 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.004188, allocations: 23.97 kB / 0.5561 GB, free: 14.94 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.004209, allocations: 4 kB / 0.5561 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.523e-05/0.004274, allocations: 11.98 kB / 0.5562 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.004323, allocations: 19.92 kB / 0.5562 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.004368, allocations: 23.92 kB / 0.5562 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.004533, allocations: 63.78 kB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004535, allocations: 0 / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004536, allocations: 0 / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.004539, allocations: 0 / 0.5563 GB, free: 14.82 MB / 490.7 MB 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.0005681/0.005107, allocations: 302.1 kB / 0.5565 GB, free: 14.49 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.005143, allocations: 12.75 kB / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.005191, allocations: 4.938 kB / 0.5566 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.005378, allocations: 133.6 kB / 0.5567 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.00539, allocations: 4.375 kB / 0.5567 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.005401, allocations: 384 / 0.5567 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.0057, allocations: 86.2 kB / 0.5568 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.005708, allocations: 192 / 0.5568 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.005722, allocations: 4.375 kB / 0.5568 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.00573, allocations: 4.375 kB / 0.5568 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.006068, allocations: 87.78 kB / 0.5569 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.006625, allocations: 256.5 kB / 0.5571 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.006854, allocations: 58.56 kB / 0.5572 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.007035, allocations: 48.86 kB / 0.5572 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.007072, allocations: 0 / 0.5572 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.007112, allocations: 38.5 kB / 0.5573 GB, free: 13.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.007113, allocations: 0 / 0.5573 GB, free: 13.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006416/0.007754, allocations: 137.5 kB / 0.5574 GB, free: 13.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.007802, allocations: 55.34 kB / 0.5574 GB, free: 13.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.007929, allocations: 121.8 kB / 0.5576 GB, free: 13.35 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.007954, allocations: 25.7 kB / 0.5576 GB, free: 13.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.729e-05/0.008032, allocations: 96.03 kB / 0.5577 GB, free: 13.22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.008063, allocations: 15.92 kB / 0.5577 GB, free: 13.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.008103, allocations: 13.72 kB / 0.5577 GB, free: 13.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.008285, allocations: 314.8 kB / 0.558 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.008463, allocations: 35.95 kB / 0.558 GB, free: 12.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.008618, allocations: 39.95 kB / 0.5581 GB, free: 12.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.008911, allocations: 68.78 kB / 0.5581 GB, free: 12.72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.008913, allocations: 0 / 0.5581 GB, free: 12.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006408/0.009554, allocations: 113.5 kB / 0.5582 GB, free: 12.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.009569, allocations: 8 kB / 0.5582 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.00958, allocations: 4 kB / 0.5583 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.009599, allocations: 4 kB / 0.5583 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.009729, allocations: 15.97 kB / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.009735, allocations: 0 / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.176e-05/0.009817, allocations: 11.98 kB / 0.5583 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.009837, allocations: 3.984 kB / 0.5583 GB, free: 12.56 MB / 490.7 MB 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 0.000105/0.009942, allocations: 113.8 kB / 0.5584 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.009982, allocations: 16.2 kB / 0.5584 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004119/0.01039, allocations: 117.6 kB / 0.5585 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.0104, allocations: 0 / 0.5585 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.0104, allocations: 0 / 0.5585 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.0104, allocations: 0 / 0.5585 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.01058, allocations: 125.2 kB / 0.5586 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01058, allocations: 0 / 0.5586 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.01069, allocations: 15.98 kB / 0.5587 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.01069, allocations: 7.938 kB / 0.5587 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.0107, allocations: 3.938 kB / 0.5587 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.0107, allocations: 0 / 0.5587 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.0107, allocations: 0 / 0.5587 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.01113, allocations: 199.5 kB / 0.5589 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.01114, allocations: 7.891 kB / 0.5589 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.01117, allocations: 0 / 0.5589 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.01128, allocations: 19.97 kB / 0.5589 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.01133, allocations: 4 kB / 0.5589 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.01133, allocations: 4 kB / 0.5589 GB, free: 11.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.767e-05/0.0114, allocations: 91.27 kB / 0.559 GB, free: 11.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0114, allocations: 0 / 0.559 GB, free: 11.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.01164, allocations: 15.88 kB / 0.559 GB, free: 11.77 MB / 490.7 MB 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.0001424/0.01178, allocations: 99.23 kB / 0.5591 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003731/0.01215, allocations: 79.92 kB / 0.5592 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01216, allocations: 0 / 0.5592 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.01232, allocations: 39.95 kB / 0.5592 GB, free: 11.55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.0126, allocations: 11.98 kB / 0.5592 GB, free: 11.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.01298, allocations: 155.4 kB / 0.5594 GB, free: 11.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.01308, allocations: 83.58 kB / 0.5594 GB, free: 11.26 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.952e-05/0.01313, allocations: 11.98 kB / 0.5595 GB, free: 11.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.01316, allocations: 8.5 kB / 0.5595 GB, free: 11.24 MB / 490.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01316, allocations: 4 kB / 0.5595 GB, free: 11.24 MB / 490.7 MB Notification: Performance of Templates: time 0.003632/0.01679, allocations: 0.8185 MB / 0.5603 GB, free: 10.42 MB / 490.7 MB " [Timeout remaining time 660] 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: 5.536495313979685]