Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.665/1.665, allocations: 297.8 MB / 313.7 MB, free: 108 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 187.3 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 223.2 MB / 0.6626 GB, free: 4.27 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008531/0.0008531, allocations: 94.95 kB / 0.7808 GB, free: 50.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004705, allocations: 15.98 kB / 0.9088 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7186/0.7191, allocations: 120.3 MB / 1.026 GB, free: 55.83 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1761/0.8952, allocations: 140.4 MB / 1.163 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.8954, allocations: 76.09 kB / 1.164 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.001274/0.8967, allocations: 0.5581 MB / 1.164 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8968, allocations: 0 / 1.164 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.8968, allocations: 0.5625 kB / 1.164 GB, free: 2.266 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.0002054/0.897, allocations: 344.9 kB / 1.164 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.897, allocations: 8.688 kB / 1.164 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.8971, allocations: 7.094 kB / 1.164 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.349e-05/0.8971, allocations: 172.9 kB / 1.165 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.8972, allocations: 2.391 kB / 1.165 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.8972, allocations: 1.219 kB / 1.165 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.8973, allocations: 57.66 kB / 1.165 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.8973, allocations: 4.188 kB / 1.165 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.8973, allocations: 3.938 kB / 1.165 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.8974, allocations: 5.594 kB / 1.165 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.724e-05/0.8974, allocations: 21.55 kB / 1.165 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.8977, allocations: 265.6 kB / 1.165 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.619e-05/0.8977, allocations: 24 kB / 1.165 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.427e-05/0.8978, allocations: 8.422 kB / 1.165 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-06/0.8978, allocations: 3.312 kB / 1.165 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.8978, allocations: 31.88 kB / 1.165 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.452e-06/0.8978, allocations: 0 / 1.165 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001356/0.8979, allocations: 72.86 kB / 1.165 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.898, allocations: 78.3 kB / 1.165 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.651e-05/0.8981, allocations: 116.6 kB / 1.165 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.8981, allocations: 26.98 kB / 1.165 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.8981, allocations: 105.4 kB / 1.165 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.642e-06/0.8981, allocations: 5.406 kB / 1.165 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.8981, allocations: 6.094 kB / 1.165 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.364e-05/0.8982, allocations: 320.3 kB / 1.166 GB, free: 460 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.8982, allocations: 11.03 kB / 1.166 GB, free: 452 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.629e-05/0.8982, allocations: 56.12 kB / 1.166 GB, free: 376 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.258e-05/0.8983, allocations: 135.7 kB / 1.166 GB, free: 212 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.8983, allocations: 0 / 1.166 GB, free: 212 kB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001191/0.8985, allocations: 120.4 kB / 1.166 GB, free: 88 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.8985, allocations: 30.91 kB / 1.166 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8985, allocations: 4.844 kB / 1.166 GB, free: 48 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.8985, allocations: 5.25 kB / 1.166 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.32e-05/0.8986, allocations: 14.2 kB / 1.166 GB, free: 32 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.8986, allocations: 5.531 kB / 1.166 GB, free: 28 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/0.8986, allocations: 10.53 kB / 1.166 GB, free: 20 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.8987, allocations: 5.375 kB / 1.166 GB, free: 16 kB / 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 0.0001158/0.8988, allocations: 153.4 kB / 1.166 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.8988, allocations: 3.266 kB / 1.166 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.564e-05/0.8988, allocations: 8.094 kB / 1.166 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.8988, allocations: 2.406 kB / 1.166 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.8989, allocations: 1.828 kB / 1.166 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.8989, allocations: 1.312 kB / 1.166 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.899, allocations: 153.1 kB / 1.166 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.899, allocations: 0.6562 kB / 1.166 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-06/0.899, allocations: 0.5156 kB / 1.166 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.899, allocations: 0.875 kB / 1.166 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.899, allocations: 4.656 kB / 1.166 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.8991, allocations: 1.594 kB / 1.166 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.8991, allocations: 0 / 1.166 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.8992, allocations: 178.2 kB / 1.167 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.8993, allocations: 78.39 kB / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.8993, allocations: 0 / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.498e-05/0.8993, allocations: 5.328 kB / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.8994, allocations: 3.562 kB / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.8994, allocations: 0 / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.216e-05/0.8994, allocations: 89.08 kB / 1.167 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8994, allocations: 0 / 1.167 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002561/0.8997, allocations: 20.73 kB / 1.167 GB, free: 15.26 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 () * 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.0001483/0.8998, allocations: 106.7 kB / 1.167 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.9, allocations: 83.23 kB / 1.167 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/0.9, allocations: 4 kB / 1.167 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.539e-05/0.9, allocations: 57.39 kB / 1.167 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.9003, allocations: 2.203 kB / 1.167 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.9005, allocations: 114 kB / 1.167 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.9008, allocations: 0.6779 MB / 1.168 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.83e-05/0.9008, allocations: 14.08 kB / 1.168 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.316e-05/0.9008, allocations: 7.438 kB / 1.168 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/0.9008, allocations: 3.828 kB / 1.168 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of Templates: time 0.002401/0.9032, allocations: 0.4905 MB / 1.168 GB, free: 13.88 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)