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.001058/0.001058, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009538/0.0009538, allocations: 197.7 kB / 16.14 MB, free: 6.703 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.189/1.189, allocations: 205.1 MB / 222 MB, free: 4.996 MB / 174.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.314/1.314, allocations: 251.6 MB / 0.5088 GB, free: 3.344 MB / 414.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.001082/0.001082, allocations: 67.92 kB / 0.6216 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3882, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002568/0.3908, allocations: 0.6636 MB / 0.7245 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3925, allocations: 1.143 MB / 0.7256 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.333e-05/0.3926, allocations: 8 kB / 0.7256 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.326e-05/0.3926, allocations: 0 / 0.7256 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.3928, allocations: 15.98 kB / 0.7256 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 1.854e-06/0.3929, allocations: 0 / 0.7256 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.204e-05/0.3929, allocations: 7.938 kB / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.771e-05/0.3929, allocations: 0 / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.156e-05/0.393, allocations: 0 / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.467e-05/0.393, allocations: 11.92 kB / 0.7256 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.821e-06/0.393, allocations: 0 / 0.7256 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-05/0.3931, allocations: 19.98 kB / 0.7256 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.27e-06/0.3931, allocations: 4 kB / 0.7256 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.326e-05/0.3931, allocations: 3.938 kB / 0.7256 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.226e-05/0.3932, allocations: 11.97 kB / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3932, allocations: 4 kB / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.02e-07/0.3932, allocations: 0 / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.3932, allocations: 0 / 0.7257 GB, free: 11.25 MB / 0.545 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.000289/0.3935, allocations: 323.5 kB / 0.726 GB, free: 10.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3936, allocations: 11.97 kB / 0.726 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.372e-05/0.3936, allocations: 0.9375 kB / 0.726 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.3937, allocations: 164.4 kB / 0.7261 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.625e-06/0.3937, allocations: 8.375 kB / 0.7261 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.3938, allocations: 384 / 0.7261 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.649e-05/0.3939, allocations: 38.02 kB / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.3939, allocations: 0 / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.3939, allocations: 0 / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.3939, allocations: 0 / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.65e-05/0.3939, allocations: 11.92 kB / 0.7262 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.3941, allocations: 155.7 kB / 0.7263 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.3943, allocations: 34.58 kB / 0.7264 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.3943, allocations: 12.89 kB / 0.7264 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.3944, allocations: 85.09 kB / 0.7265 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.3944, allocations: 34.5 kB / 0.7265 GB, free: 10.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.3944, allocations: 0 / 0.7265 GB, free: 10.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.003859/0.3983, allocations: 0.564 MB / 0.7271 GB, free: 9.641 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.3983, allocations: 55.34 kB / 0.7271 GB, free: 9.574 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.502e-05/0.3984, allocations: 93.86 kB / 0.7272 GB, free: 9.473 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.3984, allocations: 25.7 kB / 0.7272 GB, free: 9.441 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.305e-05/0.3984, allocations: 88.14 kB / 0.7273 GB, free: 9.352 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.3985, allocations: 19.64 kB / 0.7273 GB, free: 9.332 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.3985, allocations: 17.72 kB / 0.7273 GB, free: 9.309 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.3986, allocations: 310.8 kB / 0.7276 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005312/0.3991, allocations: 91.94 kB / 0.7277 GB, free: 8.906 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/0.3997, allocations: 98.53 kB / 0.7278 GB, free: 8.801 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000992/0.4007, allocations: 194.4 kB / 0.728 GB, free: 8.602 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4007, allocations: 0 / 0.728 GB, free: 8.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001086/0.4018, allocations: 213.7 kB / 0.7282 GB, free: 8.387 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.4018, allocations: 4 kB / 0.7282 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4018, allocations: 3.984 kB / 0.7282 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.4018, allocations: 7.984 kB / 0.7282 GB, free: 8.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.4022, allocations: 48 kB / 0.7283 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.4022, allocations: 0 / 0.7283 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/0.4025, allocations: 43.98 kB / 0.7283 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.4025, allocations: 7.984 kB / 0.7283 GB, free: 8.273 MB / 0.545 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 7.098e-05/0.4026, allocations: 109.8 kB / 0.7284 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.4026, allocations: 7.922 kB / 0.7284 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.4038, allocations: 249.2 kB / 0.7287 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4038, allocations: 0 / 0.7287 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4038, allocations: 0 / 0.7287 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.4038, allocations: 0 / 0.7287 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.4051, allocations: 454.4 kB / 0.7291 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4052, allocations: 0 / 0.7291 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003437/0.4055, allocations: 51.97 kB / 0.7292 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4055, allocations: 0 / 0.7292 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.4055, allocations: 0 / 0.7292 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.4055, allocations: 4 kB / 0.7292 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4055, allocations: 0 / 0.7292 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.4066, allocations: 307.3 kB / 0.7294 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.4067, allocations: 77.11 kB / 0.7295 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.4067, allocations: 0 / 0.7295 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.407, allocations: 47.97 kB / 0.7296 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.061e-05/0.407, allocations: 0 / 0.7296 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.4071, allocations: 7.938 kB / 0.7296 GB, free: 6.879 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.693e-05/0.4071, allocations: 83.22 kB / 0.7297 GB, free: 6.797 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4071, allocations: 0 / 0.7297 GB, free: 6.797 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002285/0.4073, allocations: 8 kB / 0.7297 GB, free: 6.789 MB / 0.545 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.000135/0.4075, allocations: 107.2 kB / 0.7298 GB, free: 6.672 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001083/0.4086, allocations: 179.9 kB / 0.7299 GB, free: 6.496 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4086, allocations: 0 / 0.7299 GB, free: 6.496 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005208/0.4091, allocations: 96 kB / 0.73 GB, free: 6.402 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.4093, allocations: 4 kB / 0.73 GB, free: 6.398 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009585/0.4103, allocations: 222.6 kB / 0.7302 GB, free: 6.156 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.4105, allocations: 0.677 MB / 0.7309 GB, free: 5.453 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000222/0.4107, allocations: 35.98 kB / 0.7309 GB, free: 5.418 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.4107, allocations: 7.438 kB / 0.7309 GB, free: 5.41 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.4107, allocations: 0 / 0.7309 GB, free: 5.41 MB / 0.545 GB Notification: Performance of Templates: time 0.002264/0.413, allocations: 0.8091 MB / 0.7317 GB, free: 4.613 MB / 0.545 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)