Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.753/3.753, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.002108/0.002108, allocations: 176.4 kB / 326.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.111/4.111, allocations: 205.4 MB / 0.5772 GB, free: 20.73 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.001519/0.001519, allocations: 103.5 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007717/0.0007719, allocations: 17.12 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3458, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3305/0.6764, allocations: 130.7 MB / 1.027 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004759/0.677, allocations: 79.95 kB / 1.027 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002569/0.6796, allocations: 0.5591 MB / 1.028 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.851e-06/0.6797, allocations: 0 / 1.028 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.6797, allocations: 7.938 kB / 1.028 GB, free: 13.96 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.0004243/0.6801, allocations: 346.5 kB / 1.028 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.6802, allocations: 12.03 kB / 1.028 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/0.6803, allocations: 8.875 kB / 1.028 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.6804, allocations: 164.3 kB / 1.028 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.6805, allocations: 384 / 1.028 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.6805, allocations: 384 / 1.028 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.6807, allocations: 62.17 kB / 1.028 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.6808, allocations: 8.188 kB / 1.028 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.6808, allocations: 7.922 kB / 1.028 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-05/0.6809, allocations: 7.984 kB / 1.028 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.681, allocations: 19.98 kB / 1.028 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006378/0.6817, allocations: 264.8 kB / 1.029 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.878e-05/0.6818, allocations: 26.52 kB / 1.029 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.6818, allocations: 4.859 kB / 1.029 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-06/0.6819, allocations: 0 / 1.029 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.6819, allocations: 30.56 kB / 1.029 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 2.885e-06/0.6819, allocations: 8.062 kB / 1.029 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0003035/0.6823, allocations: 67.39 kB / 1.029 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.6824, allocations: 77.11 kB / 1.029 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.6825, allocations: 109.8 kB / 1.029 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.6826, allocations: 29.7 kB / 1.029 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.655e-05/0.6827, allocations: 103.8 kB / 1.029 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.6827, allocations: 11.84 kB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-06/0.6828, allocations: 0 / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.683, allocations: 322.9 kB / 1.029 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.854e-05/0.683, allocations: 11.98 kB / 1.029 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.6832, allocations: 50.95 kB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.6834, allocations: 49.69 kB / 1.03 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.6834, allocations: 4 kB / 1.03 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003395/0.6838, allocations: 115.2 kB / 1.03 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.939e-05/0.6838, allocations: 33.69 kB / 1.03 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.6839, allocations: 4.25 kB / 1.03 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.6839, allocations: 4 kB / 1.03 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.6841, allocations: 15.94 kB / 1.03 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.6841, allocations: 3.938 kB / 1.03 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.6843, allocations: 19.84 kB / 1.03 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.6843, allocations: 4 kB / 1.03 GB, free: 11.71 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 0.0001599/0.6845, allocations: 143.5 kB / 1.03 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.6845, allocations: 4 kB / 1.03 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.6846, allocations: 7.531 kB / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.6846, allocations: 4 kB / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6846, allocations: 0 / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.6846, allocations: 0 / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.6849, allocations: 161.6 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.685, allocations: 3.938 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-06/0.685, allocations: 0 / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.685, allocations: 0 / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.685, allocations: 0 / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.685, allocations: 0 / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.685, allocations: 7.922 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.6853, allocations: 165.2 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.6854, allocations: 85.02 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.6854, allocations: 3.984 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.6856, allocations: 4 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.6857, allocations: 4 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.6857, allocations: 0 / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.444e-05/0.6858, allocations: 87.73 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.91e-07/0.6858, allocations: 0 / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006119/0.6865, allocations: 23.97 kB / 1.03 GB, free: 10.91 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.0002858/0.6868, allocations: 103.2 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.6871, allocations: 87.27 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6871, allocations: 0 / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.753e-05/0.6872, allocations: 55.41 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.6877, allocations: 10.55 kB / 1.031 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.6881, allocations: 119.9 kB / 1.031 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.6886, allocations: 0.677 MB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.6887, allocations: 11.98 kB / 1.031 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.6888, allocations: 7.438 kB / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of SimCode: time 1.753e-06/0.6888, allocations: 0 / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of Templates: time 0.0053/0.6941, allocations: 494.9 kB / 1.032 GB, free: 9.281 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)