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.001413/0.001413, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001863/0.001863, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.123/1.123, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.973/1.973, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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 1.052e-06/1.052e-06, allocations: 0 / 0.7752 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.628e-06/1.068e-05, allocations: 6.312 kB / 0.7753 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001095/0.001106, allocations: 0.6679 MB / 0.7759 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001755/0.001281, allocations: 31.89 kB / 0.7759 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.821e-05/0.0013, allocations: 0 / 0.7759 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.001325, allocations: 0 / 0.7759 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.841e-05/0.001364, allocations: 6.219 kB / 0.7759 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.001521, allocations: 3.984 kB / 0.7759 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.172e-05/0.001583, allocations: 8.781 kB / 0.776 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.083e-05/0.001614, allocations: 0 / 0.776 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.325e-05/0.001647, allocations: 8.641 kB / 0.776 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.578e-05/0.001683, allocations: 0.6562 kB / 0.776 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.001696, allocations: 5.344 kB / 0.776 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.652e-05/0.001772, allocations: 23.97 kB / 0.776 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.001795, allocations: 6.297 kB / 0.776 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.34e-05/0.001808, allocations: 0.875 kB / 0.776 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.848e-05/0.001887, allocations: 30.38 kB / 0.776 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.001888, allocations: 0 / 0.776 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.21e-07/0.001889, allocations: 1.438 kB / 0.776 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.996e-06/0.001892, allocations: 0 / 0.776 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.0002041/0.002096, allocations: 250.3 kB / 0.7763 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.002125, allocations: 9.344 kB / 0.7763 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.00215, allocations: 5.594 kB / 0.7763 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.315e-05/0.002204, allocations: 105.8 kB / 0.7764 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.002213, allocations: 6.094 kB / 0.7764 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-06/0.002218, allocations: 384 / 0.7764 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.55e-05/0.002304, allocations: 66.73 kB / 0.7765 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.00231, allocations: 192 / 0.7765 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.002317, allocations: 5.016 kB / 0.7765 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.002341, allocations: 13.17 kB / 0.7765 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.371e-05/0.002365, allocations: 41.64 kB / 0.7765 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.00255, allocations: 174.7 kB / 0.7767 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.348e-05/0.002583, allocations: 45.02 kB / 0.7767 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.642e-05/0.0026, allocations: 34.62 kB / 0.7768 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-06/0.002604, allocations: 7.344 kB / 0.7768 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.002624, allocations: 34.5 kB / 0.7768 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.002624, allocations: 4 kB / 0.7768 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001007/0.002725, allocations: 114.8 kB / 0.7769 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.002752, allocations: 81.11 kB / 0.777 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.787e-05/0.00281, allocations: 121.5 kB / 0.7771 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.002819, allocations: 25.7 kB / 0.7771 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.002856, allocations: 103.9 kB / 0.7772 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.422e-06/0.002862, allocations: 8.594 kB / 0.7772 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.002889, allocations: 21.72 kB / 0.7773 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.656e-05/0.002956, allocations: 310.8 kB / 0.7775 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/0.002975, allocations: 45.61 kB / 0.7776 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.689e-05/0.003012, allocations: 76.58 kB / 0.7777 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.69e-05/0.003079, allocations: 129.9 kB / 0.7778 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.003081, allocations: 0.875 kB / 0.7778 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.469e-05/0.003165, allocations: 134.7 kB / 0.7779 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.003189, allocations: 33.69 kB / 0.778 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.003196, allocations: 4 kB / 0.778 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.003208, allocations: 5.688 kB / 0.778 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.824e-05/0.003256, allocations: 12 kB / 0.778 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.00326, allocations: 4 kB / 0.778 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.953e-05/0.0033, allocations: 8 kB / 0.778 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.003311, allocations: 9.484 kB / 0.778 GB, free: 2.266 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 5.824e-05/0.003369, allocations: 151.3 kB / 0.7781 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.003385, allocations: 7.938 kB / 0.7781 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.634e-06/0.003393, allocations: 3.469 kB / 0.7781 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.003394, allocations: 0.6562 kB / 0.7781 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.003396, allocations: 0 / 0.7781 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.003398, allocations: 1.125 kB / 0.7781 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.946e-05/0.003468, allocations: 69.84 kB / 0.7782 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.003469, allocations: 0 / 0.7782 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-07/0.003469, allocations: 1.453 kB / 0.7782 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-07/0.003469, allocations: 4 kB / 0.7782 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-06/0.003473, allocations: 0.7812 kB / 0.7782 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.003474, allocations: 3.938 kB / 0.7782 GB, free: 2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.003475, allocations: 0.625 kB / 0.7782 GB, free: 2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.827e-05/0.003554, allocations: 191.9 kB / 0.7784 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-06/0.003559, allocations: 0 / 0.7784 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-06/0.003566, allocations: 1.812 kB / 0.7784 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.241e-05/0.003599, allocations: 7.938 kB / 0.7784 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.418e-06/0.003608, allocations: 3.938 kB / 0.7784 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.003612, allocations: 0.5312 kB / 0.7784 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.3e-05/0.003625, allocations: 21.36 kB / 0.7784 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.003625, allocations: 1.406 kB / 0.7784 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00014/0.003765, allocations: 8 kB / 0.7785 GB, free: 1.742 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.0001076/0.003872, allocations: 92.69 kB / 0.7785 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.003989, allocations: 139.2 kB / 0.7787 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.003992, allocations: 0 / 0.7787 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.979e-05/0.004022, allocations: 85.97 kB / 0.7788 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/0.004123, allocations: 4 kB / 0.7788 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001888/0.004312, allocations: 133.3 kB / 0.7789 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.385e-05/0.004346, allocations: 62.09 kB / 0.7789 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.109e-05/0.004367, allocations: 0.6562 kB / 0.7789 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.261e-05/0.00442, allocations: 60.62 kB / 0.779 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of SimCode: time 8.22e-07/0.004421, allocations: 0 / 0.779 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of Templates: time 0.0021/0.00652, allocations: 0.5996 MB / 0.7796 GB, free: 0.5078 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.073423927649856]