Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 289.7 MB / 302.2 MB, free: 2.188 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.001138/0.001139, allocations: 178 kB / 371.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.2 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009875/0.0009876, allocations: 93.55 kB / 0.745 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.674e-05/3.676e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3087, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.35, allocations: 138.1 MB / 1.115 GB, free: 45.26 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/1.35, allocations: 77.38 kB / 1.115 GB, free: 45.23 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.001434/1.351, allocations: 0.5535 MB / 1.115 GB, free: 44.79 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.404e-05/1.351, allocations: 0 / 1.115 GB, free: 44.79 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.095e-05/1.351, allocations: 4.688 kB / 1.115 GB, free: 44.78 MB / 0.7448 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.0002595/1.352, allocations: 335.3 kB / 1.116 GB, free: 44.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/1.352, allocations: 8.594 kB / 1.116 GB, free: 44.4 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/1.352, allocations: 11.27 kB / 1.116 GB, free: 44.4 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.38e-05/1.352, allocations: 164.9 kB / 1.116 GB, free: 44.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/1.352, allocations: 0.5938 kB / 1.116 GB, free: 44.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/1.352, allocations: 3.266 kB / 1.116 GB, free: 44.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/1.352, allocations: 60.36 kB / 1.116 GB, free: 44.14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.352, allocations: 0.6875 kB / 1.116 GB, free: 44.14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/1.352, allocations: 0 / 1.116 GB, free: 44.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/1.352, allocations: 8.281 kB / 1.116 GB, free: 44.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.311e-05/1.352, allocations: 19.44 kB / 1.116 GB, free: 44.12 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/1.353, allocations: 262.2 kB / 1.116 GB, free: 43.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.754e-05/1.353, allocations: 23.03 kB / 1.116 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/1.353, allocations: 9.531 kB / 1.116 GB, free: 43.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/1.353, allocations: 0.5 kB / 1.116 GB, free: 43.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/1.353, allocations: 40.64 kB / 1.116 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/1.353, allocations: 0 / 1.116 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0002003/1.353, allocations: 63.94 kB / 1.116 GB, free: 43.69 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/1.353, allocations: 84.53 kB / 1.116 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.127e-05/1.353, allocations: 103.7 kB / 1.116 GB, free: 43.49 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/1.353, allocations: 25.7 kB / 1.116 GB, free: 43.46 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/1.353, allocations: 110.8 kB / 1.117 GB, free: 43.36 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.387e-06/1.353, allocations: 3.125 kB / 1.117 GB, free: 43.36 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/1.353, allocations: 7.938 kB / 1.117 GB, free: 43.35 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.425e-05/1.353, allocations: 314.2 kB / 1.117 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.538e-05/1.353, allocations: 11.25 kB / 1.117 GB, free: 43.03 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.259e-05/1.354, allocations: 59.81 kB / 1.117 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.804e-05/1.354, allocations: 49.86 kB / 1.117 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.354, allocations: 0 / 1.117 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001556/1.354, allocations: 116.5 kB / 1.117 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/1.354, allocations: 33.22 kB / 1.117 GB, free: 42.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/1.354, allocations: 4 kB / 1.117 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/1.354, allocations: 8.812 kB / 1.117 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/1.354, allocations: 8 kB / 1.117 GB, free: 42.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/1.354, allocations: 8.781 kB / 1.117 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.807e-05/1.354, allocations: 15.64 kB / 1.117 GB, free: 42.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/1.354, allocations: 4 kB / 1.117 GB, free: 42.71 MB / 0.7448 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 () * 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 6.377e-05/1.354, allocations: 139.8 kB / 1.117 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/1.354, allocations: 7.906 kB / 1.117 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.076e-05/1.354, allocations: 3.656 kB / 1.117 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/1.354, allocations: 0.7031 kB / 1.117 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/1.354, allocations: 5.312 kB / 1.117 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.354, allocations: 0 / 1.117 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/1.354, allocations: 157 kB / 1.117 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.354, allocations: 3.062 kB / 1.117 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-07/1.354, allocations: 4 kB / 1.117 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/1.354, allocations: 0 / 1.117 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/1.354, allocations: 0 / 1.117 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/1.354, allocations: 3.422 kB / 1.118 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.354, allocations: 0 / 1.118 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/1.355, allocations: 169 kB / 1.118 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/1.355, allocations: 81.28 kB / 1.118 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/1.355, allocations: 4 kB / 1.118 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.099e-05/1.355, allocations: 0 / 1.118 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.138e-05/1.355, allocations: 0 / 1.118 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/1.355, allocations: 5.219 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.946e-05/1.355, allocations: 92.19 kB / 1.118 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.9e-07/1.355, allocations: 0 / 1.118 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002596/1.355, allocations: 16.28 kB / 1.118 GB, free: 41.98 MB / 0.7448 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 () * 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.0001739/1.355, allocations: 108.1 kB / 1.118 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001208/1.355, allocations: 85.91 kB / 1.118 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.355, allocations: 0 / 1.118 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.608e-05/1.355, allocations: 56.06 kB / 1.118 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/1.355, allocations: 12.69 kB / 1.118 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/1.356, allocations: 73.5 kB / 1.118 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/1.356, allocations: 0.6766 MB / 1.119 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.366e-05/1.356, allocations: 17.62 kB / 1.119 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.553e-05/1.356, allocations: 7.438 kB / 1.119 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/1.356, allocations: 4.938 kB / 1.119 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.002249/1.358, allocations: 490.8 kB / 1.119 GB, free: 40.64 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)