Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004814/0.004814, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001047/0.001047, allocations: 195.4 kB / 16.67 MB, free: 5.52 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.187/1.187, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.262/1.262, allocations: 251.7 MB / 0.5094 GB, free: 396 kB / 430.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: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 75.89 kB / 0.7258 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5007/0.502, allocations: 104.7 MB / 0.8281 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001631/0.5037, allocations: 0.5953 MB / 0.8287 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.5048, allocations: 1.156 MB / 0.8298 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.5049, allocations: 0 / 0.8298 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.5049, allocations: 0 / 0.8298 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.5051, allocations: 19.94 kB / 0.8298 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 3.497e-06/0.5051, allocations: 3.938 kB / 0.8298 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 3.872e-05/0.5052, allocations: 7.922 kB / 0.8298 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.5052, allocations: 7.984 kB / 0.8298 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 1.251e-05/0.5052, allocations: 0 / 0.8298 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 2.212e-05/0.5052, allocations: 3.938 kB / 0.8298 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.322e-06/0.5053, allocations: 0 / 0.8298 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 9.89e-05/0.5054, allocations: 19.92 kB / 0.8298 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 7.504e-06/0.5054, allocations: 8 kB / 0.8299 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 1.246e-05/0.5054, allocations: 3.984 kB / 0.8299 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 7.018e-05/0.5055, allocations: 15.92 kB / 0.8299 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5055, allocations: 0 / 0.8299 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5055, allocations: 0 / 0.8299 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.5055, allocations: 0 / 0.8299 GB, free: 0.7266 MB / 0.6231 GB 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.0002407/0.5057, allocations: 319.6 kB / 0.8302 GB, free: 376 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.5058, allocations: 8.031 kB / 0.8302 GB, free: 368 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.5058, allocations: 0.9375 kB / 0.8302 GB, free: 368 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.854e-05/0.5059, allocations: 164.4 kB / 0.8303 GB, free: 164 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.5059, allocations: 4.375 kB / 0.8303 GB, free: 160 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.506, allocations: 4.375 kB / 0.8304 GB, free: 156 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.511e-05/0.506, allocations: 41.94 kB / 0.8304 GB, free: 108 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.5061, allocations: 0 / 0.8304 GB, free: 108 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.5061, allocations: 0 / 0.8304 GB, free: 108 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.5061, allocations: 0 / 0.8304 GB, free: 108 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.256e-05/0.5061, allocations: 8 kB / 0.8304 GB, free: 100 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.5063, allocations: 153.2 kB / 0.8305 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.5064, allocations: 38.61 kB / 0.8306 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.5065, allocations: 16.84 kB / 0.8306 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.5066, allocations: 81.19 kB / 0.8307 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.5066, allocations: 42.44 kB / 0.8307 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.5067, allocations: 0 / 0.8307 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of matching and sorting (n=5): time 0.00402/0.5107, allocations: 0.5715 MB / 0.8313 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.5107, allocations: 51.41 kB / 0.8313 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.517e-05/0.5108, allocations: 89.86 kB / 0.8314 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.5108, allocations: 25.7 kB / 0.8314 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.419e-05/0.5108, allocations: 80.14 kB / 0.8315 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.5109, allocations: 18.06 kB / 0.8315 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.5109, allocations: 17.7 kB / 0.8315 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.804e-05/0.511, allocations: 314.8 kB / 0.8318 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005765/0.5116, allocations: 83.95 kB / 0.8319 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005891/0.5122, allocations: 102.5 kB / 0.832 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.5134, allocations: 194.4 kB / 0.8322 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.5134, allocations: 3.938 kB / 0.8322 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001193/0.5146, allocations: 217.5 kB / 0.8324 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.5146, allocations: 4 kB / 0.8324 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.5146, allocations: 3.938 kB / 0.8324 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.5146, allocations: 4 kB / 0.8324 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/0.515, allocations: 48 kB / 0.8325 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.515, allocations: 4 kB / 0.8325 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.5154, allocations: 40.16 kB / 0.8325 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.5154, allocations: 8 kB / 0.8325 GB, free: 13.76 MB / 0.6387 GB 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 (5): * Single equations (assignments): 5 * 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 9.272e-05/0.5155, allocations: 117.8 kB / 0.8326 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.5155, allocations: 7.938 kB / 0.8326 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.5168, allocations: 229.1 kB / 0.8329 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5168, allocations: 0 / 0.8329 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5168, allocations: 0 / 0.8329 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.5168, allocations: 0 / 0.8329 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.5183, allocations: 470.3 kB / 0.8333 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5183, allocations: 0 / 0.8333 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/0.5187, allocations: 47.97 kB / 0.8334 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5187, allocations: 0 / 0.8334 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.5187, allocations: 7.984 kB / 0.8334 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5187, allocations: 0 / 0.8334 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5187, allocations: 4 kB / 0.8334 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.5199, allocations: 307.3 kB / 0.8337 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.522e-05/0.5199, allocations: 77.11 kB / 0.8337 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.52, allocations: 4 kB / 0.8337 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.5203, allocations: 35.98 kB / 0.8338 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.5203, allocations: 7.984 kB / 0.8338 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.5204, allocations: 0 / 0.8338 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.158e-05/0.5204, allocations: 79.28 kB / 0.8339 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.5204, allocations: 0 / 0.8339 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002289/0.5206, allocations: 12 kB / 0.8339 GB, free: 12.27 MB / 0.6387 GB 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 (5): * Single equations (assignments): 5 * 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.0001412/0.5208, allocations: 104.3 kB / 0.834 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.522, allocations: 187.8 kB / 0.8341 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.522, allocations: 0 / 0.8341 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005662/0.5226, allocations: 92.27 kB / 0.8342 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.5228, allocations: 0 / 0.8342 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.5238, allocations: 217.1 kB / 0.8344 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.524, allocations: 0.6844 MB / 0.8351 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001571/0.5242, allocations: 31.92 kB / 0.8351 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.5243, allocations: 11.44 kB / 0.8352 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.5243, allocations: 0 / 0.8352 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of Templates: time 0.002469/0.5267, allocations: 0.815 MB / 0.8359 GB, free: 10.09 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)