Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0006562/0.0006562, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009228/0.001579, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001066/0.001066, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001434/0.0025, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9801/0.9801, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08557/1.066, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.892/1.892, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4943/2.386, allocations: 127.1 MB / 0.7435 GB, free: 4.535 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.7448 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.838e-05, allocations: 4.281 kB / 0.7448 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001913/0.001932, allocations: 1.642 MB / 0.7464 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001677/0.0021, allocations: 120.9 kB / 0.7465 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.002136, allocations: 3.938 kB / 0.7465 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.648e-05/0.002193, allocations: 12.58 kB / 0.7465 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 1.991e-05/0.002213, allocations: 13.64 kB / 0.7466 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.002346, allocations: 23.97 kB / 0.7466 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.255e-05/0.002428, allocations: 53.7 kB / 0.7466 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.477e-05/0.002513, allocations: 24.89 kB / 0.7467 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.174e-05/0.002595, allocations: 38.78 kB / 0.7467 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.002659, allocations: 23.2 kB / 0.7467 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.002675, allocations: 8 kB / 0.7467 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.134e-05/0.002736, allocations: 15.2 kB / 0.7467 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.002775, allocations: 19.59 kB / 0.7468 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.002797, allocations: 9.312 kB / 0.7468 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.0029, allocations: 47.94 kB / 0.7468 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.154e-05/0.002911, allocations: 0 / 0.7468 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002912, allocations: 4 kB / 0.7468 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.002924, allocations: 0 / 0.7468 GB, free: 1.215 MB / 0.7136 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.0003698/0.003294, allocations: 268.5 kB / 0.7471 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.73e-05/0.003322, allocations: 8.688 kB / 0.7471 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.003355, allocations: 12.92 kB / 0.7471 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.003486, allocations: 126.4 kB / 0.7472 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.003494, allocations: 384 / 0.7472 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.003509, allocations: 8.891 kB / 0.7472 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.003638, allocations: 74.33 kB / 0.7473 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.003645, allocations: 1.688 kB / 0.7473 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.003654, allocations: 4.375 kB / 0.7473 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.003659, allocations: 4.375 kB / 0.7473 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.311e-05/0.003683, allocations: 11.92 kB / 0.7473 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.003913, allocations: 194.8 kB / 0.7475 GB, free: 452 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.248e-05/0.003966, allocations: 23.17 kB / 0.7475 GB, free: 420 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/0.003983, allocations: 13.44 kB / 0.7475 GB, free: 404 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.004011, allocations: 4 kB / 0.7475 GB, free: 400 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.004033, allocations: 39.25 kB / 0.7476 GB, free: 352 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.004035, allocations: 4.5 kB / 0.7476 GB, free: 348 kB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 9.833e-05/0.004133, allocations: 49.7 kB / 0.7476 GB, free: 292 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.004155, allocations: 52.94 kB / 0.7477 GB, free: 228 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.202e-05/0.004217, allocations: 122.6 kB / 0.7478 GB, free: 92 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.004227, allocations: 25.7 kB / 0.7478 GB, free: 60 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.004271, allocations: 100 kB / 0.7479 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.004287, allocations: 9.797 kB / 0.7479 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.004311, allocations: 9.719 kB / 0.7479 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.0044, allocations: 318.8 kB / 0.7482 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.004411, allocations: 3.984 kB / 0.7482 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.029e-05/0.004422, allocations: 4 kB / 0.7482 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3e-05/0.004452, allocations: 26.06 kB / 0.7483 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004453, allocations: 0 / 0.7483 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.6e-05/0.004499, allocations: 37.69 kB / 0.7483 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.004512, allocations: 13.95 kB / 0.7483 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.004517, allocations: 0 / 0.7483 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.004529, allocations: 4 kB / 0.7483 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.88e-05/0.004598, allocations: 9.938 kB / 0.7483 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.004601, allocations: 0 / 0.7483 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.114e-05/0.004622, allocations: 7.984 kB / 0.7483 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.004637, allocations: 0 / 0.7483 GB, free: 15.5 MB / 0.7292 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 5.288e-05/0.00469, allocations: 113.2 kB / 0.7484 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.004702, allocations: 3.938 kB / 0.7484 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.37e-05/0.004776, allocations: 58.89 kB / 0.7485 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.004778, allocations: 0 / 0.7485 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.004779, allocations: 0 / 0.7485 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.004782, allocations: 1.25 kB / 0.7485 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.459e-05/0.004866, allocations: 77.83 kB / 0.7486 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.004869, allocations: 4 kB / 0.7486 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.004906, allocations: 16.48 kB / 0.7486 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-06/0.004911, allocations: 4 kB / 0.7486 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.004912, allocations: 4.688 kB / 0.7486 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-06/0.004917, allocations: 3.938 kB / 0.7486 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.004918, allocations: 1.875 kB / 0.7486 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.00492, allocations: 4 kB / 0.7486 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.618e-05/0.004986, allocations: 139.8 kB / 0.7488 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-06/0.004994, allocations: 0 / 0.7488 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.619e-05/0.00503, allocations: 10.69 kB / 0.7488 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.005059, allocations: 8.031 kB / 0.7488 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.005065, allocations: 3.984 kB / 0.7488 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.47e-05/0.005079, allocations: 20.83 kB / 0.7488 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.005079, allocations: 0 / 0.7488 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000119/0.005198, allocations: 15.94 kB / 0.7488 GB, free: 14.98 MB / 0.7292 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.828e-05/0.005297, allocations: 79.61 kB / 0.7489 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.995e-05/0.005377, allocations: 67.58 kB / 0.7489 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.005382, allocations: 0 / 0.7489 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.33e-05/0.005405, allocations: 12.86 kB / 0.749 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.005569, allocations: 63.39 kB / 0.749 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.005942, allocations: 161.9 kB / 0.7492 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.357e-05/0.005976, allocations: 68.41 kB / 0.7492 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.029e-05/0.005996, allocations: 1 kB / 0.7492 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.006043, allocations: 59.36 kB / 0.7493 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/0.006044, allocations: 0 / 0.7493 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of Templates: time 0.002316/0.00836, allocations: 0.7937 MB / 0.7501 GB, free: 13.65 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.Average.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.846202111802995]