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.001837/0.001837, allocations: 85.48 kB / 19.44 MB, free: 336 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.002069/0.002069, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.542/1.542, allocations: 177.1 MB / 203.1 MB, free: 5.188 MB / 186.7 MB " [Timeout remaining time 178] 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.003276/0.003276, allocations: 245.5 kB / 259.8 MB, free: 12.74 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 1.173/1.173, allocations: 138.4 MB / 454.7 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 2.235e-06/2.235e-06, allocations: 0 / 0.5544 GB, free: 0.832 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.312e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002817/0.00285, allocations: 0.581 MB / 0.5549 GB, free: 252 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002818/0.003132, allocations: 35.83 kB / 0.555 GB, free: 216 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.003153, allocations: 0 / 0.555 GB, free: 216 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 4.584e-05/0.003199, allocations: 4 kB / 0.555 GB, free: 212 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.392e-05/0.003253, allocations: 11.92 kB / 0.555 GB, free: 200 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.003478, allocations: 8 kB / 0.555 GB, free: 192 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 8.091e-05/0.003559, allocations: 11.97 kB / 0.555 GB, free: 180 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.43e-05/0.003593, allocations: 0 / 0.555 GB, free: 180 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.317e-05/0.003636, allocations: 4 kB / 0.555 GB, free: 176 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.003681, allocations: 4 kB / 0.555 GB, free: 172 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.003699, allocations: 0 / 0.555 GB, free: 172 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.003809, allocations: 19.97 kB / 0.555 GB, free: 152 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 3.368e-05/0.003843, allocations: 4 kB / 0.555 GB, free: 148 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.003871, allocations: 3.938 kB / 0.555 GB, free: 144 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.004013, allocations: 31.89 kB / 0.5551 GB, free: 112 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.004015, allocations: 4 kB / 0.5551 GB, free: 108 kB / 474.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004016, allocations: 0 / 0.5551 GB, free: 108 kB / 474.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.004021, allocations: 0 / 0.5551 GB, free: 108 kB / 474.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.0006258/0.004647, allocations: 378 kB / 0.5554 GB, free: 15.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.004695, allocations: 12.75 kB / 0.5555 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.004745, allocations: 0.9375 kB / 0.5555 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.004904, allocations: 116.5 kB / 0.5556 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.004917, allocations: 384 / 0.5556 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.004927, allocations: 384 / 0.5556 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.005108, allocations: 67.97 kB / 0.5556 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.005121, allocations: 8.172 kB / 0.5556 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.005131, allocations: 384 / 0.5556 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/0.005167, allocations: 4.375 kB / 0.5556 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.179e-05/0.005259, allocations: 37.64 kB / 0.5557 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.005829, allocations: 275.7 kB / 0.5559 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.005961, allocations: 60.69 kB / 0.556 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.006017, allocations: 33.39 kB / 0.556 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.006028, allocations: 0 / 0.556 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/0.006077, allocations: 41.45 kB / 0.5561 GB, free: 14.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.006078, allocations: 0 / 0.5561 GB, free: 14.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003368/0.006415, allocations: 130.7 kB / 0.5562 GB, free: 14.78 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.851e-05/0.006514, allocations: 77.11 kB / 0.5563 GB, free: 14.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.006747, allocations: 181.9 kB / 0.5564 GB, free: 14.49 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.006779, allocations: 25.7 kB / 0.5565 GB, free: 14.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.00693, allocations: 150.7 kB / 0.5566 GB, free: 14.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.006944, allocations: 3.953 kB / 0.5566 GB, free: 14.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.962e-05/0.007033, allocations: 31.36 kB / 0.5566 GB, free: 14.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004175/0.007451, allocations: 0.4884 MB / 0.5571 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.169e-05/0.007512, allocations: 33.69 kB / 0.5572 GB, free: 13.72 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.007682, allocations: 99.2 kB / 0.5573 GB, free: 13.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.007939, allocations: 152.9 kB / 0.5574 GB, free: 13.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.007946, allocations: 4 kB / 0.5574 GB, free: 13.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003242/0.008271, allocations: 141 kB / 0.5575 GB, free: 13.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.037e-05/0.008341, allocations: 37.69 kB / 0.5576 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.008348, allocations: 0 / 0.5576 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.008371, allocations: 4 kB / 0.5576 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.86e-05/0.00847, allocations: 12 kB / 0.5576 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.008482, allocations: 3.938 kB / 0.5576 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.008587, allocations: 11.89 kB / 0.5576 GB, free: 13.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.008617, allocations: 12 kB / 0.5576 GB, free: 13.14 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 0.0002082/0.008825, allocations: 186.3 kB / 0.5578 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.008873, allocations: 4.062 kB / 0.5578 GB, free: 12.94 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.687e-05/0.00889, allocations: 11.47 kB / 0.5578 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.008895, allocations: 3.984 kB / 0.5578 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.008899, allocations: 0 / 0.5578 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.008902, allocations: 0 / 0.5578 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.009162, allocations: 120.6 kB / 0.5579 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.009163, allocations: 0 / 0.5579 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-06/0.009169, allocations: 3.938 kB / 0.5579 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.009171, allocations: 0 / 0.5579 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.009187, allocations: 4 kB / 0.5579 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.009188, allocations: 0 / 0.5579 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.009189, allocations: 0 / 0.5579 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.009521, allocations: 255.2 kB / 0.5582 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.009538, allocations: 3.938 kB / 0.5582 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.009554, allocations: 0 / 0.5582 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.546e-05/0.009649, allocations: 7.938 kB / 0.5582 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.009667, allocations: 0 / 0.5582 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.009682, allocations: 7.984 kB / 0.5582 GB, free: 12.47 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001239/0.009806, allocations: 127.2 kB / 0.5583 GB, free: 12.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.009806, allocations: 0 / 0.5583 GB, free: 12.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004625/0.01027, allocations: 8 kB / 0.5583 GB, free: 12.34 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.0002421/0.01051, allocations: 107.3 kB / 0.5584 GB, free: 12.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002953/0.01081, allocations: 146.4 kB / 0.5586 GB, free: 12.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01081, allocations: 3.938 kB / 0.5586 GB, free: 12.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.01093, allocations: 92.8 kB / 0.5587 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.01129, allocations: 6.125 kB / 0.5587 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.0117, allocations: 150.5 kB / 0.5588 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.01182, allocations: 59.91 kB / 0.5589 GB, free: 11.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.803e-05/0.01189, allocations: 15.98 kB / 0.5589 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.01191, allocations: 8.5 kB / 0.5589 GB, free: 11.65 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01191, allocations: 0 / 0.5589 GB, free: 11.65 MB / 490.7 MB Notification: Performance of Templates: time 0.005054/0.01696, allocations: 0.5742 MB / 0.5594 GB, free: 11.1 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: 5.8362064990215]