Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.725/1.725, allocations: 288.3 MB / 303.2 MB, free: 8.156 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.001105/0.001104, allocations: 183 kB / 371.8 MB, free: 10.26 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.728/1.728, allocations: 205.4 MB / 0.6306 GB, free: 9.988 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.0009247/0.0009246, allocations: 90.92 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004175, allocations: 17 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3139, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8385/1.153, allocations: 139.8 MB / 1.116 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/1.153, allocations: 76.83 kB / 1.116 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01501/1.168, allocations: 5.043 MB / 1.121 GB, free: 31.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.176e-06/1.168, allocations: 3.938 kB / 1.121 GB, free: 31.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.578e-05/1.168, allocations: 3.875 kB / 1.121 GB, free: 31.79 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.0007189/1.169, allocations: 424 kB / 1.121 GB, free: 31.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.169, allocations: 15.77 kB / 1.121 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007478/1.17, allocations: 115 kB / 1.122 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/1.17, allocations: 182.9 kB / 1.122 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/1.17, allocations: 62.56 kB / 1.122 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/1.17, allocations: 18.03 kB / 1.122 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005667/1.171, allocations: 189 kB / 1.122 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/1.171, allocations: 0 / 1.122 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/1.171, allocations: 3.312 kB / 1.122 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/1.171, allocations: 7.906 kB / 1.122 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005934/1.171, allocations: 191.5 kB / 1.122 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/1.172, allocations: 0.5005 MB / 1.123 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000977/1.173, allocations: 267.9 kB / 1.123 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/1.174, allocations: 0 / 1.123 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/1.174, allocations: 42.34 kB / 1.123 GB, free: 30.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/1.174, allocations: 0 / 1.123 GB, free: 30.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.001018/1.175, allocations: 310.2 kB / 1.123 GB, free: 30.63 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/1.175, allocations: 55.28 kB / 1.123 GB, free: 30.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/1.175, allocations: 121.5 kB / 1.123 GB, free: 30.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/1.175, allocations: 29.64 kB / 1.123 GB, free: 30.44 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.942e-05/1.175, allocations: 119.4 kB / 1.124 GB, free: 30.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/1.175, allocations: 15.28 kB / 1.124 GB, free: 30.33 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/1.175, allocations: 0 / 1.124 GB, free: 30.33 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.175, allocations: 325.3 kB / 1.124 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/1.175, allocations: 97.3 kB / 1.124 GB, free: 30.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/1.176, allocations: 116.2 kB / 1.124 GB, free: 29.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/1.176, allocations: 93.72 kB / 1.124 GB, free: 29.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/1.176, allocations: 0 / 1.124 GB, free: 29.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000654/1.177, allocations: 234.2 kB / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/1.177, allocations: 7.922 kB / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.177, allocations: 0 / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/1.177, allocations: 3.906 kB / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/1.177, allocations: 41.62 kB / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/1.177, allocations: 0 / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/1.177, allocations: 40.77 kB / 1.124 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/1.177, allocations: 6.734 kB / 1.124 GB, free: 29.92 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.000121/1.177, allocations: 121 kB / 1.125 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/1.178, allocations: 7.531 kB / 1.125 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006626/1.178, allocations: 243.5 kB / 1.125 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.178, allocations: 0 / 1.125 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.178, allocations: 2.625 kB / 1.125 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.178, allocations: 0 / 1.125 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/1.178, allocations: 237.5 kB / 1.125 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.178, allocations: 4 kB / 1.125 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/1.179, allocations: 42.23 kB / 1.125 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/1.179, allocations: 0 / 1.125 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/1.179, allocations: 2.953 kB / 1.125 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.179, allocations: 7.938 kB / 1.125 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.179, allocations: 0 / 1.125 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006743/1.179, allocations: 322.5 kB / 1.125 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/1.179, allocations: 87.78 kB / 1.126 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/1.18, allocations: 0 / 1.126 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/1.18, allocations: 44.7 kB / 1.126 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/1.18, allocations: 12.05 kB / 1.126 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/1.18, allocations: 6.141 kB / 1.126 GB, free: 29.29 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.065e-05/1.18, allocations: 106.6 kB / 1.126 GB, free: 29.22 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.18, allocations: 4 kB / 1.126 GB, free: 29.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002628/1.18, allocations: 30.28 kB / 1.126 GB, free: 29.21 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.000152/1.18, allocations: 94.69 kB / 1.126 GB, free: 29.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006125/1.181, allocations: 205.4 kB / 1.126 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.181, allocations: 0 / 1.126 GB, free: 29.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002787/1.181, allocations: 104.9 kB / 1.126 GB, free: 29.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/1.182, allocations: 15.69 kB / 1.126 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006704/1.182, allocations: 297.2 kB / 1.126 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/1.183, allocations: 0.7022 MB / 1.127 GB, free: 28.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001081/1.183, allocations: 19.44 kB / 1.127 GB, free: 28.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.739e-05/1.183, allocations: 14.19 kB / 1.127 GB, free: 28.2 MB / 0.698 GB Notification: Performance of SimCode: time 2.91e-07/1.183, allocations: 4 kB / 1.127 GB, free: 28.19 MB / 0.698 GB Notification: Performance of Templates: time 0.003822/1.187, allocations: 1.312 MB / 1.128 GB, free: 28.1 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)