Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.644/1.644, allocations: 288.4 MB / 304.3 MB, free: 8.012 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009093/0.0009094, allocations: 181.9 kB / 373 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.4 MB / 0.6317 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007365/0.0007366, allocations: 96.19 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003856, allocations: 14.03 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2101, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6829/0.893, allocations: 137.2 MB / 1.115 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.8933, allocations: 77.66 kB / 1.115 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001843/0.8951, allocations: 0.5503 MB / 1.115 GB, free: 32.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.585e-06/0.8952, allocations: 4 kB / 1.115 GB, free: 32.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.8952, allocations: 0 / 1.115 GB, free: 32.18 MB / 0.698 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.0002689/0.8954, allocations: 348.1 kB / 1.116 GB, free: 31.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.8955, allocations: 7.812 kB / 1.116 GB, free: 31.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.8955, allocations: 1.562 kB / 1.116 GB, free: 31.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.49e-05/0.8956, allocations: 175.4 kB / 1.116 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.8956, allocations: 384 / 1.116 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.8957, allocations: 384 / 1.116 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.8958, allocations: 55.09 kB / 1.116 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.8958, allocations: 4.188 kB / 1.116 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.8958, allocations: 3.938 kB / 1.116 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.8959, allocations: 11.77 kB / 1.116 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.312e-05/0.8959, allocations: 21.98 kB / 1.116 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.8962, allocations: 266.1 kB / 1.116 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.102e-05/0.8963, allocations: 22.2 kB / 1.116 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.8963, allocations: 4.859 kB / 1.116 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-06/0.8963, allocations: 7.844 kB / 1.116 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.8963, allocations: 30.56 kB / 1.116 GB, free: 31.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.8963, allocations: 2.516 kB / 1.116 GB, free: 31.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001715/0.8965, allocations: 74.27 kB / 1.116 GB, free: 31.13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.8965, allocations: 81.05 kB / 1.116 GB, free: 31.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.341e-05/0.8966, allocations: 115 kB / 1.117 GB, free: 30.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.8966, allocations: 25.7 kB / 1.117 GB, free: 30.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.8967, allocations: 110.4 kB / 1.117 GB, free: 30.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.721e-06/0.8967, allocations: 0 / 1.117 GB, free: 30.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-06/0.8967, allocations: 0 / 1.117 GB, free: 30.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.8968, allocations: 322.5 kB / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/0.8968, allocations: 7.031 kB / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.616e-05/0.8969, allocations: 57.55 kB / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.645e-05/0.897, allocations: 136.9 kB / 1.117 GB, free: 30.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.897, allocations: 0 / 1.117 GB, free: 30.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001207/0.8971, allocations: 119.4 kB / 1.117 GB, free: 30.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.8971, allocations: 37.33 kB / 1.117 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.8972, allocations: 0 / 1.117 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.8972, allocations: 3.969 kB / 1.117 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.027e-05/0.8972, allocations: 14.77 kB / 1.117 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.8973, allocations: 4.25 kB / 1.117 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.8973, allocations: 15.72 kB / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.8973, allocations: 4.344 kB / 1.117 GB, free: 30.16 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.06e-05/0.8974, allocations: 147.7 kB / 1.118 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.8975, allocations: 7.719 kB / 1.118 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.433e-05/0.8975, allocations: 5.391 kB / 1.118 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.8975, allocations: 0 / 1.118 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.8975, allocations: 0 / 1.118 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.8975, allocations: 5.906 kB / 1.118 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.8976, allocations: 163.8 kB / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.8976, allocations: 0 / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.8976, allocations: 0 / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.8976, allocations: 0 / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.8977, allocations: 0 / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.8977, allocations: 0 / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8977, allocations: 3.969 kB / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.811e-05/0.8978, allocations: 167.9 kB / 1.118 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.8978, allocations: 81.14 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.8978, allocations: 0 / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.459e-05/0.8979, allocations: 3.938 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.8979, allocations: 2.531 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.8979, allocations: 0 / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.324e-05/0.898, allocations: 93.66 kB / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.898, allocations: 0 / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002421/0.8982, allocations: 15.44 kB / 1.118 GB, free: 29.47 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001459/0.8984, allocations: 106.5 kB / 1.118 GB, free: 29.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.8985, allocations: 88.69 kB / 1.118 GB, free: 29.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8985, allocations: 0 / 1.118 GB, free: 29.31 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.984e-05/0.8985, allocations: 63.03 kB / 1.118 GB, free: 29.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.8987, allocations: 6.016 kB / 1.118 GB, free: 29.24 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002075/0.899, allocations: 113.5 kB / 1.118 GB, free: 29.13 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.8992, allocations: 0.6803 MB / 1.119 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.856e-05/0.8993, allocations: 10.95 kB / 1.119 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.078e-05/0.8993, allocations: 7.438 kB / 1.119 GB, free: 28.43 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.8993, allocations: 0 / 1.119 GB, free: 28.43 MB / 0.698 GB Notification: Performance of Templates: time 0.002285/0.9016, allocations: 0.4887 MB / 1.12 GB, free: 28.38 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)