Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009243/0.0009243, allocations: 80.94 kB / 21.55 MB, free: 2.949 MB / 18.57 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.0009944/0.0009944, allocations: 161.6 kB / 24.96 MB, free: 8.723 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.032/1.032, allocations: 177.1 MB / 205.4 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.901/1.901, allocations: 389.6 MB / 0.6362 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.776 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.684e-05, allocations: 7.219 kB / 0.776 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002227/0.002254, allocations: 0.6656 MB / 0.7767 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002493/0.002503, allocations: 39.81 kB / 0.7767 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.015e-05/0.002523, allocations: 1.812 kB / 0.7767 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.789e-05/0.002561, allocations: 0 / 0.7767 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.23e-05/0.002604, allocations: 0.9062 kB / 0.7767 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.002788, allocations: 11.98 kB / 0.7767 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.47e-05/0.002863, allocations: 5.969 kB / 0.7767 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.002902, allocations: 3.984 kB / 0.7767 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.471e-05/0.002936, allocations: 5.562 kB / 0.7767 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.327e-05/0.00298, allocations: 0 / 0.7767 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.002994, allocations: 0 / 0.7767 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.003103, allocations: 25.06 kB / 0.7768 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.272e-05/0.003135, allocations: 9.328 kB / 0.7768 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.717e-05/0.003152, allocations: 4.875 kB / 0.7768 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.567e-05/0.003248, allocations: 21.64 kB / 0.7768 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.00325, allocations: 4.766 kB / 0.7768 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.22e-07/0.003251, allocations: 0 / 0.7768 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.003254, allocations: 1.781 kB / 0.7768 GB, free: 4.559 MB / 0.7292 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.0002638/0.003518, allocations: 250.3 kB / 0.777 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.003558, allocations: 9.344 kB / 0.7771 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.003589, allocations: 8.922 kB / 0.7771 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.384e-05/0.003662, allocations: 103.5 kB / 0.7772 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.003673, allocations: 384 / 0.7772 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-06/0.00368, allocations: 5.094 kB / 0.7772 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.003788, allocations: 70.78 kB / 0.7772 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.003795, allocations: 3.469 kB / 0.7772 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.003803, allocations: 384 / 0.7772 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/0.003833, allocations: 8.375 kB / 0.7772 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.256e-05/0.003865, allocations: 41.58 kB / 0.7773 GB, free: 4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002419/0.004107, allocations: 178.2 kB / 0.7775 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.251e-05/0.00415, allocations: 40.83 kB / 0.7775 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/0.00417, allocations: 34.62 kB / 0.7775 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.004178, allocations: 4 kB / 0.7775 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.004199, allocations: 34.5 kB / 0.7776 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.0042, allocations: 3.469 kB / 0.7776 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001346/0.004335, allocations: 120.2 kB / 0.7777 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.004376, allocations: 81.11 kB / 0.7778 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.961e-05/0.004456, allocations: 118.7 kB / 0.7779 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.004468, allocations: 25.7 kB / 0.7779 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.004524, allocations: 107.9 kB / 0.778 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.512e-06/0.004531, allocations: 3.953 kB / 0.778 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.004569, allocations: 21.7 kB / 0.778 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.004729, allocations: 320.4 kB / 0.7783 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.911e-05/0.004758, allocations: 33.7 kB / 0.7784 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.445e-05/0.004812, allocations: 80.5 kB / 0.7784 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.723e-05/0.004909, allocations: 125 kB / 0.7786 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.004912, allocations: 0 / 0.7786 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001272/0.005039, allocations: 135.4 kB / 0.7787 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.00507, allocations: 30.47 kB / 0.7787 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.005078, allocations: 4 kB / 0.7787 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.005091, allocations: 1.125 kB / 0.7787 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.381e-05/0.005155, allocations: 15.94 kB / 0.7787 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.005162, allocations: 7.984 kB / 0.7787 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.594e-05/0.005218, allocations: 9.062 kB / 0.7788 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.005234, allocations: 4 kB / 0.7788 GB, free: 2.277 MB / 0.7292 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 9.462e-05/0.005328, allocations: 147.9 kB / 0.7789 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.005351, allocations: 7.938 kB / 0.7789 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.774e-05/0.005369, allocations: 8.031 kB / 0.7789 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.005373, allocations: 4.5 kB / 0.7789 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.005377, allocations: 3.984 kB / 0.7789 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.005383, allocations: 5.016 kB / 0.7789 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.005484, allocations: 69.8 kB / 0.779 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.005486, allocations: 0.5625 kB / 0.779 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-06/0.005487, allocations: 0 / 0.779 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.00549, allocations: 4.594 kB / 0.779 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-06/0.005495, allocations: 1.328 kB / 0.779 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.005497, allocations: 3.938 kB / 0.779 GB, free: 2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.005498, allocations: 1 kB / 0.779 GB, free: 2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.00561, allocations: 187 kB / 0.7792 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.005617, allocations: 1 kB / 0.7792 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.005627, allocations: 4.859 kB / 0.7792 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.084e-05/0.005678, allocations: 7.938 kB / 0.7792 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.00569, allocations: 3.031 kB / 0.7792 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.005695, allocations: 0 / 0.7792 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.78e-05/0.005712, allocations: 17.31 kB / 0.7792 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005713, allocations: 0 / 0.7792 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000217/0.00593, allocations: 8 kB / 0.7792 GB, free: 1.75 MB / 0.7292 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.0001607/0.00609, allocations: 93.22 kB / 0.7793 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001704/0.006261, allocations: 138.6 kB / 0.7794 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.006268, allocations: 0 / 0.7794 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.045e-05/0.006308, allocations: 85.97 kB / 0.7795 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.006455, allocations: 10.58 kB / 0.7795 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002651/0.00672, allocations: 129.9 kB / 0.7797 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.419e-05/0.006774, allocations: 59.34 kB / 0.7797 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.006808, allocations: 1.875 kB / 0.7797 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.663e-05/0.006874, allocations: 61.03 kB / 0.7798 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of SimCode: time 7.82e-07/0.006875, allocations: 0.9062 kB / 0.7798 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of Templates: time 0.003538/0.01041, allocations: 0.5966 MB / 0.7804 GB, free: 0.5117 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.104208508506417]