Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.505/2.505, allocations: 287.5 MB / 303.2 MB, free: 8.203 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.001329/0.001329, allocations: 180.7 kB / 371.8 MB, free: 10.82 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.094/2.094, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009246/0.0009241, allocations: 88.69 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004797, allocations: 10.53 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2075, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8921/1.1, allocations: 139.7 MB / 1.116 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/1.1, allocations: 79.36 kB / 1.116 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02295/1.123, allocations: 5.061 MB / 1.121 GB, free: 31.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.106e-06/1.123, allocations: 0 / 1.121 GB, free: 31.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.576e-06/1.123, allocations: 11.75 kB / 1.121 GB, free: 31.23 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006984/1.124, allocations: 427.5 kB / 1.121 GB, free: 30.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/1.124, allocations: 10.2 kB / 1.121 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/1.125, allocations: 115.8 kB / 1.121 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/1.125, allocations: 182.2 kB / 1.121 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/1.125, allocations: 66.48 kB / 1.122 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/1.125, allocations: 8.094 kB / 1.122 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008189/1.126, allocations: 185.5 kB / 1.122 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/1.126, allocations: 10.36 kB / 1.122 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/1.126, allocations: 3.875 kB / 1.122 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/1.126, allocations: 0 / 1.122 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/1.127, allocations: 192.7 kB / 1.122 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/1.129, allocations: 0.5017 MB / 1.122 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/1.131, allocations: 270.9 kB / 1.123 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/1.131, allocations: 98.48 kB / 1.123 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/1.131, allocations: 0 / 1.123 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/1.131, allocations: 38.12 kB / 1.123 GB, free: 30.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/1.131, allocations: 0 / 1.123 GB, free: 30.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.00173/1.133, allocations: 314.6 kB / 1.123 GB, free: 30.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/1.133, allocations: 59.25 kB / 1.123 GB, free: 30 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/1.133, allocations: 139.3 kB / 1.123 GB, free: 29.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/1.133, allocations: 29.64 kB / 1.123 GB, free: 29.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/1.133, allocations: 107.6 kB / 1.123 GB, free: 29.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/1.133, allocations: 23.22 kB / 1.123 GB, free: 29.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/1.133, allocations: 3.25 kB / 1.123 GB, free: 29.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.133, allocations: 320.8 kB / 1.124 GB, free: 29.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005195/1.134, allocations: 92.98 kB / 1.124 GB, free: 29.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/1.135, allocations: 113.1 kB / 1.124 GB, free: 29.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/1.136, allocations: 206.6 kB / 1.124 GB, free: 29.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.136, allocations: 0 / 1.124 GB, free: 29.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001148/1.137, allocations: 238.7 kB / 1.124 GB, free: 29.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/1.137, allocations: 3.812 kB / 1.124 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.137, allocations: 160 / 1.124 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/1.137, allocations: 3.875 kB / 1.124 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004368/1.137, allocations: 53.11 kB / 1.124 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/1.137, allocations: 7.922 kB / 1.124 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/1.138, allocations: 32.05 kB / 1.124 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/1.138, allocations: 3.906 kB / 1.124 GB, free: 29.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001523/1.138, allocations: 128.8 kB / 1.125 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/1.138, allocations: 7.719 kB / 1.125 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/1.139, allocations: 236.4 kB / 1.125 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/1.139, allocations: 7.812 kB / 1.125 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.139, allocations: 0 / 1.125 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.139, allocations: 0 / 1.125 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/1.14, allocations: 242.8 kB / 1.125 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.14, allocations: 3.938 kB / 1.125 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/1.14, allocations: 39.33 kB / 1.125 GB, free: 28.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.14, allocations: 7.844 kB / 1.125 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/1.14, allocations: 3.188 kB / 1.125 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/1.14, allocations: 3.938 kB / 1.125 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.14, allocations: 0 / 1.125 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/1.141, allocations: 320.4 kB / 1.125 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/1.141, allocations: 81.02 kB / 1.125 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/1.141, allocations: 7.625 kB / 1.125 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005281/1.142, allocations: 51.22 kB / 1.126 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/1.142, allocations: 6.531 kB / 1.126 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/1.142, allocations: 6.562 kB / 1.126 GB, free: 28.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.305e-05/1.142, allocations: 107.8 kB / 1.126 GB, free: 28.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.6e-07/1.142, allocations: 3.938 kB / 1.126 GB, free: 28.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000352/1.142, allocations: 26.97 kB / 1.126 GB, free: 28.58 MB / 0.698 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0001439/1.143, allocations: 97.81 kB / 1.126 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001141/1.144, allocations: 196.8 kB / 1.126 GB, free: 28.49 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.144, allocations: 0 / 1.126 GB, free: 28.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005363/1.144, allocations: 104.7 kB / 1.126 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/1.145, allocations: 9.812 kB / 1.126 GB, free: 28.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009198/1.146, allocations: 306.6 kB / 1.126 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/1.146, allocations: 0.701 MB / 1.127 GB, free: 27.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001778/1.146, allocations: 22.67 kB / 1.127 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.962e-05/1.146, allocations: 11.28 kB / 1.127 GB, free: 27.58 MB / 0.698 GB Notification: Performance of SimCode: time 7.42e-07/1.146, allocations: 0 / 1.127 GB, free: 27.58 MB / 0.698 GB Notification: Performance of Templates: time 0.004452/1.151, allocations: 1.316 MB / 1.128 GB, free: 27.5 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)