Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.478/2.478, allocations: 285 MB / 292.5 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001513/0.001513, allocations: 192.8 kB / 360.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.3 MB / 0.6192 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001102, allocations: 90.95 kB / 0.7322 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.425e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.842/0.8421, allocations: 115.3 MB / 0.9635 GB, free: 78.69 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2289/1.071, allocations: 137 MB / 1.097 GB, free: 3.453 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/1.071, allocations: 86.09 kB / 1.097 GB, free: 3.371 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003383/1.075, allocations: 0.8321 MB / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.463e-06/1.075, allocations: 0 / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.941e-06/1.075, allocations: 0.5312 kB / 1.098 GB, free: 2.551 MB / 0.698 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.0003147/1.075, allocations: 321 kB / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/1.075, allocations: 15.72 kB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/1.075, allocations: 1.203 kB / 1.098 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/1.075, allocations: 163.9 kB / 1.099 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/1.076, allocations: 0 / 1.099 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/1.076, allocations: 3.156 kB / 1.099 GB, free: 1.984 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.03e-05/1.076, allocations: 7.984 kB / 1.099 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.389e-05/1.076, allocations: 29.7 kB / 1.099 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.076, allocations: 0 / 1.099 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/1.076, allocations: 0 / 1.099 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/1.076, allocations: 4 kB / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/1.076, allocations: 134.2 kB / 1.099 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/1.076, allocations: 35.64 kB / 1.099 GB, free: 1.727 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/1.076, allocations: 10.45 kB / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/1.076, allocations: 81.23 kB / 1.099 GB, free: 1.617 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/1.077, allocations: 36.91 kB / 1.099 GB, free: 1.574 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.814e-06/1.077, allocations: 0.5938 kB / 1.099 GB, free: 1.574 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.004461/1.081, allocations: 362.8 kB / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/1.081, allocations: 54.28 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.902e-05/1.081, allocations: 85 kB / 1.099 GB, free: 1.082 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/1.081, allocations: 25.7 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/1.081, allocations: 80.14 kB / 1.1 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/1.081, allocations: 15.8 kB / 1.1 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/1.081, allocations: 0 / 1.1 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.081, allocations: 318.8 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.557e-05/1.082, allocations: 4 kB / 1.1 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.864e-05/1.082, allocations: 26.58 kB / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/1.082, allocations: 23.91 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.082, allocations: 0 / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003194/1.082, allocations: 73.56 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/1.082, allocations: 4 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/1.082, allocations: 2.188 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/1.082, allocations: 4 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006978/1.083, allocations: 52 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/1.083, allocations: 0 / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006212/1.084, allocations: 39.98 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/1.084, allocations: 4 kB / 1.1 GB, free: 400 kB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/1.084, allocations: 108.8 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/1.084, allocations: 3.953 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000513/1.084, allocations: 93.72 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/1.084, allocations: 9.719 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.084, allocations: 0 / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.084, allocations: 0 / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006454/1.085, allocations: 295 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/1.085, allocations: 0.625 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006934/1.086, allocations: 47.97 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/1.086, allocations: 0 / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/1.086, allocations: 4 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.086, allocations: 0.9375 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.086, allocations: 0 / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/1.086, allocations: 162 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/1.086, allocations: 85.06 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/1.086, allocations: 2.938 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006499/1.087, allocations: 39.97 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/1.087, allocations: 4 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/1.087, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.688e-05/1.087, allocations: 75.28 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.087, allocations: 0 / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004056/1.088, allocations: 19.94 kB / 1.101 GB, free: 15.38 MB / 0.7136 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 () * 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 (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.0002143/1.088, allocations: 104.6 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000209/1.088, allocations: 31.94 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.088, allocations: 0 / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.908e-05/1.088, allocations: 15.98 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/1.088, allocations: 6.922 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008759/1.089, allocations: 98.64 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/1.089, allocations: 0.6768 MB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003812/1.09, allocations: 30.73 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/1.09, allocations: 11.44 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of SimCode: time 9.12e-07/1.09, allocations: 0 / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of Templates: time 0.003805/1.094, allocations: 0.7859 MB / 1.103 GB, free: 13.61 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)