Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.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.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.648/1.648, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001237/0.001237, allocations: 184.4 kB / 377.1 MB, free: 1.535 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.53/1.53, allocations: 205.4 MB / 0.6367 GB, free: 8.641 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.001004/0.001004, allocations: 85.48 kB / 0.751 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003893/0.0003893, allocations: 8 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3059, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7656/1.072, allocations: 140.8 MB / 1.126 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003677/1.072, allocations: 75.06 kB / 1.126 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0142/1.086, allocations: 5.036 MB / 1.131 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.765e-06/1.086, allocations: 0 / 1.131 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.123e-05/1.086, allocations: 4 kB / 1.131 GB, free: 30.6 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005521/1.087, allocations: 433.9 kB / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/1.087, allocations: 16.02 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007076/1.088, allocations: 113 kB / 1.131 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/1.088, allocations: 177.5 kB / 1.132 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/1.088, allocations: 65.14 kB / 1.132 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/1.088, allocations: 16 kB / 1.132 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/1.089, allocations: 189 kB / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/1.089, allocations: 0 / 1.132 GB, free: 29.61 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/1.089, allocations: 7.938 kB / 1.132 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/1.089, allocations: 4 kB / 1.132 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005923/1.089, allocations: 195.5 kB / 1.132 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/1.09, allocations: 0.4977 MB / 1.133 GB, free: 29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009219/1.091, allocations: 272.4 kB / 1.133 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/1.091, allocations: 0 / 1.133 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/1.091, allocations: 30.56 kB / 1.133 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/1.091, allocations: 4 kB / 1.133 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0009421/1.092, allocations: 313.9 kB / 1.133 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/1.092, allocations: 63.34 kB / 1.133 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.462e-05/1.092, allocations: 122.7 kB / 1.133 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/1.092, allocations: 25.7 kB / 1.133 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/1.092, allocations: 111.6 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/1.092, allocations: 15.19 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/1.092, allocations: 4 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.646e-05/1.093, allocations: 326.1 kB / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/1.093, allocations: 86.28 kB / 1.134 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/1.093, allocations: 112.8 kB / 1.134 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/1.093, allocations: 90.86 kB / 1.134 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/1.093, allocations: 0.6562 kB / 1.134 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007191/1.094, allocations: 237.5 kB / 1.134 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/1.094, allocations: 10.12 kB / 1.134 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.094, allocations: 5.156 kB / 1.134 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/1.094, allocations: 0 / 1.134 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/1.095, allocations: 52.56 kB / 1.134 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.095, allocations: 1.641 kB / 1.134 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/1.095, allocations: 34.05 kB / 1.134 GB, free: 27.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/1.095, allocations: 5.266 kB / 1.134 GB, free: 27.31 MB / 0.7292 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.095, allocations: 122.5 kB / 1.134 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/1.095, allocations: 14.2 kB / 1.134 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007218/1.096, allocations: 243 kB / 1.135 GB, free: 26.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/1.096, allocations: 0.6562 kB / 1.135 GB, free: 26.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.096, allocations: 0 / 1.135 GB, free: 26.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.096, allocations: 0.5156 kB / 1.135 GB, free: 26.98 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/1.096, allocations: 245.2 kB / 1.135 GB, free: 26.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.096, allocations: 4.5 kB / 1.135 GB, free: 26.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/1.096, allocations: 40.7 kB / 1.135 GB, free: 26.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/1.096, allocations: 4 kB / 1.135 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/1.096, allocations: 2.188 kB / 1.135 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/1.096, allocations: 0 / 1.135 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.096, allocations: 0.7969 kB / 1.135 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006729/1.097, allocations: 332.7 kB / 1.135 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.445e-05/1.097, allocations: 81.91 kB / 1.135 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/1.097, allocations: 7.938 kB / 1.135 GB, free: 26.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/1.097, allocations: 44.42 kB / 1.135 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/1.098, allocations: 6.812 kB / 1.135 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/1.098, allocations: 6.812 kB / 1.135 GB, free: 26.24 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.575e-05/1.098, allocations: 106.5 kB / 1.136 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.098, allocations: 0 / 1.136 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002711/1.098, allocations: 28.69 kB / 1.136 GB, free: 26.12 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 (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.0001487/1.098, allocations: 96.14 kB / 1.136 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006844/1.099, allocations: 203.5 kB / 1.136 GB, free: 25.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.099, allocations: 0 / 1.136 GB, free: 25.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/1.099, allocations: 101.9 kB / 1.136 GB, free: 25.78 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/1.099, allocations: 9.266 kB / 1.136 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006824/1.1, allocations: 305.4 kB / 1.136 GB, free: 25.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/1.1, allocations: 0.703 MB / 1.137 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001101/1.1, allocations: 16.08 kB / 1.137 GB, free: 24.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/1.1, allocations: 14.11 kB / 1.137 GB, free: 24.74 MB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/1.1, allocations: 4 kB / 1.137 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of Templates: time 0.004147/1.105, allocations: 1.301 MB / 1.138 GB, free: 24.04 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)