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.001379/0.001379, allocations: 89.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001745/0.001745, allocations: 177.3 kB / 23.02 MB, free: 1.543 MB / 18.57 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.013/1.013, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 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.00195/0.00195, allocations: 241.3 kB / 260.2 MB, free: 12.83 MB / 250.7 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.7031/0.7031, allocations: 138.4 MB / 455.2 MB, free: 1.523 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5552 GB, free: 472 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.062e-05, allocations: 2.312 kB / 0.5552 GB, free: 468 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001477/0.001507, allocations: 0.6041 MB / 0.5558 GB, free: 15.85 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002219/0.001729, allocations: 39.78 kB / 0.5558 GB, free: 15.81 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.001753, allocations: 0 / 0.5558 GB, free: 15.81 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.016e-05/0.001794, allocations: 0 / 0.5558 GB, free: 15.81 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.257e-05/0.001836, allocations: 3.938 kB / 0.5558 GB, free: 15.81 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.002063, allocations: 11.98 kB / 0.5558 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.408e-05/0.002137, allocations: 7.938 kB / 0.5558 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.592e-05/0.002173, allocations: 4 kB / 0.5558 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.288e-05/0.002206, allocations: 7.984 kB / 0.5558 GB, free: 15.78 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.39e-05/0.00225, allocations: 0 / 0.5558 GB, free: 15.78 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.002265, allocations: 0 / 0.5558 GB, free: 15.78 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-05/0.002346, allocations: 23.97 kB / 0.5559 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.002377, allocations: 4 kB / 0.5559 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.002399, allocations: 4 kB / 0.5559 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.91e-05/0.002498, allocations: 27.84 kB / 0.5559 GB, free: 15.72 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.0025, allocations: 0 / 0.5559 GB, free: 15.72 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.002501, allocations: 0 / 0.5559 GB, free: 15.72 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.002505, allocations: 0 / 0.5559 GB, free: 15.72 MB / 490.7 MB 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.0002886/0.002794, allocations: 378.1 kB / 0.5562 GB, free: 15.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.002831, allocations: 12.75 kB / 0.5563 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.002874, allocations: 9.234 kB / 0.5563 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.704e-05/0.002941, allocations: 112.5 kB / 0.5564 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.002952, allocations: 384 / 0.5564 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.002962, allocations: 8.359 kB / 0.5564 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.003076, allocations: 67.94 kB / 0.5564 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.003082, allocations: 192 / 0.5564 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.00309, allocations: 4.375 kB / 0.5565 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.969e-05/0.003119, allocations: 4.375 kB / 0.5565 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/0.003154, allocations: 45.62 kB / 0.5565 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.003457, allocations: 267.7 kB / 0.5568 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.179e-05/0.003518, allocations: 60.7 kB / 0.5568 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.003545, allocations: 37.45 kB / 0.5568 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-06/0.003549, allocations: 0 / 0.5568 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.003574, allocations: 33.39 kB / 0.5569 GB, free: 14.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.003575, allocations: 0 / 0.5569 GB, free: 14.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001704/0.003746, allocations: 126.7 kB / 0.557 GB, free: 14.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.003784, allocations: 77.11 kB / 0.5571 GB, free: 14.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.003884, allocations: 177.8 kB / 0.5572 GB, free: 14.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.003894, allocations: 25.7 kB / 0.5573 GB, free: 14.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/0.003953, allocations: 154.8 kB / 0.5574 GB, free: 13.92 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.713e-06/0.003959, allocations: 0 / 0.5574 GB, free: 13.92 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.004, allocations: 35.33 kB / 0.5575 GB, free: 13.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.004137, allocations: 0.4884 MB / 0.5579 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.766e-05/0.004165, allocations: 29.7 kB / 0.558 GB, free: 13.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.344e-05/0.004228, allocations: 111.2 kB / 0.5581 GB, free: 13.19 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.832e-05/0.004317, allocations: 144.8 kB / 0.5582 GB, free: 13 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.004321, allocations: 8 kB / 0.5582 GB, free: 13 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001135/0.004434, allocations: 144.8 kB / 0.5583 GB, free: 12.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.004462, allocations: 33.7 kB / 0.5584 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.004468, allocations: 0 / 0.5584 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.004482, allocations: 4.25 kB / 0.5584 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.004545, allocations: 19.98 kB / 0.5584 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.004552, allocations: 3.938 kB / 0.5584 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.368e-05/0.004606, allocations: 11.89 kB / 0.5584 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.004623, allocations: 12 kB / 0.5584 GB, free: 12.75 MB / 490.7 MB 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.628e-05/0.004699, allocations: 182.3 kB / 0.5586 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.004714, allocations: 3.938 kB / 0.5586 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.215e-05/0.004726, allocations: 7.469 kB / 0.5586 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.004728, allocations: 0 / 0.5586 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.004733, allocations: 3.984 kB / 0.5586 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.004736, allocations: 0 / 0.5586 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.019e-05/0.004826, allocations: 116.6 kB / 0.5587 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.004827, allocations: 0 / 0.5587 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-06/0.004829, allocations: 3.938 kB / 0.5587 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.00483, allocations: 0 / 0.5587 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.004837, allocations: 4 kB / 0.5587 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.004839, allocations: 3.984 kB / 0.5587 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.00484, allocations: 0 / 0.5587 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.004961, allocations: 243.2 kB / 0.559 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.238e-06/0.00497, allocations: 11.92 kB / 0.559 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.00498, allocations: 0 / 0.559 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.465e-05/0.005015, allocations: 4.031 kB / 0.559 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.005025, allocations: 4 kB / 0.559 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.005029, allocations: 0 / 0.559 GB, free: 12.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.037e-05/0.005069, allocations: 131.2 kB / 0.5591 GB, free: 11.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005069, allocations: 0 / 0.5591 GB, free: 11.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001662/0.005235, allocations: 11.98 kB / 0.5591 GB, free: 11.95 MB / 490.7 MB 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.0001305/0.005366, allocations: 103.2 kB / 0.5592 GB, free: 11.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004237/0.00579, allocations: 150.8 kB / 0.5594 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.005792, allocations: 0 / 0.5594 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.919e-05/0.005822, allocations: 96.78 kB / 0.5595 GB, free: 11.55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.005966, allocations: 4 kB / 0.5595 GB, free: 11.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002217/0.006188, allocations: 150.4 kB / 0.5596 GB, free: 11.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.636e-05/0.006224, allocations: 55.36 kB / 0.5597 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.907e-05/0.006263, allocations: 7.984 kB / 0.5597 GB, free: 11.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.575e-05/0.006279, allocations: 16.62 kB / 0.5597 GB, free: 11.27 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.00628, allocations: 0 / 0.5597 GB, free: 11.27 MB / 490.7 MB Notification: Performance of Templates: time 0.002545/0.008825, allocations: 0.6199 MB / 0.5603 GB, free: 10.67 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5948883346281946]