Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.281/1.281, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00087/0.00087, allocations: 182.2 kB / 327.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.4 MB / 0.5785 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007393/0.0007392, allocations: 84.23 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003948, allocations: 14.56 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1885, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.3366, allocations: 132.5 MB / 1.031 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.3368, allocations: 79.95 kB / 1.031 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003762/0.3406, allocations: 1.395 MB / 1.032 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3406, allocations: 4 kB / 1.032 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.3406, allocations: 0 / 1.032 GB, free: 9.895 MB / 0.6823 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.0003259/0.341, allocations: 352.6 kB / 1.032 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.341, allocations: 12.03 kB / 1.032 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.341, allocations: 4.844 kB / 1.032 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.3412, allocations: 172.3 kB / 1.033 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3412, allocations: 4.375 kB / 1.033 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.3412, allocations: 4.359 kB / 1.033 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.3413, allocations: 50.25 kB / 1.033 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.3413, allocations: 192 / 1.033 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.3414, allocations: 3.938 kB / 1.033 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3414, allocations: 0 / 1.033 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.3414, allocations: 27.92 kB / 1.033 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.3417, allocations: 256.9 kB / 1.033 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/0.3418, allocations: 34.52 kB / 1.033 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.3419, allocations: 16.91 kB / 1.033 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005648/0.3425, allocations: 477.4 kB / 1.033 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.3425, allocations: 34.5 kB / 1.033 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3425, allocations: 0 / 1.033 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002167/0.3427, allocations: 77.61 kB / 1.034 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.3428, allocations: 51.41 kB / 1.034 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.827e-05/0.3428, allocations: 113.8 kB / 1.034 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.3429, allocations: 25.7 kB / 1.034 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.3429, allocations: 88.14 kB / 1.034 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.3429, allocations: 3.906 kB / 1.034 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.3429, allocations: 0 / 1.034 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.576e-05/0.343, allocations: 323 kB / 1.034 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.742e-05/0.3431, allocations: 8 kB / 1.034 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.273e-05/0.3431, allocations: 11.98 kB / 1.034 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.449e-05/0.3432, allocations: 36.78 kB / 1.034 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3432, allocations: 4.062 kB / 1.034 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001066/0.3433, allocations: 61.53 kB / 1.034 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3433, allocations: 8 kB / 1.034 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3433, allocations: 0 / 1.034 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.3434, allocations: 0 / 1.034 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.191e-05/0.3434, allocations: 7.984 kB / 1.034 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3435, allocations: 0 / 1.034 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.221e-05/0.3435, allocations: 8.031 kB / 1.034 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.3435, allocations: 0 / 1.034 GB, free: 7.352 MB / 0.6823 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 6.456e-05/0.3436, allocations: 115.5 kB / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.3436, allocations: 4 kB / 1.034 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.3438, allocations: 65.14 kB / 1.034 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3438, allocations: 0 / 1.034 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3438, allocations: 4.031 kB / 1.034 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3438, allocations: 4 kB / 1.034 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.3439, allocations: 165.6 kB / 1.035 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3439, allocations: 0 / 1.035 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.344, allocations: 11.98 kB / 1.035 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.344, allocations: 0 / 1.035 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.344, allocations: 0 / 1.035 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.344, allocations: 0 / 1.035 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.344, allocations: 0 / 1.035 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.3442, allocations: 159.3 kB / 1.035 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.042e-05/0.3442, allocations: 85.05 kB / 1.035 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.3442, allocations: 3.984 kB / 1.035 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.669e-05/0.3443, allocations: 12 kB / 1.035 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.3443, allocations: 0 / 1.035 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.3443, allocations: 0 / 1.035 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.057e-05/0.3444, allocations: 91.3 kB / 1.035 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3444, allocations: 0 / 1.035 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002171/0.3446, allocations: 27.94 kB / 1.035 GB, free: 6.516 MB / 0.6823 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.000148/0.3448, allocations: 115.2 kB / 1.035 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001207/0.3449, allocations: 27.98 kB / 1.035 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3449, allocations: 3.938 kB / 1.035 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.021e-05/0.3449, allocations: 19.98 kB / 1.035 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.3451, allocations: 7.938 kB / 1.035 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/0.3454, allocations: 132.6 kB / 1.035 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.3456, allocations: 0.677 MB / 1.036 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.063e-05/0.3456, allocations: 8.047 kB / 1.036 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/0.3457, allocations: 11.44 kB / 1.036 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.3457, allocations: 0 / 1.036 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of Templates: time 0.002256/0.3479, allocations: 0.6002 MB / 1.037 GB, free: 4.855 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)