Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001664/0.001664, allocations: 192.1 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.1 MB / 222 MB, free: 4.734 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.5896/0.5896, allocations: 95.47 MB / 364.8 MB, free: 10.12 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.001515/0.001515, allocations: 60.58 kB / 444.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3992, allocations: 69.07 MB / 0.5017 GB, free: 17.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003047/0.4023, allocations: 1.801 MB / 0.5034 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.4038, allocations: 0.8504 MB / 0.5043 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.401e-05/0.4039, allocations: 4 kB / 0.5043 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.589e-05/0.404, allocations: 7.922 kB / 0.5043 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.585e-05/0.4041, allocations: 11.86 kB / 0.5043 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008394/0.4049, allocations: 186.5 kB / 0.5045 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.4051, allocations: 111.7 kB / 0.5046 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002335/0.4054, allocations: 51.19 kB / 0.5046 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.4055, allocations: 55.84 kB / 0.5047 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.4056, allocations: 47.75 kB / 0.5047 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.4057, allocations: 4 kB / 0.5047 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/0.4059, allocations: 115.9 kB / 0.5048 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.109e-05/0.4059, allocations: 27.91 kB / 0.5049 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.258e-05/0.406, allocations: 59.64 kB / 0.5049 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.4063, allocations: 163.6 kB / 0.5051 GB, free: 14.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4063, allocations: 4 kB / 0.5051 GB, free: 14.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4063, allocations: 0 / 0.5051 GB, free: 14.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.4064, allocations: 0 / 0.5051 GB, free: 14.39 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000648/0.407, allocations: 450.9 kB / 0.5055 GB, free: 13.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.4071, allocations: 11.98 kB / 0.5055 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.4071, allocations: 16.75 kB / 0.5055 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.587e-05/0.4072, allocations: 176.2 kB / 0.5057 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.461e-05/0.4073, allocations: 67.34 kB / 0.5058 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.4074, allocations: 8 kB / 0.5058 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.4076, allocations: 115.7 kB / 0.5059 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4076, allocations: 0 / 0.5059 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.4077, allocations: 3.938 kB / 0.5059 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.036e-06/0.4077, allocations: 7.984 kB / 0.5059 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.4078, allocations: 71.8 kB / 0.506 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.4085, allocations: 408.4 kB / 0.5064 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.4087, allocations: 74.55 kB / 0.5064 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.146e-05/0.4088, allocations: 32.91 kB / 0.5065 GB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006545/0.4094, allocations: 1.271 MB / 0.5077 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.4095, allocations: 38.56 kB / 0.5077 GB, free: 11.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.4095, allocations: 3.938 kB / 0.5078 GB, free: 11.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.000356/0.4098, allocations: 121.8 kB / 0.5079 GB, free: 11.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.4099, allocations: 55.41 kB / 0.5079 GB, free: 11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.097e-05/0.41, allocations: 137.1 kB / 0.5081 GB, free: 10.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.41, allocations: 25.7 kB / 0.5081 GB, free: 10.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.4101, allocations: 112.2 kB / 0.5082 GB, free: 10.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.4101, allocations: 23.66 kB / 0.5082 GB, free: 10.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.4101, allocations: 25.7 kB / 0.5082 GB, free: 10.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.2e-05/0.4102, allocations: 318.8 kB / 0.5085 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.499e-05/0.4103, allocations: 27.98 kB / 0.5086 GB, free: 10.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.952e-05/0.4104, allocations: 50.61 kB / 0.5086 GB, free: 10.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.4105, allocations: 78.48 kB / 0.5087 GB, free: 10.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4106, allocations: 4 kB / 0.5087 GB, free: 10.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002121/0.4108, allocations: 113.4 kB / 0.5088 GB, free: 10.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.4108, allocations: 4 kB / 0.5088 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4108, allocations: 4 kB / 0.5088 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4108, allocations: 4.062 kB / 0.5088 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.411, allocations: 15.98 kB / 0.5088 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.411, allocations: 7.938 kB / 0.5088 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.072e-05/0.411, allocations: 4 kB / 0.5088 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.4111, allocations: 0 / 0.5088 GB, free: 10.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.461e-05/0.4111, allocations: 121.8 kB / 0.509 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.4112, allocations: 15.84 kB / 0.509 GB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.4114, allocations: 110.4 kB / 0.5091 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4114, allocations: 0 / 0.5091 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.4114, allocations: 0 / 0.5091 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4115, allocations: 0 / 0.5091 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.4116, allocations: 217.4 kB / 0.5093 GB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4116, allocations: 3.938 kB / 0.5093 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-05/0.4117, allocations: 20.05 kB / 0.5093 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4117, allocations: 4 kB / 0.5093 GB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.4117, allocations: 3.984 kB / 0.5093 GB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4117, allocations: 4 kB / 0.5093 GB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4117, allocations: 0 / 0.5093 GB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.4119, allocations: 195.4 kB / 0.5095 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.412, allocations: 88.95 kB / 0.5096 GB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.412, allocations: 0 / 0.5096 GB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.4122, allocations: 11.98 kB / 0.5096 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.4122, allocations: 11.98 kB / 0.5096 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.4122, allocations: 4 kB / 0.5096 GB, free: 9.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.794e-05/0.4123, allocations: 111.2 kB / 0.5097 GB, free: 9.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4123, allocations: 0 / 0.5097 GB, free: 9.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.4126, allocations: 31.94 kB / 0.5097 GB, free: 8.977 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001473/0.4127, allocations: 107.2 kB / 0.5099 GB, free: 8.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.4129, allocations: 67.97 kB / 0.5099 GB, free: 8.797 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4129, allocations: 0 / 0.5099 GB, free: 8.797 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.793e-05/0.413, allocations: 39.91 kB / 0.51 GB, free: 8.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.4133, allocations: 11.94 kB / 0.51 GB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.4137, allocations: 241.3 kB / 0.5102 GB, free: 8.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.4138, allocations: 0.7004 MB / 0.5109 GB, free: 7.758 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.762e-05/0.4139, allocations: 11.98 kB / 0.5109 GB, free: 7.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.4139, allocations: 11.44 kB / 0.5109 GB, free: 7.734 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4139, allocations: 4 kB / 0.5109 GB, free: 7.73 MB / 382.1 MB Notification: Performance of Templates: time 0.00348/0.4174, allocations: 1.331 MB / 0.5122 GB, free: 6.418 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)