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.001059/0.001059, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001433/0.002492, 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.001114/0.001114, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00134/0.002454, 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.9476/0.9476, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0854/1.033, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.861/1.861, allocations: 390 MB / 0.6193 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4598/2.321, allocations: 127.1 MB / 0.7435 GB, free: 4.551 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 2.585e-06/2.585e-06, allocations: 0 / 0.7449 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.168e-05/4.426e-05, allocations: 5.312 kB / 0.7449 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00311/0.003154, allocations: 0.654 MB / 0.7455 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001533/0.003308, allocations: 37.83 kB / 0.7455 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.003339, allocations: 0 / 0.7455 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.003364, allocations: 4 kB / 0.7455 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.77e-05/0.003392, allocations: 0.8125 kB / 0.7455 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.003536, allocations: 18.28 kB / 0.7456 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.003641, allocations: 4 kB / 0.7456 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.873e-05/0.00369, allocations: 4.656 kB / 0.7456 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.764e-05/0.003748, allocations: 9.984 kB / 0.7456 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.23e-05/0.00382, allocations: 4 kB / 0.7456 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.851e-05/0.003838, allocations: 0 / 0.7456 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.003956, allocations: 19.47 kB / 0.7456 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.077e-05/0.003997, allocations: 12.97 kB / 0.7456 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.73e-05/0.004014, allocations: 0.7656 kB / 0.7456 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.004122, allocations: 26 kB / 0.7456 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.345e-05/0.004135, allocations: 0 / 0.7456 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004136, allocations: 0 / 0.7456 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.004153, allocations: 0 / 0.7456 GB, free: 2.426 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.0003587/0.004511, allocations: 252.1 kB / 0.7459 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.00455, allocations: 13.22 kB / 0.7459 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.004587, allocations: 8.938 kB / 0.7459 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.741e-05/0.004665, allocations: 105.7 kB / 0.746 GB, free: 2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.004678, allocations: 7.219 kB / 0.746 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.004689, allocations: 384 / 0.746 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.004824, allocations: 70.78 kB / 0.7461 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.004831, allocations: 192 / 0.7461 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.004838, allocations: 384 / 0.7461 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/0.004877, allocations: 8.375 kB / 0.7461 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.004917, allocations: 41.62 kB / 0.7461 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/0.005188, allocations: 169.8 kB / 0.7463 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.114e-05/0.00525, allocations: 54.03 kB / 0.7463 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.005269, allocations: 32.06 kB / 0.7464 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-06/0.005273, allocations: 0 / 0.7464 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.005301, allocations: 38.5 kB / 0.7464 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.005302, allocations: 0 / 0.7464 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.000146/0.005448, allocations: 115.6 kB / 0.7465 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.005475, allocations: 55.34 kB / 0.7466 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.886e-05/0.005554, allocations: 119.2 kB / 0.7467 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.005565, allocations: 26.89 kB / 0.7467 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.005617, allocations: 107.9 kB / 0.7468 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.794e-06/0.005625, allocations: 5.094 kB / 0.7468 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.005666, allocations: 26.88 kB / 0.7468 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.005767, allocations: 318.8 kB / 0.7471 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/0.005793, allocations: 29.7 kB / 0.7472 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.453e-05/0.005848, allocations: 81.48 kB / 0.7472 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.383e-05/0.005942, allocations: 129.7 kB / 0.7474 GB, free: 400 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.005945, allocations: 4 kB / 0.7474 GB, free: 396 kB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001276/0.006073, allocations: 128.8 kB / 0.7475 GB, free: 248 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.006116, allocations: 33.7 kB / 0.7475 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.006121, allocations: 3.094 kB / 0.7475 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.006139, allocations: 9.078 kB / 0.7475 GB, free: 200 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.608e-05/0.006205, allocations: 12 kB / 0.7476 GB, free: 188 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.006211, allocations: 4 kB / 0.7476 GB, free: 184 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.225e-05/0.006283, allocations: 11.94 kB / 0.7476 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.0063, allocations: 4.469 kB / 0.7476 GB, free: 168 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 7.932e-05/0.006379, allocations: 142.3 kB / 0.7477 GB, free: 8 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.006425, allocations: 19.3 kB / 0.7477 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.398e-05/0.006439, allocations: 7.469 kB / 0.7477 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.006441, allocations: 0 / 0.7477 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.006442, allocations: 0 / 0.7477 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006445, allocations: 0.5469 kB / 0.7477 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.485e-05/0.00654, allocations: 65.89 kB / 0.7478 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.006542, allocations: 3.938 kB / 0.7478 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.006543, allocations: 0 / 0.7478 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.006553, allocations: 7.953 kB / 0.7478 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.006556, allocations: 8.281 kB / 0.7478 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.006561, allocations: 0 / 0.7478 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.006562, allocations: 0 / 0.7478 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.006565, allocations: 4 kB / 0.7478 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.006689, allocations: 186.9 kB / 0.748 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.006698, allocations: 0 / 0.748 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.06e-05/0.006759, allocations: 8.594 kB / 0.748 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.007e-05/0.006769, allocations: 0 / 0.748 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.006774, allocations: 0 / 0.748 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.986e-05/0.006794, allocations: 20.83 kB / 0.748 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.006794, allocations: 3.812 kB / 0.748 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002522/0.007046, allocations: 12 kB / 0.748 GB, free: 15.63 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 0.0001616/0.007208, allocations: 89.06 kB / 0.7481 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.007346, allocations: 139 kB / 0.7483 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.007353, allocations: 0 / 0.7483 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.89e-05/0.007402, allocations: 92.75 kB / 0.7483 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.007569, allocations: 17.98 kB / 0.7484 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002387/0.007808, allocations: 133.3 kB / 0.7485 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.752e-05/0.007845, allocations: 55.36 kB / 0.7485 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.044e-05/0.007876, allocations: 5.766 kB / 0.7485 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/0.00793, allocations: 56.53 kB / 0.7486 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/0.007931, allocations: 0 / 0.7486 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of Templates: time 0.0025/0.01043, allocations: 0.5294 MB / 0.7491 GB, free: 14.46 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.804431793279946]