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.977/2.977, allocations: 284.8 MB / 297.3 MB, free: 6.359 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.002228/0.002228, allocations: 188.8 kB / 365.7 MB, free: 2.566 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.168/2.168, allocations: 205.1 MB / 0.6241 GB, free: 8.152 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 95.27 kB / 0.7372 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.556e-05/3.572e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8569/0.8569, allocations: 115.2 MB / 0.97 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2667/1.124, allocations: 139.6 MB / 1.106 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/1.124, allocations: 71.95 kB / 1.106 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02846/1.153, allocations: 5.041 MB / 1.111 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.763e-06/1.153, allocations: 1.844 kB / 1.111 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.293e-05/1.153, allocations: 6.969 kB / 1.111 GB, free: 7.727 MB / 0.7136 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.0007159/1.153, allocations: 405.8 kB / 1.112 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/1.153, allocations: 12.03 kB / 1.112 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/1.155, allocations: 114.1 kB / 1.112 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/1.155, allocations: 190.7 kB / 1.112 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/1.155, allocations: 67.39 kB / 1.112 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/1.155, allocations: 8 kB / 1.112 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/1.155, allocations: 119.2 kB / 1.112 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/1.156, allocations: 0 / 1.112 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/1.156, allocations: 0 / 1.112 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/1.156, allocations: 0 / 1.112 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/1.156, allocations: 86.88 kB / 1.112 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/1.158, allocations: 0.4964 MB / 1.113 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/1.159, allocations: 173.4 kB / 1.113 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/1.159, allocations: 36.97 kB / 1.113 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/1.159, allocations: 4 kB / 1.113 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/1.159, allocations: 34.56 kB / 1.113 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 3.016e-06/1.159, allocations: 0 / 1.113 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0004465/1.16, allocations: 101.7 kB / 1.113 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/1.16, allocations: 59.41 kB / 1.113 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/1.16, allocations: 127.5 kB / 1.113 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/1.16, allocations: 25.7 kB / 1.113 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.636e-05/1.16, allocations: 112.1 kB / 1.113 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/1.16, allocations: 19.66 kB / 1.113 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/1.16, allocations: 4 kB / 1.113 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001945/1.16, allocations: 322.8 kB / 1.114 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/1.16, allocations: 36 kB / 1.114 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/1.161, allocations: 54.56 kB / 1.114 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/1.161, allocations: 35.98 kB / 1.114 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.161, allocations: 0 / 1.114 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003578/1.161, allocations: 117.5 kB / 1.114 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/1.161, allocations: 8 kB / 1.114 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.161, allocations: 0 / 1.114 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/1.161, allocations: 4.062 kB / 1.114 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/1.162, allocations: 43.95 kB / 1.114 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/1.162, allocations: 0 / 1.114 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/1.162, allocations: 39.95 kB / 1.114 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/1.162, allocations: 7.953 kB / 1.114 GB, free: 4.695 MB / 0.7136 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 () * 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.0001197/1.162, allocations: 108.9 kB / 1.114 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/1.162, allocations: 11.91 kB / 1.114 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/1.163, allocations: 119.4 kB / 1.114 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/1.163, allocations: 0 / 1.114 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.163, allocations: 3.938 kB / 1.114 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.163, allocations: 4 kB / 1.114 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/1.163, allocations: 256 kB / 1.115 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.163, allocations: 1.219 kB / 1.115 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004673/1.164, allocations: 47.88 kB / 1.115 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/1.164, allocations: 3.125 kB / 1.115 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/1.164, allocations: 4 kB / 1.115 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/1.164, allocations: 4 kB / 1.115 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.164, allocations: 0 / 1.115 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/1.164, allocations: 203.4 kB / 1.115 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/1.164, allocations: 81.02 kB / 1.115 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/1.164, allocations: 8 kB / 1.115 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005648/1.165, allocations: 47.94 kB / 1.115 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/1.165, allocations: 0 / 1.115 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/1.165, allocations: 11.97 kB / 1.115 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001058/1.165, allocations: 107.3 kB / 1.115 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.1e-07/1.165, allocations: 3.844 kB / 1.115 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003516/1.165, allocations: 27.95 kB / 1.115 GB, free: 3.57 MB / 0.7136 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 () * 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.0001674/1.166, allocations: 99.19 kB / 1.115 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003228/1.166, allocations: 79.98 kB / 1.115 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.166, allocations: 0 / 1.115 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/1.166, allocations: 47.92 kB / 1.115 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/1.166, allocations: 8 kB / 1.115 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005019/1.167, allocations: 137.5 kB / 1.115 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/1.167, allocations: 0.718 MB / 1.116 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001761/1.167, allocations: 12.19 kB / 1.116 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.044e-05/1.167, allocations: 15.42 kB / 1.116 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of SimCode: time 8.21e-07/1.167, allocations: 0 / 1.116 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of Templates: time 0.005517/1.173, allocations: 1.314 MB / 1.117 GB, free: 1.129 MB / 0.7136 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)