Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 85.94 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001495, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.7252/0.7252, allocations: 95.63 MB / 366 MB, free: 10.35 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008188/0.0008196, allocations: 24.22 kB / 446.9 MB, free: 9.348 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4085, allocations: 70.34 MB / 0.5051 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001514/0.4101, allocations: 1.146 MB / 0.5062 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009979/0.4111, allocations: 0.6835 MB / 0.5069 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.152e-05/0.4112, allocations: 4 kB / 0.5069 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.4112, allocations: 0 / 0.5069 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.815e-05/0.4113, allocations: 11.91 kB / 0.5069 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.4116, allocations: 67.81 kB / 0.5069 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.221e-05/0.4117, allocations: 19.94 kB / 0.507 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.4118, allocations: 11.97 kB / 0.507 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.444e-05/0.4118, allocations: 7.938 kB / 0.507 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.546e-05/0.4119, allocations: 19.92 kB / 0.507 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.4119, allocations: 0 / 0.507 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.4121, allocations: 115.9 kB / 0.5071 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.4121, allocations: 4 kB / 0.5071 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.4122, allocations: 29.64 kB / 0.5071 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.4123, allocations: 69.81 kB / 0.5072 GB, free: 14.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4123, allocations: 0 / 0.5072 GB, free: 14.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4123, allocations: 3.984 kB / 0.5072 GB, free: 14.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.4123, allocations: 0 / 0.5072 GB, free: 14.27 MB / 382.1 MB 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.0003685/0.4127, allocations: 359.3 kB / 0.5075 GB, free: 13.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.4128, allocations: 11.98 kB / 0.5076 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.4128, allocations: 7.906 kB / 0.5076 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.4129, allocations: 163.1 kB / 0.5077 GB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.413, allocations: 7.953 kB / 0.5077 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.413, allocations: 3.984 kB / 0.5077 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.4131, allocations: 41.69 kB / 0.5078 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.4132, allocations: 3.938 kB / 0.5078 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.4132, allocations: 8 kB / 0.5078 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.4132, allocations: 0 / 0.5078 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.212e-05/0.4133, allocations: 23.92 kB / 0.5078 GB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.4136, allocations: 256.9 kB / 0.5081 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.687e-05/0.4137, allocations: 38.56 kB / 0.5081 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.25e-05/0.4137, allocations: 12.92 kB / 0.5081 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007193/0.4145, allocations: 1.35 MB / 0.5094 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.4145, allocations: 38.56 kB / 0.5095 GB, free: 11.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4145, allocations: 3.938 kB / 0.5095 GB, free: 11.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002381/0.4147, allocations: 69.58 kB / 0.5095 GB, free: 11.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.4148, allocations: 55.41 kB / 0.5096 GB, free: 11.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.684e-05/0.4148, allocations: 105.8 kB / 0.5097 GB, free: 11.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.4149, allocations: 29.83 kB / 0.5097 GB, free: 11.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.4149, allocations: 88.14 kB / 0.5098 GB, free: 11.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.4149, allocations: 7.844 kB / 0.5098 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.4149, allocations: 0 / 0.5098 GB, free: 11.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.941e-05/0.415, allocations: 322.8 kB / 0.5101 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.865e-05/0.415, allocations: 11.94 kB / 0.5101 GB, free: 10.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.004e-05/0.4151, allocations: 15.98 kB / 0.5101 GB, free: 10.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.095e-05/0.4151, allocations: 12.06 kB / 0.5101 GB, free: 10.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4151, allocations: 3.938 kB / 0.5102 GB, free: 10.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001103/0.4152, allocations: 57.67 kB / 0.5102 GB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4153, allocations: 4 kB / 0.5102 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4153, allocations: 4 kB / 0.5102 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4153, allocations: 0 / 0.5102 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.194e-05/0.4154, allocations: 8.031 kB / 0.5102 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.4154, allocations: 0 / 0.5102 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.139e-05/0.4154, allocations: 7.984 kB / 0.5102 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.4154, allocations: 0 / 0.5102 GB, free: 10.64 MB / 382.1 MB 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 5.899e-05/0.4155, allocations: 117.8 kB / 0.5103 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.4155, allocations: 3.906 kB / 0.5103 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.4157, allocations: 77.09 kB / 0.5104 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4157, allocations: 0 / 0.5104 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4157, allocations: 0 / 0.5104 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4157, allocations: 0 / 0.5104 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.4159, allocations: 165.6 kB / 0.5106 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4159, allocations: 0 / 0.5106 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/0.4159, allocations: 8 kB / 0.5106 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4159, allocations: 0 / 0.5106 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.4159, allocations: 4 kB / 0.5106 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.416, allocations: 0 / 0.5106 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.416, allocations: 7.969 kB / 0.5106 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.4161, allocations: 155.5 kB / 0.5107 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.4162, allocations: 88.97 kB / 0.5108 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.4162, allocations: 0 / 0.5108 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.698e-05/0.4162, allocations: 0 / 0.5108 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.4163, allocations: 12.02 kB / 0.5108 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.4163, allocations: 0 / 0.5108 GB, free: 9.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.506e-05/0.4163, allocations: 87.27 kB / 0.5109 GB, free: 9.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4164, allocations: 0 / 0.5109 GB, free: 9.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.4166, allocations: 23.98 kB / 0.5109 GB, free: 9.805 MB / 382.1 MB 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.0001576/0.4168, allocations: 107.2 kB / 0.511 GB, free: 9.688 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.4169, allocations: 35.97 kB / 0.5111 GB, free: 9.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4169, allocations: 0 / 0.5111 GB, free: 9.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.262e-05/0.417, allocations: 12 kB / 0.5111 GB, free: 9.641 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.4172, allocations: 4 kB / 0.5111 GB, free: 9.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.4175, allocations: 136.5 kB / 0.5112 GB, free: 9.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.4177, allocations: 0.6811 MB / 0.5119 GB, free: 8.773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.616e-05/0.4177, allocations: 4 kB / 0.5119 GB, free: 8.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.795e-05/0.4177, allocations: 11.44 kB / 0.5119 GB, free: 8.758 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4177, allocations: 0 / 0.5119 GB, free: 8.758 MB / 382.1 MB Notification: Performance of Templates: time 0.002912/0.4206, allocations: 0.6019 MB / 0.5125 GB, free: 8.156 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) Environment - environmentSimulation: