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.001015/0.001015, allocations: 92.22 kB / 19.65 MB, free: 280 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.0009929/0.0009929, allocations: 165 kB / 23.02 MB, free: 1.555 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 0.9921/0.9921, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.002217/0.002217, allocations: 240.9 kB / 260.2 MB, free: 12.82 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.7441/0.7441, allocations: 138.4 MB / 455.2 MB, free: 1.562 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.292e-06/1.292e-06, allocations: 0 / 0.5552 GB, free: 480 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.685e-05, allocations: 2.312 kB / 0.5552 GB, free: 476 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001033/0.00105, allocations: 0.604 MB / 0.5558 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001577/0.001207, allocations: 31.89 kB / 0.5558 GB, free: 15.83 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.431e-05/0.001222, allocations: 0 / 0.5558 GB, free: 15.83 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.982e-05/0.001251, allocations: 0 / 0.5558 GB, free: 15.83 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.906e-05/0.00128, allocations: 3.938 kB / 0.5558 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.001429, allocations: 15.98 kB / 0.5558 GB, free: 15.81 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.996e-05/0.001489, allocations: 4 kB / 0.5558 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.48e-05/0.001513, allocations: 15.91 kB / 0.5558 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.3e-05/0.001536, allocations: 4 kB / 0.5558 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.942e-05/0.001566, allocations: 0 / 0.5558 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.001577, allocations: 0 / 0.5558 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.337e-05/0.00163, allocations: 19.98 kB / 0.5559 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.001649, allocations: 0 / 0.5559 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.845e-05/0.001667, allocations: 4 kB / 0.5559 GB, free: 15.76 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.844e-05/0.001746, allocations: 31.83 kB / 0.5559 GB, free: 15.73 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.001747, allocations: 0 / 0.5559 GB, free: 15.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.001748, allocations: 4 kB / 0.5559 GB, free: 15.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.001751, allocations: 0 / 0.5559 GB, free: 15.73 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.0002533/0.002004, allocations: 378.1 kB / 0.5563 GB, free: 15.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.002035, allocations: 8.75 kB / 0.5563 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.002062, allocations: 9.234 kB / 0.5563 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.52e-05/0.002117, allocations: 116.5 kB / 0.5564 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.002127, allocations: 4.375 kB / 0.5564 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.002137, allocations: 4.375 kB / 0.5564 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.833e-05/0.002226, allocations: 63.95 kB / 0.5564 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.002234, allocations: 192 / 0.5564 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.002242, allocations: 4.375 kB / 0.5565 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.002267, allocations: 12.36 kB / 0.5565 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.952e-05/0.002296, allocations: 37.64 kB / 0.5565 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.002549, allocations: 271.7 kB / 0.5568 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.762e-05/0.002597, allocations: 56.7 kB / 0.5568 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/0.002619, allocations: 37.45 kB / 0.5569 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-06/0.002624, allocations: 0 / 0.5569 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.002649, allocations: 41.38 kB / 0.5569 GB, free: 14.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.002649, allocations: 0 / 0.5569 GB, free: 14.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001459/0.002795, allocations: 118.8 kB / 0.557 GB, free: 14.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.002829, allocations: 77.23 kB / 0.5571 GB, free: 14.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.002913, allocations: 185.8 kB / 0.5573 GB, free: 14.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.002924, allocations: 29.69 kB / 0.5573 GB, free: 14.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.002974, allocations: 146.7 kB / 0.5574 GB, free: 13.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.448e-06/0.002978, allocations: 0 / 0.5574 GB, free: 13.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.003008, allocations: 31.33 kB / 0.5575 GB, free: 13.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.003113, allocations: 0.4923 MB / 0.5579 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.01e-05/0.003133, allocations: 29.7 kB / 0.558 GB, free: 13.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.254e-05/0.003185, allocations: 107.2 kB / 0.5581 GB, free: 13.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.464e-05/0.00326, allocations: 140.8 kB / 0.5582 GB, free: 13.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.003263, allocations: 4 kB / 0.5582 GB, free: 13.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001085/0.003372, allocations: 145 kB / 0.5583 GB, free: 12.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.003396, allocations: 41.67 kB / 0.5584 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.0034, allocations: 0 / 0.5584 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.003415, allocations: 4 kB / 0.5584 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.615e-05/0.003461, allocations: 15.98 kB / 0.5584 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.003467, allocations: 3.938 kB / 0.5584 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.426e-05/0.003511, allocations: 11.89 kB / 0.5584 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.003523, allocations: 8 kB / 0.5584 GB, free: 12.77 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 6.547e-05/0.003589, allocations: 186.3 kB / 0.5586 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.003603, allocations: 3.938 kB / 0.5586 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.501e-05/0.003618, allocations: 11.45 kB / 0.5586 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.00362, allocations: 4 kB / 0.5586 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.003623, allocations: 0 / 0.5586 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.003625, allocations: 0 / 0.5586 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.955e-05/0.003705, allocations: 112.6 kB / 0.5587 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.003707, allocations: 3.984 kB / 0.5587 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-06/0.003708, allocations: 3.938 kB / 0.5587 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.32e-07/0.003709, allocations: 0 / 0.5587 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.003716, allocations: 4 kB / 0.5587 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.003716, allocations: 0 / 0.5587 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.003717, allocations: 0 / 0.5587 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.933e-05/0.003816, allocations: 251.2 kB / 0.559 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.003824, allocations: 11.94 kB / 0.559 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-06/0.003832, allocations: 0 / 0.559 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.999e-05/0.003862, allocations: 0 / 0.559 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.071e-05/0.003872, allocations: 4 kB / 0.559 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.003876, allocations: 3.984 kB / 0.559 GB, free: 12.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.656e-05/0.003913, allocations: 135.2 kB / 0.5591 GB, free: 11.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003913, allocations: 0 / 0.5591 GB, free: 11.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001526/0.004065, allocations: 8 kB / 0.5591 GB, free: 11.96 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 9.617e-05/0.004161, allocations: 103.2 kB / 0.5592 GB, free: 11.85 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.004279, allocations: 150.4 kB / 0.5594 GB, free: 11.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.00428, allocations: 0 / 0.5594 GB, free: 11.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.198e-05/0.004312, allocations: 92.78 kB / 0.5595 GB, free: 11.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.004443, allocations: 8 kB / 0.5595 GB, free: 11.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001695/0.004613, allocations: 142.5 kB / 0.5596 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.113e-05/0.004644, allocations: 59.3 kB / 0.5597 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.106e-05/0.004675, allocations: 16.53 kB / 0.5597 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.118e-05/0.004686, allocations: 8.5 kB / 0.5597 GB, free: 11.28 MB / 490.7 MB Notification: Performance of SimCode: time 6.82e-07/0.004687, allocations: 4 kB / 0.5597 GB, free: 11.27 MB / 490.7 MB Notification: Performance of Templates: time 0.001876/0.006563, allocations: 0.5781 MB / 0.5603 GB, free: 10.71 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.7243326352909207]