Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.732/2.732, allocations: 287.5 MB / 302.4 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.001569, allocations: 185.9 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 0.6297 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 93.72 kB / 0.743 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00047/0.0004701, allocations: 16.12 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2299, allocations: 115.3 MB / 0.9784 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9139/1.144, allocations: 139.7 MB / 1.115 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/1.144, allocations: 80.58 kB / 1.115 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02312/1.167, allocations: 5.032 MB / 1.12 GB, free: 31.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/1.167, allocations: 0 / 1.12 GB, free: 31.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.147e-05/1.167, allocations: 3.844 kB / 1.12 GB, free: 31.07 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.0007078/1.168, allocations: 431.8 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/1.168, allocations: 11.7 kB / 1.12 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/1.169, allocations: 112.1 kB / 1.12 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/1.169, allocations: 181.5 kB / 1.12 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/1.17, allocations: 68.5 kB / 1.121 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/1.17, allocations: 14.81 kB / 1.121 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009081/1.171, allocations: 191.6 kB / 1.121 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/1.171, allocations: 0 / 1.121 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/1.171, allocations: 3.125 kB / 1.121 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/1.171, allocations: 3.844 kB / 1.121 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/1.172, allocations: 198.6 kB / 1.121 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/1.173, allocations: 492.8 kB / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/1.175, allocations: 274.4 kB / 1.122 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/1.175, allocations: 6.875 kB / 1.122 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/1.175, allocations: 38.44 kB / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 2.675e-06/1.175, allocations: 0 / 1.122 GB, free: 29.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.001811/1.177, allocations: 310.3 kB / 1.122 GB, free: 29.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/1.177, allocations: 55.41 kB / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/1.178, allocations: 125.7 kB / 1.122 GB, free: 29.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/1.178, allocations: 25.7 kB / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.944e-05/1.178, allocations: 112.1 kB / 1.122 GB, free: 29.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/1.178, allocations: 18.19 kB / 1.122 GB, free: 29.63 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/1.178, allocations: 3.938 kB / 1.122 GB, free: 29.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.178, allocations: 330.6 kB / 1.123 GB, free: 29.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005471/1.178, allocations: 87.77 kB / 1.123 GB, free: 29.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005918/1.179, allocations: 118.7 kB / 1.123 GB, free: 29.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005522/1.18, allocations: 97.61 kB / 1.123 GB, free: 29.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.18, allocations: 0 / 1.123 GB, free: 29.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001222/1.181, allocations: 236.8 kB / 1.123 GB, free: 29.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.181, allocations: 7.625 kB / 1.123 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.181, allocations: 0 / 1.123 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/1.181, allocations: 0 / 1.123 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/1.181, allocations: 45.97 kB / 1.123 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/1.181, allocations: 6.922 kB / 1.123 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/1.182, allocations: 34.08 kB / 1.123 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/1.182, allocations: 3.875 kB / 1.123 GB, free: 29.21 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.0001961/1.182, allocations: 129.7 kB / 1.123 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.06e-05/1.182, allocations: 7.75 kB / 1.123 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/1.183, allocations: 245.1 kB / 1.124 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/1.183, allocations: 0 / 1.124 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/1.184, allocations: 3.781 kB / 1.124 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/1.184, allocations: 0 / 1.124 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/1.184, allocations: 240.9 kB / 1.124 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/1.184, allocations: 0 / 1.124 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/1.184, allocations: 43.11 kB / 1.124 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/1.184, allocations: 0 / 1.124 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/1.184, allocations: 10.45 kB / 1.124 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/1.184, allocations: 3.938 kB / 1.124 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.184, allocations: 0 / 1.124 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/1.186, allocations: 318.8 kB / 1.124 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/1.186, allocations: 87.94 kB / 1.124 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/1.186, allocations: 192 / 1.124 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005452/1.186, allocations: 50.22 kB / 1.124 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/1.186, allocations: 7.156 kB / 1.124 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/1.186, allocations: 6.688 kB / 1.124 GB, free: 28.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001252/1.187, allocations: 105.5 kB / 1.124 GB, free: 28.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.187, allocations: 7.875 kB / 1.124 GB, free: 28.49 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003566/1.187, allocations: 29.75 kB / 1.124 GB, free: 28.48 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.0001744/1.187, allocations: 102.1 kB / 1.125 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001184/1.188, allocations: 201.7 kB / 1.125 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.188, allocations: 0 / 1.125 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005653/1.189, allocations: 103 kB / 1.125 GB, free: 28.37 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/1.189, allocations: 7.25 kB / 1.125 GB, free: 28.37 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/1.19, allocations: 299.8 kB / 1.125 GB, free: 28.19 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/1.191, allocations: 0.7065 MB / 1.126 GB, free: 27.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000181/1.191, allocations: 11.97 kB / 1.126 GB, free: 27.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.759e-05/1.191, allocations: 14.38 kB / 1.126 GB, free: 27.48 MB / 0.698 GB Notification: Performance of SimCode: time 1.373e-06/1.191, allocations: 0 / 1.126 GB, free: 27.48 MB / 0.698 GB Notification: Performance of Templates: time 0.004847/1.196, allocations: 1.305 MB / 1.127 GB, free: 27.39 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)