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.795/1.795, allocations: 292.6 MB / 307.5 MB, free: 5.16 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.001359/0.001358, allocations: 181.1 kB / 377.1 MB, free: 1.516 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.64/1.64, allocations: 205.4 MB / 0.6367 GB, free: 8.617 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.001499/0.001498, allocations: 88.42 kB / 0.751 GB, free: 62.71 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005216/0.0005216, allocations: 8 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2608, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6626/0.9234, allocations: 138.2 MB / 1.123 GB, free: 36.15 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.9238, allocations: 78.72 kB / 1.123 GB, free: 36.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001518/0.9253, allocations: 0.5468 MB / 1.124 GB, free: 35.62 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.285e-06/0.9253, allocations: 0 / 1.124 GB, free: 35.62 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.9254, allocations: 1.094 kB / 1.124 GB, free: 35.62 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.0002595/0.9256, allocations: 346.3 kB / 1.124 GB, free: 35.24 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.9257, allocations: 8.562 kB / 1.124 GB, free: 35.23 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.86e-05/0.9258, allocations: 12.2 kB / 1.124 GB, free: 35.23 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.273e-05/0.9258, allocations: 163 kB / 1.124 GB, free: 35.03 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.9259, allocations: 1.641 kB / 1.124 GB, free: 35.03 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.9259, allocations: 2.812 kB / 1.124 GB, free: 35.03 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.9261, allocations: 56.7 kB / 1.125 GB, free: 34.97 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.9261, allocations: 4 kB / 1.125 GB, free: 34.97 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.9261, allocations: 0 / 1.125 GB, free: 34.97 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/0.9261, allocations: 8.25 kB / 1.125 GB, free: 34.96 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.146e-05/0.9262, allocations: 25 kB / 1.125 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.9266, allocations: 266.7 kB / 1.125 GB, free: 34.65 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.551e-05/0.9266, allocations: 22.45 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-06/0.9266, allocations: 0.6094 kB / 1.125 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.9267, allocations: 33.89 kB / 1.125 GB, free: 34.58 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.9267, allocations: 0 / 1.125 GB, free: 34.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.000202/0.9269, allocations: 67.31 kB / 1.125 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.9269, allocations: 89.06 kB / 1.125 GB, free: 34.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.913e-05/0.927, allocations: 104.3 kB / 1.125 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.927, allocations: 31.97 kB / 1.125 GB, free: 34.26 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.9271, allocations: 96.36 kB / 1.125 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.867e-06/0.9271, allocations: 8 kB / 1.125 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.9271, allocations: 0 / 1.125 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.906e-05/0.9272, allocations: 315.3 kB / 1.126 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.9272, allocations: 19.17 kB / 1.126 GB, free: 33.83 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.671e-05/0.9272, allocations: 58.88 kB / 1.126 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.161e-05/0.9273, allocations: 53.67 kB / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9273, allocations: 0 / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001241/0.9274, allocations: 118 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.9275, allocations: 33.7 kB / 1.126 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.9275, allocations: 0 / 1.126 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.9275, allocations: 4 kB / 1.126 GB, free: 33.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.835e-05/0.9276, allocations: 15.38 kB / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.9276, allocations: 5.438 kB / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.367e-05/0.9277, allocations: 11.89 kB / 1.126 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.9277, allocations: 8.5 kB / 1.126 GB, free: 33.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.851e-05/0.9278, allocations: 147 kB / 1.126 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.9278, allocations: 8.844 kB / 1.126 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.741e-05/0.9278, allocations: 3.531 kB / 1.126 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.9278, allocations: 0.75 kB / 1.126 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.9278, allocations: 0 / 1.126 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.9278, allocations: 0 / 1.126 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.928, allocations: 161.9 kB / 1.126 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.928, allocations: 0 / 1.126 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-07/0.928, allocations: 4 kB / 1.126 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.928, allocations: 0 / 1.126 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.928, allocations: 0.5 kB / 1.126 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.928, allocations: 4.266 kB / 1.126 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.928, allocations: 0 / 1.126 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.906e-05/0.9281, allocations: 166.2 kB / 1.126 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.9282, allocations: 85.44 kB / 1.126 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.9282, allocations: 4 kB / 1.126 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.619e-05/0.9283, allocations: 2.562 kB / 1.126 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.9283, allocations: 0 / 1.126 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.403e-06/0.9283, allocations: 4.562 kB / 1.126 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.493e-05/0.9283, allocations: 92.02 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9283, allocations: 0 / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002307/0.9286, allocations: 8 kB / 1.127 GB, free: 32.74 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 (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.0001746/0.9287, allocations: 115.5 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.9289, allocations: 86.61 kB / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9289, allocations: 0.5625 kB / 1.127 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.365e-05/0.9289, allocations: 59.41 kB / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.9291, allocations: 7.938 kB / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002256/0.9293, allocations: 120.2 kB / 1.127 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.9294, allocations: 0.6801 MB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.517e-05/0.9295, allocations: 13.89 kB / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.171e-05/0.9295, allocations: 7.438 kB / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.9295, allocations: 4 kB / 1.128 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of Templates: time 0.002692/0.9322, allocations: 484.4 kB / 1.128 GB, free: 31.34 MB / 0.7292 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)