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.001195/0.001195, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.00152/0.00152, allocations: 177.3 kB / 15.94 MB, free: 228 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.39/1.39, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.5883/0.5883, allocations: 95.58 MB / 365.9 MB, free: 10.38 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.0005652/0.0005653, allocations: 19.91 kB / 446.8 MB, free: 9.391 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3088, allocations: 70.34 MB / 0.505 GB, free: 16.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001441/0.3103, allocations: 1.133 MB / 0.5061 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008813/0.3112, allocations: 0.6797 MB / 0.5068 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.959e-05/0.3113, allocations: 0 / 0.5068 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.3113, allocations: 11.86 kB / 0.5068 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.599e-05/0.3113, allocations: 3.984 kB / 0.5068 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.3117, allocations: 75.73 kB / 0.5069 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.02e-05/0.3117, allocations: 19.92 kB / 0.5069 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.573e-05/0.3118, allocations: 7.984 kB / 0.5069 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.119e-05/0.3119, allocations: 7.984 kB / 0.5069 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.312, allocations: 15.92 kB / 0.5069 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.312, allocations: 4 kB / 0.5069 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.3122, allocations: 103.9 kB / 0.507 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.919e-06/0.3122, allocations: 3.984 kB / 0.507 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.3122, allocations: 29.64 kB / 0.507 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.3124, allocations: 61.89 kB / 0.5071 GB, free: 14.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.3124, allocations: 4 kB / 0.5071 GB, free: 14.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3124, allocations: 0 / 0.5071 GB, free: 14.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.3124, allocations: 0 / 0.5071 GB, free: 14.36 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.0003954/0.3128, allocations: 363.2 kB / 0.5074 GB, free: 13.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3128, allocations: 11.98 kB / 0.5075 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.3129, allocations: 11.89 kB / 0.5075 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.683e-05/0.313, allocations: 171 kB / 0.5076 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.313, allocations: 3.953 kB / 0.5076 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.313, allocations: 4 kB / 0.5076 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.3132, allocations: 41.69 kB / 0.5077 GB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3132, allocations: 4 kB / 0.5077 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3132, allocations: 0 / 0.5077 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.3132, allocations: 0 / 0.5077 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.98e-05/0.3133, allocations: 27.92 kB / 0.5077 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.3136, allocations: 256.9 kB / 0.508 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.34e-05/0.3137, allocations: 30.58 kB / 0.508 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007231/0.3145, allocations: 1.354 MB / 0.5093 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.3145, allocations: 34.56 kB / 0.5093 GB, free: 11.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.803e-06/0.3145, allocations: 0 / 0.5093 GB, free: 11.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002596/0.3148, allocations: 73.52 kB / 0.5094 GB, free: 11.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.3148, allocations: 51.41 kB / 0.5095 GB, free: 11.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.755e-05/0.3149, allocations: 110 kB / 0.5096 GB, free: 11.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.3149, allocations: 29.7 kB / 0.5096 GB, free: 11.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.315, allocations: 88.12 kB / 0.5097 GB, free: 11.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.315, allocations: 7.844 kB / 0.5097 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.315, allocations: 4 kB / 0.5097 GB, free: 11.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.765e-05/0.3151, allocations: 310.8 kB / 0.51 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.033e-05/0.3151, allocations: 11.98 kB / 0.51 GB, free: 10.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.332e-05/0.3151, allocations: 16 kB / 0.51 GB, free: 10.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.331e-05/0.3152, allocations: 15.94 kB / 0.51 GB, free: 10.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3152, allocations: 3.938 kB / 0.51 GB, free: 10.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001088/0.3153, allocations: 61.62 kB / 0.5101 GB, free: 10.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3153, allocations: 4 kB / 0.5101 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3153, allocations: 4 kB / 0.5101 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3154, allocations: 4.094 kB / 0.5101 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.3154, allocations: 4 kB / 0.5101 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3155, allocations: 4.297 kB / 0.5101 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.3155, allocations: 7.938 kB / 0.5101 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.3155, allocations: 0 / 0.5101 GB, free: 10.74 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 6.055e-05/0.3156, allocations: 113.8 kB / 0.5102 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.3156, allocations: 3.906 kB / 0.5102 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.3158, allocations: 77.09 kB / 0.5103 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3158, allocations: 0 / 0.5103 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3158, allocations: 0 / 0.5103 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3158, allocations: 0 / 0.5103 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.3159, allocations: 161.7 kB / 0.5105 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3159, allocations: 3.953 kB / 0.5105 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.316e-05/0.316, allocations: 8 kB / 0.5105 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.316, allocations: 4 kB / 0.5105 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.316, allocations: 8.031 kB / 0.5105 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.316, allocations: 0 / 0.5105 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.316, allocations: 3.984 kB / 0.5105 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.3162, allocations: 143.5 kB / 0.5106 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.3162, allocations: 92.91 kB / 0.5107 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.3162, allocations: 0 / 0.5107 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/0.3163, allocations: 8.016 kB / 0.5107 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.3163, allocations: 4 kB / 0.5107 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.3164, allocations: 4 kB / 0.5107 GB, free: 10.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.166e-05/0.3164, allocations: 87.25 kB / 0.5108 GB, free: 9.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3164, allocations: 4 kB / 0.5108 GB, free: 9.926 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.3166, allocations: 16 kB / 0.5108 GB, free: 9.91 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.0001461/0.3168, allocations: 115.2 kB / 0.5109 GB, free: 9.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.3169, allocations: 31.98 kB / 0.511 GB, free: 9.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3169, allocations: 0 / 0.511 GB, free: 9.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.015e-05/0.317, allocations: 8 kB / 0.511 GB, free: 9.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.3171, allocations: 8 kB / 0.511 GB, free: 9.738 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.3174, allocations: 144.6 kB / 0.5111 GB, free: 9.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.3176, allocations: 0.677 MB / 0.5118 GB, free: 8.871 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.986e-05/0.3176, allocations: 7.984 kB / 0.5118 GB, free: 8.863 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.3177, allocations: 7.438 kB / 0.5118 GB, free: 8.855 MB / 382.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3177, allocations: 0 / 0.5118 GB, free: 8.855 MB / 382.1 MB Notification: Performance of Templates: time 0.002723/0.3204, allocations: 0.5976 MB / 0.5124 GB, free: 8.258 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: