Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001492/0.001492, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001533/0.001533, allocations: 160 kB / 23.01 MB, free: 4.602 MB / 14.72 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.333/1.333, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 179] 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.002362/0.002362, allocations: 233.2 kB / 260 MB, free: 460 kB / 238.1 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 0.8874/0.8874, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.1 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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002985/0.002985, allocations: 102.7 kB / 0.6474 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3733, allocations: 95.34 MB / 0.7405 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001599/0.3749, allocations: 0.5964 MB / 0.7411 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0002223/0.3751, allocations: 34.72 kB / 0.7411 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.742e-05/0.3751, allocations: 0 / 0.7411 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.3752, allocations: 1.438 kB / 0.7411 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 2.843e-05/0.3752, allocations: 0.75 kB / 0.7411 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.3754, allocations: 20.03 kB / 0.7411 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.034e-05/0.3754, allocations: 8.297 kB / 0.7411 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.3755, allocations: 2.172 kB / 0.7411 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 1.631e-05/0.3755, allocations: 1.469 kB / 0.7411 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 3.547e-05/0.3755, allocations: 2.125 kB / 0.7411 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.3755, allocations: 4 kB / 0.7411 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 7.077e-05/0.3756, allocations: 22.31 kB / 0.7412 GB, free: 17 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.3756, allocations: 6.812 kB / 0.7412 GB, free: 17 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.3757, allocations: 2.188 kB / 0.7412 GB, free: 17 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 8.842e-05/0.3758, allocations: 26.39 kB / 0.7412 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3758, allocations: 1.594 kB / 0.7412 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3758, allocations: 0 / 0.7412 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.3758, allocations: 0 / 0.7412 GB, free: 16.98 MB / 0.5919 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.0002308/0.376, allocations: 278 kB / 0.7415 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.376, allocations: 9.25 kB / 0.7415 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.3761, allocations: 2.578 kB / 0.7415 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.107e-05/0.3761, allocations: 109.1 kB / 0.7416 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3761, allocations: 9.531 kB / 0.7416 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.3761, allocations: 1.562 kB / 0.7416 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.3762, allocations: 86.2 kB / 0.7417 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3762, allocations: 192 / 0.7417 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.3763, allocations: 4.844 kB / 0.7417 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.3763, allocations: 10.28 kB / 0.7417 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.108e-05/0.3763, allocations: 50.05 kB / 0.7417 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/0.3766, allocations: 219.8 kB / 0.7419 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.615e-05/0.3766, allocations: 48.16 kB / 0.742 GB, free: 16.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/0.3766, allocations: 37.39 kB / 0.742 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-06/0.3766, allocations: 0 / 0.742 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.215e-05/0.3766, allocations: 33.77 kB / 0.7421 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.3766, allocations: 0 / 0.7421 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.3768, allocations: 120.4 kB / 0.7422 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/0.3768, allocations: 78.94 kB / 0.7422 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.169e-05/0.3769, allocations: 128 kB / 0.7424 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.192e-06/0.3769, allocations: 25.7 kB / 0.7424 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.688e-05/0.3769, allocations: 101.5 kB / 0.7425 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.953e-06/0.3769, allocations: 9.781 kB / 0.7425 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.3769, allocations: 27.23 kB / 0.7425 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.599e-05/0.377, allocations: 321.1 kB / 0.7428 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.683e-05/0.377, allocations: 34.98 kB / 0.7429 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.917e-05/0.377, allocations: 85.12 kB / 0.7429 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.148e-05/0.3771, allocations: 138.2 kB / 0.7431 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3771, allocations: 1.344 kB / 0.7431 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001297/0.3773, allocations: 150.8 kB / 0.7432 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.3773, allocations: 32.03 kB / 0.7433 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3773, allocations: 2.953 kB / 0.7433 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3773, allocations: 6.312 kB / 0.7433 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.3774, allocations: 12.03 kB / 0.7433 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3774, allocations: 8.078 kB / 0.7433 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.3e-05/0.3774, allocations: 3.688 kB / 0.7433 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.3774, allocations: 6.594 kB / 0.7433 GB, free: 14.82 MB / 0.5919 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.2e-05/0.3775, allocations: 151.1 kB / 0.7434 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.3775, allocations: 9.094 kB / 0.7434 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.055e-05/0.3775, allocations: 7.266 kB / 0.7434 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.3775, allocations: 0 / 0.7434 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3775, allocations: 0 / 0.7434 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.3775, allocations: 5.25 kB / 0.7435 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.123e-05/0.3776, allocations: 108.6 kB / 0.7436 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3776, allocations: 4 kB / 0.7436 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-06/0.3776, allocations: 0.6094 kB / 0.7436 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.3776, allocations: 1.156 kB / 0.7436 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.3776, allocations: 1.156 kB / 0.7436 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3776, allocations: 0.5156 kB / 0.7436 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3776, allocations: 1.156 kB / 0.7436 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.378e-05/0.3777, allocations: 191.5 kB / 0.7437 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.3777, allocations: 5.672 kB / 0.7438 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.3777, allocations: 1.891 kB / 0.7438 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.368e-05/0.3778, allocations: 2.312 kB / 0.7438 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.3778, allocations: 10.08 kB / 0.7438 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.3778, allocations: 1.188 kB / 0.7438 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.656e-05/0.3778, allocations: 89.92 kB / 0.7439 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.3778, allocations: 0 / 0.7439 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002402/0.3781, allocations: 14.94 kB / 0.7439 GB, free: 14.22 MB / 0.5919 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.0001067/0.3782, allocations: 101 kB / 0.744 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.3783, allocations: 135.6 kB / 0.7441 GB, free: 14 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3783, allocations: 1.375 kB / 0.7441 GB, free: 14 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.18e-05/0.3783, allocations: 90.08 kB / 0.7442 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.3785, allocations: 6.844 kB / 0.7442 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001838/0.3787, allocations: 138.4 kB / 0.7443 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.698e-05/0.3787, allocations: 62.06 kB / 0.7444 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.257e-05/0.3788, allocations: 14.39 kB / 0.7444 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.228e-05/0.3788, allocations: 11.12 kB / 0.7444 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.3788, allocations: 4.062 kB / 0.7444 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of Templates: time 0.002706/0.3815, allocations: 0.538 MB / 0.7449 GB, free: 13.6 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.327408130047843] Failed to read output from testmodel.py, exit status != 0: 0.3887078390689567 0.39885491900000003 0.020742226000000002 Calling exit ...