Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.616/1.616, allocations: 288.4 MB / 304.3 MB, free: 8.012 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.00101/0.00101, allocations: 184.5 kB / 373 MB, free: 10.14 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.325/1.325, allocations: 205.4 MB / 0.6317 GB, free: 9.91 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.0006793/0.0006793, allocations: 96.17 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 12.84 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1966, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6393/0.836, allocations: 138.8 MB / 1.116 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.8363, allocations: 78.84 kB / 1.116 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004077/0.8404, allocations: 1.392 MB / 1.118 GB, free: 32.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8404, allocations: 1.594 kB / 1.118 GB, free: 32.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.8404, allocations: 4 kB / 1.118 GB, free: 32.06 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003145/0.8407, allocations: 353.6 kB / 1.118 GB, free: 31.69 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.8407, allocations: 11.56 kB / 1.118 GB, free: 31.69 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.8408, allocations: 0.9375 kB / 1.118 GB, free: 31.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.641e-05/0.8409, allocations: 176.1 kB / 1.118 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.8409, allocations: 4.312 kB / 1.118 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.8409, allocations: 4.312 kB / 1.118 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.8411, allocations: 47.39 kB / 1.118 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.8411, allocations: 192 / 1.118 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.8411, allocations: 7.75 kB / 1.118 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.8411, allocations: 0.6875 kB / 1.118 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.166e-05/0.8412, allocations: 25.48 kB / 1.118 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.8415, allocations: 244.8 kB / 1.119 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.52e-05/0.8416, allocations: 44.33 kB / 1.119 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/0.8416, allocations: 23.22 kB / 1.119 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000555/0.8422, allocations: 469.5 kB / 1.119 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.8422, allocations: 33.75 kB / 1.119 GB, free: 30.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8422, allocations: 0 / 1.119 GB, free: 30.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002691/0.8425, allocations: 72.64 kB / 1.119 GB, free: 30.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.8426, allocations: 55.34 kB / 1.119 GB, free: 30.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.8427, allocations: 115.3 kB / 1.119 GB, free: 30.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.8427, allocations: 25.7 kB / 1.119 GB, free: 30.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.8428, allocations: 84.02 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.8428, allocations: 6.344 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.8428, allocations: 3.844 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.843, allocations: 311 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.473e-05/0.843, allocations: 18.56 kB / 1.12 GB, free: 29.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.055e-05/0.8431, allocations: 10.61 kB / 1.12 GB, free: 29.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.516e-05/0.8431, allocations: 31.3 kB / 1.12 GB, free: 29.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8432, allocations: 1.641 kB / 1.12 GB, free: 29.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001161/0.8433, allocations: 63.77 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.8433, allocations: 10.95 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.8433, allocations: 4 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.8433, allocations: 0 / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.637e-05/0.8434, allocations: 3.781 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.8434, allocations: 3.812 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.108e-05/0.8435, allocations: 3.281 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.8435, allocations: 32 / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 7.556e-05/0.8436, allocations: 121.5 kB / 1.12 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.8436, allocations: 7.5 kB / 1.12 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.8437, allocations: 66.34 kB / 1.12 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.8438, allocations: 0 / 1.12 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8438, allocations: 0 / 1.12 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.8438, allocations: 3.375 kB / 1.12 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.8439, allocations: 172 kB / 1.12 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.8439, allocations: 0 / 1.12 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.844, allocations: 11.11 kB / 1.12 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.844, allocations: 0 / 1.12 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.844, allocations: 3.844 kB / 1.12 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.844, allocations: 0 / 1.12 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.844, allocations: 0 / 1.12 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.8442, allocations: 156.4 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.8442, allocations: 80.98 kB / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.8443, allocations: 3.328 kB / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.597e-05/0.8443, allocations: 3.656 kB / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.8444, allocations: 0 / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-06/0.8444, allocations: 0 / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.633e-05/0.8444, allocations: 88.95 kB / 1.121 GB, free: 29.26 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8444, allocations: 0 / 1.121 GB, free: 29.26 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002332/0.8447, allocations: 26.69 kB / 1.121 GB, free: 29.25 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 (2): * Single equations (assignments): 2 * 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.0001961/0.8449, allocations: 121 kB / 1.121 GB, free: 29.15 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.845, allocations: 25.84 kB / 1.121 GB, free: 29.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.845, allocations: 0 / 1.121 GB, free: 29.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.236e-05/0.8451, allocations: 18.77 kB / 1.121 GB, free: 29.15 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.8453, allocations: 6.469 kB / 1.121 GB, free: 29.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/0.8456, allocations: 140.5 kB / 1.121 GB, free: 29.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.8458, allocations: 0.6799 MB / 1.122 GB, free: 28.33 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.535e-05/0.8458, allocations: 7.812 kB / 1.122 GB, free: 28.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.536e-05/0.8459, allocations: 7.438 kB / 1.122 GB, free: 28.32 MB / 0.698 GB Notification: Performance of SimCode: time 1.91e-07/0.8459, allocations: 4.062 kB / 1.122 GB, free: 28.31 MB / 0.698 GB Notification: Performance of Templates: time 0.002239/0.8481, allocations: 0.6038 MB / 1.122 GB, free: 28.24 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)