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.0008984/0.0008985, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001517/0.001517, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.6977/0.6977, allocations: 95.63 MB / 366 MB, free: 10.43 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.0006281/0.0006282, allocations: 12 kB / 446.9 MB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4004, allocations: 70.33 MB / 0.5051 GB, free: 16.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001751/0.4022, allocations: 1.42 MB / 0.5065 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.4033, allocations: 0.7809 MB / 0.5072 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/0.4034, allocations: 0 / 0.5072 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.242e-05/0.4034, allocations: 7.922 kB / 0.5072 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.323e-05/0.4035, allocations: 11.88 kB / 0.5072 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006367/0.4042, allocations: 182.8 kB / 0.5074 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.4043, allocations: 107.7 kB / 0.5075 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.4045, allocations: 41.22 kB / 0.5075 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.4046, allocations: 39.91 kB / 0.5076 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.69e-05/0.4047, allocations: 35.78 kB / 0.5076 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.4047, allocations: 4 kB / 0.5076 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.4049, allocations: 107.9 kB / 0.5077 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.643e-05/0.4049, allocations: 19.91 kB / 0.5077 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.405, allocations: 45.64 kB / 0.5078 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.4051, allocations: 113.9 kB / 0.5079 GB, free: 13.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.4051, allocations: 4 kB / 0.5079 GB, free: 13.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4051, allocations: 3.938 kB / 0.5079 GB, free: 13.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.4052, allocations: 0 / 0.5079 GB, free: 13.73 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.0005475/0.4057, allocations: 426.9 kB / 0.5083 GB, free: 13.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.4058, allocations: 19.92 kB / 0.5083 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.4058, allocations: 15.81 kB / 0.5083 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.4059, allocations: 190.1 kB / 0.5085 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.004e-05/0.406, allocations: 67.39 kB / 0.5086 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.406, allocations: 8 kB / 0.5086 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.4063, allocations: 117.6 kB / 0.5087 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4063, allocations: 4 kB / 0.5087 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.4063, allocations: 0 / 0.5087 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4064, allocations: 7.938 kB / 0.5087 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.4065, allocations: 67.95 kB / 0.5088 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.4072, allocations: 412.4 kB / 0.5092 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.4073, allocations: 74.55 kB / 0.5093 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.925e-05/0.4074, allocations: 40.91 kB / 0.5093 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006184/0.408, allocations: 1.283 MB / 0.5105 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.4081, allocations: 34.56 kB / 0.5106 GB, free: 10.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.4081, allocations: 0 / 0.5106 GB, free: 10.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003305/0.4084, allocations: 133.7 kB / 0.5107 GB, free: 10.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.4085, allocations: 51.41 kB / 0.5108 GB, free: 10.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.673e-05/0.4085, allocations: 137.8 kB / 0.5109 GB, free: 10.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.4086, allocations: 25.7 kB / 0.5109 GB, free: 10.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.4086, allocations: 116.1 kB / 0.511 GB, free: 10.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.4086, allocations: 15.8 kB / 0.511 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.4087, allocations: 0 / 0.511 GB, free: 10.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.313e-05/0.4087, allocations: 326.8 kB / 0.5113 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.9e-05/0.4088, allocations: 27.98 kB / 0.5114 GB, free: 9.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.316e-05/0.4089, allocations: 54.55 kB / 0.5114 GB, free: 9.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.79e-05/0.409, allocations: 35.98 kB / 0.5115 GB, free: 9.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.409, allocations: 7.875 kB / 0.5115 GB, free: 9.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001786/0.4092, allocations: 117.5 kB / 0.5116 GB, free: 9.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4092, allocations: 4 kB / 0.5116 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4092, allocations: 8.062 kB / 0.5116 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4092, allocations: 0 / 0.5116 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.4093, allocations: 19.98 kB / 0.5116 GB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4093, allocations: 0 / 0.5116 GB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.606e-05/0.4094, allocations: 19.84 kB / 0.5116 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.4094, allocations: 3.984 kB / 0.5116 GB, free: 9.379 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.854e-05/0.4095, allocations: 117.8 kB / 0.5117 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.4095, allocations: 15.86 kB / 0.5118 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.4098, allocations: 122.6 kB / 0.5119 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4098, allocations: 4 kB / 0.5119 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4098, allocations: 0 / 0.5119 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4098, allocations: 0 / 0.5119 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.41, allocations: 197.6 kB / 0.5121 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.41, allocations: 11.98 kB / 0.5121 GB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.946e-05/0.4101, allocations: 12 kB / 0.5121 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4101, allocations: 7.938 kB / 0.5121 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.4101, allocations: 4 kB / 0.5121 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4101, allocations: 0 / 0.5121 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4101, allocations: 0 / 0.5121 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.4103, allocations: 207.3 kB / 0.5123 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.4103, allocations: 88.95 kB / 0.5124 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.4104, allocations: 3.953 kB / 0.5124 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.4105, allocations: 23.98 kB / 0.5124 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.4106, allocations: 7.984 kB / 0.5124 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.4106, allocations: 11.92 kB / 0.5124 GB, free: 8.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.309e-05/0.4106, allocations: 106.4 kB / 0.5125 GB, free: 8.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4106, allocations: 0 / 0.5125 GB, free: 8.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.4109, allocations: 27.91 kB / 0.5126 GB, free: 8.332 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 (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.0001442/0.411, allocations: 111.2 kB / 0.5127 GB, free: 8.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.4112, allocations: 83.89 kB / 0.5127 GB, free: 8.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.4112, allocations: 3.938 kB / 0.5128 GB, free: 8.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.861e-05/0.4113, allocations: 35.98 kB / 0.5128 GB, free: 8.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.4116, allocations: 4 kB / 0.5128 GB, free: 8.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.412, allocations: 245.5 kB / 0.513 GB, free: 7.824 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.4122, allocations: 0.7004 MB / 0.5137 GB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.621e-05/0.4122, allocations: 16.56 kB / 0.5137 GB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.4123, allocations: 15.42 kB / 0.5137 GB, free: 7.066 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4123, allocations: 0 / 0.5137 GB, free: 7.066 MB / 382.1 MB Notification: Performance of Templates: time 0.003535/0.4158, allocations: 1.257 MB / 0.515 GB, free: 5.82 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: