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.001433/0.001433, allocations: 88.72 kB / 19.44 MB, free: 356 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.001651/0.001651, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.484/1.484, allocations: 177.1 MB / 203.1 MB, free: 5.254 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.00261/0.00261, allocations: 238.6 kB / 259.8 MB, free: 12.7 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.088/1.088, allocations: 138.4 MB / 454.7 MB, free: 1.438 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.593e-06/1.593e-06, allocations: 0 / 0.5544 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.006e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00226/0.00229, allocations: 0.5848 MB / 0.555 GB, free: 172 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002569/0.002547, allocations: 35.88 kB / 0.555 GB, free: 136 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.002567, allocations: 0 / 0.555 GB, free: 136 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.002605, allocations: 8 kB / 0.555 GB, free: 128 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 3.374e-05/0.002638, allocations: 0 / 0.555 GB, free: 128 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.002867, allocations: 15.92 kB / 0.555 GB, free: 112 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 7.702e-05/0.002944, allocations: 11.92 kB / 0.555 GB, free: 100 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.088e-05/0.002975, allocations: 0 / 0.555 GB, free: 100 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.459e-05/0.003019, allocations: 4 kB / 0.555 GB, free: 96 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.218e-05/0.003062, allocations: 0 / 0.555 GB, free: 96 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.003077, allocations: 0 / 0.555 GB, free: 96 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.003182, allocations: 23.97 kB / 0.555 GB, free: 72 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.003214, allocations: 4 kB / 0.5551 GB, free: 68 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.003243, allocations: 4 kB / 0.5551 GB, free: 64 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.003375, allocations: 35.83 kB / 0.5551 GB, free: 28 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003377, allocations: 0 / 0.5551 GB, free: 28 kB / 474.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003378, allocations: 0 / 0.5551 GB, free: 28 kB / 474.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.003382, allocations: 0 / 0.5551 GB, free: 28 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.0004533/0.003835, allocations: 276.1 kB / 0.5554 GB, free: 15.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.003881, allocations: 12.75 kB / 0.5554 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.00394, allocations: 0.9375 kB / 0.5554 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.004071, allocations: 109.7 kB / 0.5555 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.004084, allocations: 384 / 0.5555 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.004097, allocations: 8.297 kB / 0.5555 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.004282, allocations: 83.95 kB / 0.5556 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.00429, allocations: 192 / 0.5556 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.004303, allocations: 4.375 kB / 0.5556 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-05/0.004337, allocations: 8.359 kB / 0.5556 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.004556, allocations: 57.62 kB / 0.5556 GB, free: 15.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.004999, allocations: 212.5 kB / 0.5558 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.217e-05/0.005091, allocations: 48.16 kB / 0.5559 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.005142, allocations: 34.62 kB / 0.5559 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-06/0.005151, allocations: 0 / 0.5559 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.005198, allocations: 34.56 kB / 0.5559 GB, free: 15.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.103e-06/0.005199, allocations: 4 kB / 0.5559 GB, free: 15.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003055/0.005505, allocations: 118.8 kB / 0.5561 GB, free: 14.87 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.271e-05/0.005587, allocations: 81.11 kB / 0.5561 GB, free: 14.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.005751, allocations: 125.7 kB / 0.5563 GB, free: 14.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.005782, allocations: 29.69 kB / 0.5563 GB, free: 14.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.005884, allocations: 99.94 kB / 0.5564 GB, free: 14.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.005899, allocations: 7.953 kB / 0.5564 GB, free: 14.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.005965, allocations: 21.72 kB / 0.5564 GB, free: 14.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002357/0.0062, allocations: 314.8 kB / 0.5567 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.006267, allocations: 37.7 kB / 0.5567 GB, free: 14.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.006401, allocations: 88.69 kB / 0.5568 GB, free: 13.99 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.006609, allocations: 126.1 kB / 0.5569 GB, free: 13.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.413e-06/0.006616, allocations: 4 kB / 0.557 GB, free: 13.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003155/0.006931, allocations: 160.8 kB / 0.5571 GB, free: 13.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.119e-05/0.006982, allocations: 33.7 kB / 0.5571 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.006988, allocations: 0 / 0.5571 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.00701, allocations: 4 kB / 0.5571 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.761e-05/0.007108, allocations: 12 kB / 0.5572 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.007116, allocations: 0 / 0.5572 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.007229, allocations: 19.88 kB / 0.5572 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.007255, allocations: 8.25 kB / 0.5572 GB, free: 13.57 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.000162/0.007417, allocations: 143.5 kB / 0.5573 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.007467, allocations: 7.938 kB / 0.5573 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.585e-05/0.007483, allocations: 7.469 kB / 0.5573 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.007485, allocations: 0 / 0.5573 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.007493, allocations: 8 kB / 0.5573 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.007498, allocations: 3.984 kB / 0.5573 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.007723, allocations: 97.33 kB / 0.5574 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.007724, allocations: 0 / 0.5574 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-06/0.007731, allocations: 3.938 kB / 0.5574 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.007733, allocations: 0 / 0.5574 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.007742, allocations: 4 kB / 0.5574 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.007747, allocations: 4 kB / 0.5574 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.007752, allocations: 3.984 kB / 0.5575 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.008006, allocations: 190.9 kB / 0.5576 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.008029, allocations: 11.92 kB / 0.5576 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.008046, allocations: 0 / 0.5576 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.81e-05/0.008144, allocations: 0 / 0.5576 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/0.008169, allocations: 4 kB / 0.5576 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/0.008176, allocations: 0 / 0.5576 GB, free: 13.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.802e-05/0.008274, allocations: 91.27 kB / 0.5577 GB, free: 12.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.008274, allocations: 4.031 kB / 0.5577 GB, free: 12.92 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004786/0.008752, allocations: 8 kB / 0.5577 GB, free: 12.91 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.0002183/0.008971, allocations: 103.2 kB / 0.5578 GB, free: 12.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002599/0.009231, allocations: 138.7 kB / 0.558 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.009232, allocations: 0 / 0.558 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.009333, allocations: 89.03 kB / 0.5581 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.009705, allocations: 7.625 kB / 0.5581 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.01007, allocations: 156.8 kB / 0.5582 GB, free: 12.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.586e-05/0.01017, allocations: 59.34 kB / 0.5583 GB, free: 12.27 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.977e-05/0.01027, allocations: 11.98 kB / 0.5583 GB, free: 12.26 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.01029, allocations: 8.5 kB / 0.5583 GB, free: 12.25 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01029, allocations: 0 / 0.5583 GB, free: 12.25 MB / 490.7 MB Notification: Performance of Templates: time 0.004528/0.01481, allocations: 0.5751 MB / 0.5589 GB, free: 11.7 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4177421210333705]