Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.0006828/0.0006828, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009213/0.001604, 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.001038/0.001038, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001349/0.002387, 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.947/0.947, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08597/1.033, 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.856/1.856, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4778/2.334, allocations: 127.1 MB / 0.7432 GB, free: 4.648 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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7445 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116e-05/1.271e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0009506/0.0009633, allocations: 0.6511 MB / 0.7452 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 8.282e-05/0.001046, allocations: 41.3 kB / 0.7452 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.59e-05/0.001062, allocations: 0 / 0.7452 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.001077, allocations: 0 / 0.7452 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 1.681e-05/0.001093, allocations: 4.531 kB / 0.7452 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 8.183e-05/0.001175, allocations: 13.08 kB / 0.7452 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.671e-05/0.001242, allocations: 9.422 kB / 0.7452 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.204e-05/0.001274, allocations: 1.781 kB / 0.7452 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.719e-05/0.001311, allocations: 4.766 kB / 0.7452 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.219e-05/0.001353, allocations: 4.969 kB / 0.7452 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.001367, allocations: 0 / 0.7452 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.009e-05/0.001447, allocations: 23.97 kB / 0.7453 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.001475, allocations: 5.703 kB / 0.7453 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.49e-05/0.00149, allocations: 7.688 kB / 0.7453 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.101e-05/0.001571, allocations: 21.02 kB / 0.7453 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.357e-05/0.001585, allocations: 0 / 0.7453 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.41e-07/0.001585, allocations: 0 / 0.7453 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.001601, allocations: 0 / 0.7453 GB, free: 2.543 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002834/0.001884, allocations: 256.8 kB / 0.7455 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.698e-05/0.001911, allocations: 12.8 kB / 0.7456 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.001934, allocations: 0.9375 kB / 0.7456 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.509e-05/0.002, allocations: 113.7 kB / 0.7457 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.002009, allocations: 384 / 0.7457 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-06/0.002015, allocations: 4.375 kB / 0.7457 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.893e-05/0.002104, allocations: 68.84 kB / 0.7457 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.00211, allocations: 192 / 0.7457 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.002115, allocations: 5.25 kB / 0.7457 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.00214, allocations: 4.375 kB / 0.7457 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.621e-05/0.002166, allocations: 37.64 kB / 0.7458 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.002373, allocations: 177.8 kB / 0.7459 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.616e-05/0.002419, allocations: 48.88 kB / 0.746 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.002435, allocations: 37.84 kB / 0.746 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-06/0.002438, allocations: 0 / 0.746 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.002461, allocations: 34.5 kB / 0.7461 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.002462, allocations: 0.5469 kB / 0.7461 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001097/0.002572, allocations: 118.7 kB / 0.7462 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.002599, allocations: 51.41 kB / 0.7462 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.076e-05/0.002659, allocations: 122.7 kB / 0.7463 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.002668, allocations: 25.7 kB / 0.7464 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.002711, allocations: 110 kB / 0.7465 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.002719, allocations: 0 / 0.7465 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.002748, allocations: 30.34 kB / 0.7465 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.665e-05/0.002814, allocations: 314.8 kB / 0.7468 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.00283, allocations: 30.23 kB / 0.7468 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.832e-05/0.002868, allocations: 81.19 kB / 0.7469 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.066e-05/0.002939, allocations: 131.4 kB / 0.747 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.002941, allocations: 0.5938 kB / 0.747 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.793e-05/0.003019, allocations: 130.6 kB / 0.7472 GB, free: 368 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.003047, allocations: 31.17 kB / 0.7472 GB, free: 332 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.003053, allocations: 4 kB / 0.7472 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.003061, allocations: 0 / 0.7472 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.992e-05/0.003111, allocations: 16.88 kB / 0.7472 GB, free: 312 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.003117, allocations: 12.83 kB / 0.7472 GB, free: 300 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.003163, allocations: 7.938 kB / 0.7472 GB, free: 292 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.003174, allocations: 5.188 kB / 0.7472 GB, free: 288 kB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.553e-05/0.00323, allocations: 138.4 kB / 0.7474 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.003244, allocations: 11.92 kB / 0.7474 GB, free: 120 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.054e-05/0.003254, allocations: 8 kB / 0.7474 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.003255, allocations: 1.156 kB / 0.7474 GB, free: 116 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.003258, allocations: 4.641 kB / 0.7474 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.003261, allocations: 4 kB / 0.7474 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.336e-05/0.003324, allocations: 63.27 kB / 0.7475 GB, free: 28 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.003325, allocations: 4 kB / 0.7475 GB, free: 24 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.003325, allocations: 0 / 0.7475 GB, free: 24 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.467e-06/0.003335, allocations: 7.953 kB / 0.7475 GB, free: 16 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.003336, allocations: 5.562 kB / 0.7475 GB, free: 12 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-06/0.00334, allocations: 0 / 0.7475 GB, free: 12 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.003341, allocations: 6.219 kB / 0.7475 GB, free: 8 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.003342, allocations: 0 / 0.7475 GB, free: 8 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.003699, allocations: 186.9 kB / 0.7477 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-06/0.003705, allocations: 4 kB / 0.7477 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.081e-05/0.003736, allocations: 6.688 kB / 0.7477 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-06/0.003743, allocations: 0 / 0.7477 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.003748, allocations: 4.875 kB / 0.7477 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.036e-05/0.003758, allocations: 12.84 kB / 0.7477 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.003758, allocations: 0 / 0.7477 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001314/0.00389, allocations: 12 kB / 0.7477 GB, free: 15.76 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.793e-05/0.003978, allocations: 91.72 kB / 0.7478 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.734e-05/0.004075, allocations: 135.6 kB / 0.7479 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.00408, allocations: 7.938 kB / 0.7479 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-05/0.004104, allocations: 90.61 kB / 0.748 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.997e-05/0.004194, allocations: 11.94 kB / 0.748 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001589/0.004353, allocations: 130.9 kB / 0.7481 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.558e-05/0.004378, allocations: 55.36 kB / 0.7482 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.864e-05/0.004397, allocations: 8.641 kB / 0.7482 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.004437, allocations: 56.69 kB / 0.7483 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of SimCode: time 7.11e-07/0.004438, allocations: 2.328 kB / 0.7483 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of Templates: time 0.00189/0.006328, allocations: 0.6062 MB / 0.7488 GB, free: 14.5 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.744661984033883]