Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.293/1.293, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009082/0.0009082, allocations: 184.1 kB / 327.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.4 MB / 0.5785 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007746/0.0007746, allocations: 92.84 kB / 0.6831 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003555, allocations: 19.22 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1793, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.3247, allocations: 130.9 MB / 1.029 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.3249, allocations: 75.95 kB / 1.029 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001271/0.3262, allocations: 0.563 MB / 1.03 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.455e-06/0.3263, allocations: 0 / 1.03 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3263, allocations: 4 kB / 1.03 GB, free: 12.28 MB / 0.6823 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.0002601/0.3265, allocations: 342.3 kB / 1.03 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.3266, allocations: 8.031 kB / 1.03 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.3266, allocations: 4.938 kB / 1.03 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.894e-05/0.3267, allocations: 164.3 kB / 1.03 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.3267, allocations: 384 / 1.03 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.3268, allocations: 4.375 kB / 1.03 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.3269, allocations: 66.17 kB / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.3269, allocations: 192 / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3269, allocations: 3.938 kB / 1.03 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.327, allocations: 4 kB / 1.03 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.88e-05/0.327, allocations: 19.98 kB / 1.03 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.3273, allocations: 268.8 kB / 1.031 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.012e-05/0.3274, allocations: 22.56 kB / 1.031 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.503e-05/0.3274, allocations: 12.8 kB / 1.031 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.3274, allocations: 0 / 1.031 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.3274, allocations: 34.62 kB / 1.031 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.3274, allocations: 0 / 1.031 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.000157/0.3276, allocations: 67.39 kB / 1.031 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.3277, allocations: 81.05 kB / 1.031 GB, free: 11 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.57e-05/0.3277, allocations: 109.8 kB / 1.031 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.3278, allocations: 29.83 kB / 1.031 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.3278, allocations: 107.8 kB / 1.031 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.3278, allocations: 7.906 kB / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.3278, allocations: 3.938 kB / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.784e-05/0.3279, allocations: 318.8 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.617e-05/0.328, allocations: 11.98 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.514e-05/0.328, allocations: 62.8 kB / 1.031 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.512e-05/0.3281, allocations: 135.7 kB / 1.032 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3281, allocations: 0 / 1.032 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001329/0.3283, allocations: 111.2 kB / 1.032 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.3283, allocations: 33.7 kB / 1.032 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3283, allocations: 480 / 1.032 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3283, allocations: 4 kB / 1.032 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.014e-05/0.3284, allocations: 20.17 kB / 1.032 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3284, allocations: 4 kB / 1.032 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.497e-05/0.3285, allocations: 15.84 kB / 1.032 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.3285, allocations: 4 kB / 1.032 GB, free: 9.934 MB / 0.6823 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 7.632e-05/0.3286, allocations: 143.5 kB / 1.032 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.3286, allocations: 0 / 1.032 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.649e-05/0.3286, allocations: 19.45 kB / 1.032 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3286, allocations: 0 / 1.032 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3286, allocations: 0 / 1.032 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3286, allocations: 4 kB / 1.032 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.3288, allocations: 153.6 kB / 1.032 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3288, allocations: 0 / 1.032 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.3288, allocations: 0 / 1.032 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3288, allocations: 0 / 1.032 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3288, allocations: 4 kB / 1.032 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3288, allocations: 0 / 1.032 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3288, allocations: 3.984 kB / 1.032 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.3289, allocations: 169.2 kB / 1.032 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.248e-05/0.329, allocations: 81.02 kB / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.329, allocations: 4 kB / 1.032 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.061e-05/0.3291, allocations: 4 kB / 1.032 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.3291, allocations: 4 kB / 1.032 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.3291, allocations: 4 kB / 1.032 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.79e-05/0.3291, allocations: 83.27 kB / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.774e-06/0.3291, allocations: 0 / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002513/0.3294, allocations: 27.88 kB / 1.032 GB, free: 9.133 MB / 0.6823 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.0001551/0.3296, allocations: 115.3 kB / 1.033 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.3297, allocations: 87.27 kB / 1.033 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3297, allocations: 0 / 1.033 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.812e-05/0.3297, allocations: 55.41 kB / 1.033 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.3299, allocations: 7.562 kB / 1.033 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/0.3301, allocations: 115.3 kB / 1.033 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.3304, allocations: 0.677 MB / 1.033 GB, free: 8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.357e-05/0.3304, allocations: 11.98 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.133e-05/0.3304, allocations: 7.438 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.3304, allocations: 0 / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of Templates: time 0.002255/0.3327, allocations: 497.8 kB / 1.034 GB, free: 7.504 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)