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.0009023/0.0009023, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003849/0.004751, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009149/0.0009149, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001222/0.002137, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9384/0.9384, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08749/1.026, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.924/1.924, allocations: 389.9 MB / 0.6191 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.564/2.488, allocations: 127.1 MB / 0.7432 GB, free: 4.586 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.944e-06/1.944e-06, allocations: 0 / 0.7445 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.999e-06/1.194e-05, allocations: 3.062 kB / 0.7445 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001761/0.001773, allocations: 1.645 MB / 0.7461 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001719/0.001945, allocations: 121.5 kB / 0.7462 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.573e-05/0.00198, allocations: 0 / 0.7462 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.687e-05/0.002027, allocations: 4.703 kB / 0.7462 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 1.795e-05/0.002045, allocations: 11.22 kB / 0.7462 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001256/0.002171, allocations: 32.55 kB / 0.7463 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.723e-05/0.002258, allocations: 57.83 kB / 0.7463 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.759e-05/0.002336, allocations: 22.16 kB / 0.7463 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.066e-05/0.002406, allocations: 34.48 kB / 0.7464 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.879e-05/0.002465, allocations: 34.36 kB / 0.7464 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.00248, allocations: 6.438 kB / 0.7464 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.702e-05/0.002547, allocations: 11.98 kB / 0.7464 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.191e-05/0.002579, allocations: 11.28 kB / 0.7464 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.002601, allocations: 10.41 kB / 0.7464 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.333e-05/0.002695, allocations: 43.84 kB / 0.7465 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.404e-05/0.002709, allocations: 0 / 0.7465 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002709, allocations: 0 / 0.7465 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.002724, allocations: 6.156 kB / 0.7465 GB, free: 1.277 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.0003428/0.003067, allocations: 272.4 kB / 0.7467 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.736e-05/0.003094, allocations: 12.03 kB / 0.7468 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.003123, allocations: 8.938 kB / 0.7468 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.003248, allocations: 129.6 kB / 0.7469 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.003256, allocations: 3.688 kB / 0.7469 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.003266, allocations: 8.375 kB / 0.7469 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.003402, allocations: 77.69 kB / 0.747 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.00341, allocations: 192 / 0.747 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.003418, allocations: 384 / 0.747 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.003424, allocations: 4.375 kB / 0.747 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.869e-05/0.003453, allocations: 15.88 kB / 0.747 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002504/0.003703, allocations: 190.6 kB / 0.7472 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.705e-05/0.00376, allocations: 23.33 kB / 0.7472 GB, free: 476 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.003782, allocations: 12.94 kB / 0.7472 GB, free: 460 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.00382, allocations: 4.688 kB / 0.7472 GB, free: 456 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.00384, allocations: 34.5 kB / 0.7472 GB, free: 412 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.003841, allocations: 0.5312 kB / 0.7472 GB, free: 412 kB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001088/0.00395, allocations: 47.19 kB / 0.7473 GB, free: 360 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.003982, allocations: 51.41 kB / 0.7473 GB, free: 296 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.159e-05/0.004044, allocations: 126.6 kB / 0.7475 GB, free: 156 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.004055, allocations: 29.7 kB / 0.7475 GB, free: 120 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.004088, allocations: 96.97 kB / 0.7476 GB, free: 20 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.004104, allocations: 7.953 kB / 0.7476 GB, free: 12 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.00414, allocations: 17.72 kB / 0.7476 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.45e-05/0.004215, allocations: 319.4 kB / 0.7479 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.004227, allocations: 4.594 kB / 0.7479 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-06/0.004236, allocations: 0 / 0.7479 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.713e-05/0.004263, allocations: 20.27 kB / 0.7479 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.004264, allocations: 0.5938 kB / 0.7479 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.21e-05/0.004317, allocations: 37.69 kB / 0.748 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.00433, allocations: 12.56 kB / 0.748 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.004334, allocations: 0 / 0.748 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.004342, allocations: 5.188 kB / 0.748 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.004412, allocations: 11.98 kB / 0.748 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.004415, allocations: 0 / 0.748 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/0.004436, allocations: 4.562 kB / 0.748 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.004451, allocations: 0.75 kB / 0.748 GB, free: 15.57 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.483e-05/0.004506, allocations: 122.1 kB / 0.7481 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.00452, allocations: 8.266 kB / 0.7481 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.513e-05/0.004595, allocations: 57.66 kB / 0.7482 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.004596, allocations: 0 / 0.7482 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.004598, allocations: 0.5312 kB / 0.7482 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.0046, allocations: 0.8125 kB / 0.7482 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.04e-05/0.004681, allocations: 77.83 kB / 0.7483 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.004682, allocations: 0 / 0.7483 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.952e-05/0.004711, allocations: 17.66 kB / 0.7483 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-06/0.004717, allocations: 3.984 kB / 0.7483 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.004719, allocations: 0 / 0.7483 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.004724, allocations: 3.938 kB / 0.7483 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.004726, allocations: 4.5 kB / 0.7483 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.004727, allocations: 4.656 kB / 0.7483 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.587e-05/0.004792, allocations: 131.5 kB / 0.7484 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-06/0.0048, allocations: 1.406 kB / 0.7484 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.771e-05/0.004838, allocations: 15.92 kB / 0.7484 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.004864, allocations: 0 / 0.7484 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.004868, allocations: 4 kB / 0.7484 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.526e-05/0.004883, allocations: 23.58 kB / 0.7485 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004883, allocations: 0 / 0.7485 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001266/0.00501, allocations: 11.94 kB / 0.7485 GB, free: 15.05 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 8.68e-05/0.005097, allocations: 88.34 kB / 0.7486 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.234e-05/0.005169, allocations: 59.59 kB / 0.7486 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.005174, allocations: 3.656 kB / 0.7486 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.707e-05/0.005191, allocations: 12.86 kB / 0.7486 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.005323, allocations: 15.11 kB / 0.7486 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.005665, allocations: 150 kB / 0.7488 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.491e-05/0.0057, allocations: 63.34 kB / 0.7488 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.886e-05/0.005719, allocations: 0 / 0.7488 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.005764, allocations: 64.94 kB / 0.7489 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of SimCode: time 6.91e-07/0.005765, allocations: 3.938 kB / 0.7489 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of Templates: time 0.002237/0.008002, allocations: 0.7961 MB / 0.7497 GB, free: 13.79 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.864949480630457]