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.0008744/0.0008745, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005694/0.005694, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.942/1.942, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.6245/0.6245, allocations: 95.63 MB / 366.4 MB, free: 10.23 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.0006022/0.0006022, allocations: 16 kB / 447.5 MB, free: 8.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4228, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002126/0.425, allocations: 1.447 MB / 0.5071 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.4266, allocations: 0.8389 MB / 0.5079 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.313e-05/0.4267, allocations: 0 / 0.5079 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.4268, allocations: 7.922 kB / 0.5079 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.97e-05/0.4269, allocations: 11.86 kB / 0.5079 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007929/0.4277, allocations: 194.9 kB / 0.5081 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.4278, allocations: 115.6 kB / 0.5082 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.428, allocations: 47.06 kB / 0.5083 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.4282, allocations: 47.83 kB / 0.5083 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.4283, allocations: 43.77 kB / 0.5083 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.4283, allocations: 4 kB / 0.5083 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.4286, allocations: 115.8 kB / 0.5085 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.388e-05/0.4286, allocations: 19.91 kB / 0.5085 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.922e-05/0.4287, allocations: 77.36 kB / 0.5085 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.429, allocations: 167.5 kB / 0.5087 GB, free: 13.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.429, allocations: 0 / 0.5087 GB, free: 13.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.429, allocations: 0 / 0.5087 GB, free: 13.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.429, allocations: 0 / 0.5087 GB, free: 13.2 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.0006753/0.4297, allocations: 419.1 kB / 0.5091 GB, free: 12.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.4298, allocations: 19.98 kB / 0.5091 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.484e-05/0.4299, allocations: 12.75 kB / 0.5091 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.43, allocations: 184.2 kB / 0.5093 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.4302, allocations: 67.34 kB / 0.5094 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.4302, allocations: 4 kB / 0.5094 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.4305, allocations: 131.6 kB / 0.5095 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.4306, allocations: 0 / 0.5095 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.4306, allocations: 0 / 0.5095 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.4306, allocations: 7.984 kB / 0.5095 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.4308, allocations: 67.91 kB / 0.5096 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008411/0.4316, allocations: 420.4 kB / 0.51 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.4318, allocations: 78.48 kB / 0.5101 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.124e-05/0.4319, allocations: 40.89 kB / 0.5101 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008008/0.4328, allocations: 1.275 MB / 0.5113 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.4328, allocations: 30.56 kB / 0.5114 GB, free: 10.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.4328, allocations: 0 / 0.5114 GB, free: 10.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004292/0.4332, allocations: 137.7 kB / 0.5115 GB, free: 9.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.4333, allocations: 51.41 kB / 0.5115 GB, free: 9.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.4334, allocations: 140.4 kB / 0.5117 GB, free: 9.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.4334, allocations: 25.7 kB / 0.5117 GB, free: 9.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.4335, allocations: 108.2 kB / 0.5118 GB, free: 9.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.4335, allocations: 27.64 kB / 0.5118 GB, free: 9.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.4336, allocations: 17.66 kB / 0.5119 GB, free: 9.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.668e-05/0.4336, allocations: 322.8 kB / 0.5122 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/0.4337, allocations: 31.98 kB / 0.5122 GB, free: 9.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.206e-05/0.4338, allocations: 46.56 kB / 0.5122 GB, free: 9.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.434, allocations: 86.8 kB / 0.5123 GB, free: 8.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.434, allocations: 0 / 0.5123 GB, free: 8.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002372/0.4343, allocations: 125.4 kB / 0.5124 GB, free: 8.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.4343, allocations: 19.86 kB / 0.5125 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4343, allocations: 0 / 0.5125 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.4343, allocations: 0 / 0.5125 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.4345, allocations: 19.98 kB / 0.5125 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.4345, allocations: 4 kB / 0.5125 GB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.493e-05/0.4346, allocations: 11.97 kB / 0.5125 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.4346, allocations: 4 kB / 0.5125 GB, free: 8.777 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.481e-05/0.4347, allocations: 117.8 kB / 0.5126 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.4347, allocations: 15.83 kB / 0.5126 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.435, allocations: 122.3 kB / 0.5127 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.435, allocations: 0 / 0.5127 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.435, allocations: 0 / 0.5127 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.435, allocations: 0 / 0.5127 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.4352, allocations: 217.5 kB / 0.5129 GB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4352, allocations: 3.938 kB / 0.513 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.683e-05/0.4353, allocations: 15.98 kB / 0.513 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4353, allocations: 0 / 0.513 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.4353, allocations: 4 kB / 0.513 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4353, allocations: 7.984 kB / 0.513 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4353, allocations: 0 / 0.513 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.4355, allocations: 211.4 kB / 0.5132 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.4356, allocations: 84.95 kB / 0.5133 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.4356, allocations: 4 kB / 0.5133 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.4358, allocations: 19.98 kB / 0.5133 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.4358, allocations: 7.984 kB / 0.5133 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.4359, allocations: 8 kB / 0.5133 GB, free: 7.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.742e-05/0.4359, allocations: 103.2 kB / 0.5134 GB, free: 7.754 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4359, allocations: 0 / 0.5134 GB, free: 7.754 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.4362, allocations: 31.91 kB / 0.5134 GB, free: 7.723 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.0001664/0.4364, allocations: 111.2 kB / 0.5135 GB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.4366, allocations: 75.91 kB / 0.5136 GB, free: 7.531 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4366, allocations: 0 / 0.5136 GB, free: 7.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.858e-05/0.4367, allocations: 44.09 kB / 0.5136 GB, free: 7.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.437, allocations: 11.94 kB / 0.5137 GB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004303/0.4374, allocations: 249.4 kB / 0.5139 GB, free: 7.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.4376, allocations: 0.7004 MB / 0.5146 GB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.289e-05/0.4376, allocations: 8 kB / 0.5146 GB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.4377, allocations: 19.38 kB / 0.5146 GB, free: 6.453 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4377, allocations: 0 / 0.5146 GB, free: 6.453 MB / 382.1 MB Notification: Performance of Templates: time 0.004488/0.4422, allocations: 1.304 MB / 0.5159 GB, free: 5.164 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: