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.709/1.709, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001034/0.001033, allocations: 172.9 kB / 361.4 MB, free: 6.844 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.69/1.69, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0009133/0.0009133, allocations: 98.67 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.702e-05/2.741e-05, allocations: 8 kB / 0.8517 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7283/0.7283, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.211/0.9394, allocations: 138 MB / 1.099 GB, free: 1.805 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.9397, allocations: 73.36 kB / 1.099 GB, free: 1.734 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004532/0.9443, allocations: 1.38 MB / 1.101 GB, free: 388 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9443, allocations: 1.688 kB / 1.101 GB, free: 388 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.9443, allocations: 0 / 1.101 GB, free: 388 kB / 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.0003396/0.9447, allocations: 339.8 kB / 1.101 GB, free: 4 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.502e-05/0.9448, allocations: 12.08 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.9448, allocations: 8.547 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.945, allocations: 174.9 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.945, allocations: 0.5938 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.945, allocations: 0.7188 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.263e-05/0.9451, allocations: 12 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.092e-05/0.9452, allocations: 34.22 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.9452, allocations: 2.062 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.9452, allocations: 0 / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.9452, allocations: 0.625 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.9455, allocations: 236.2 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.519e-05/0.9456, allocations: 33.2 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.506e-05/0.9457, allocations: 9.547 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006589/0.9463, allocations: 477.2 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.9464, allocations: 31.06 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.9464, allocations: 2.312 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.003291/0.9497, allocations: 0.545 MB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.9497, allocations: 55.44 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.608e-05/0.9498, allocations: 97 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.9498, allocations: 25.7 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.527e-05/0.9499, allocations: 84.14 kB / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.9499, allocations: 11.84 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.9499, allocations: 3 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.95, allocations: 318.8 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.9501, allocations: 11.94 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.537e-05/0.9501, allocations: 8 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00305/0.9531, allocations: 0.5074 MB / 1.104 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.9532, allocations: 0 / 1.104 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.003113/0.9563, allocations: 0.5479 MB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.9563, allocations: 8 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.9563, allocations: 0 / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.9564, allocations: 0 / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.427e-05/0.9564, allocations: 4 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.9565, allocations: 8.016 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.696e-05/0.9565, allocations: 4 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.9565, allocations: 4 kB / 1.104 GB, free: 12.55 MB / 0.7136 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 () * 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 8.019e-05/0.9566, allocations: 108.9 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.9566, allocations: 7.281 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003101/0.9598, allocations: 0.5557 MB / 1.105 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.9598, allocations: 4 kB / 1.105 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.9598, allocations: 0 / 1.105 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.9598, allocations: 0 / 1.105 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.9599, allocations: 138.2 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.96, allocations: 0 / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.96, allocations: 11.95 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.96, allocations: 4.031 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.96, allocations: 4 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.96, allocations: 3.984 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.9601, allocations: 2.891 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003049/0.9631, allocations: 0.6396 MB / 1.106 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.9632, allocations: 85 kB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.9632, allocations: 3.953 kB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.036e-05/0.9632, allocations: 4 kB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.9633, allocations: 3.656 kB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.9633, allocations: 0.8438 kB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.431e-05/0.9634, allocations: 91.27 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9634, allocations: 4.031 kB / 1.106 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000248/0.9636, allocations: 19.94 kB / 1.106 GB, free: 10.79 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 (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.0001874/0.9638, allocations: 117.6 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.097e-05/0.9639, allocations: 12 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.9639, allocations: 4 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.122e-05/0.964, allocations: 8 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.9641, allocations: 11.3 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002129/0.9643, allocations: 70.47 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.9646, allocations: 0.6768 MB / 1.107 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.743e-05/0.9646, allocations: 4 kB / 1.107 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.276e-05/0.9647, allocations: 11.42 kB / 1.107 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.9647, allocations: 0 / 1.107 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of Templates: time 0.002522/0.9672, allocations: 0.5764 MB / 1.107 GB, free: 9.285 MB / 0.7136 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)