Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.802/1.802, allocations: 285.4 MB / 298 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001465, allocations: 184.8 kB / 366.4 MB, free: 2.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.1 MB / 0.6248 GB, free: 7.738 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008805/0.0008805, allocations: 102.3 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.754e-05/5.773e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8991/0.8991, allocations: 115.3 MB / 0.9709 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2106/1.11, allocations: 138.4 MB / 1.106 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/1.11, allocations: 75.95 kB / 1.106 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00344/1.114, allocations: 1.083 MB / 1.107 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.669e-06/1.114, allocations: 0 / 1.107 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.166e-06/1.114, allocations: 4.5 kB / 1.107 GB, free: 12.29 MB / 0.7136 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.0003725/1.114, allocations: 342.4 kB / 1.107 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/1.114, allocations: 8.031 kB / 1.107 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/1.114, allocations: 3.906 kB / 1.107 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/1.114, allocations: 167 kB / 1.108 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/1.114, allocations: 0 / 1.108 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/1.114, allocations: 2.531 kB / 1.108 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/1.114, allocations: 41.69 kB / 1.108 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/1.114, allocations: 0 / 1.108 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/1.114, allocations: 4.5 kB / 1.108 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.114, allocations: 0 / 1.108 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.957e-05/1.115, allocations: 15.94 kB / 1.108 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/1.115, allocations: 268.9 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.892e-05/1.115, allocations: 23.73 kB / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/1.115, allocations: 9.828 kB / 1.108 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/1.115, allocations: 81.11 kB / 1.108 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/1.115, allocations: 35.77 kB / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/1.115, allocations: 0 / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001793/1.115, allocations: 48.08 kB / 1.108 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/1.116, allocations: 51.41 kB / 1.108 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/1.116, allocations: 97.41 kB / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/1.116, allocations: 29.7 kB / 1.108 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/1.116, allocations: 88.12 kB / 1.108 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/1.116, allocations: 5.281 kB / 1.108 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/1.116, allocations: 0 / 1.108 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001639/1.116, allocations: 314.8 kB / 1.109 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/1.116, allocations: 9.344 kB / 1.109 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.328e-05/1.116, allocations: 4 kB / 1.109 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.297e-05/1.116, allocations: 9.188 kB / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.116, allocations: 0 / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.837e-05/1.116, allocations: 50.5 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.116, allocations: 6.953 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.116, allocations: 0 / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/1.116, allocations: 1.75 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/1.116, allocations: 15.48 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.116, allocations: 0 / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.455e-05/1.116, allocations: 15.84 kB / 1.109 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/1.116, allocations: 0 / 1.109 GB, free: 10.38 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 7.346e-05/1.116, allocations: 106.5 kB / 1.109 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/1.117, allocations: 4.844 kB / 1.109 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/1.117, allocations: 48.81 kB / 1.109 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/1.117, allocations: 1.469 kB / 1.109 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/1.117, allocations: 7.984 kB / 1.109 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/1.117, allocations: 3.938 kB / 1.109 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/1.117, allocations: 157.8 kB / 1.109 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.117, allocations: 4 kB / 1.109 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.642e-05/1.117, allocations: 15.92 kB / 1.109 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/1.117, allocations: 0 / 1.109 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/1.117, allocations: 0 / 1.109 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/1.117, allocations: 4 kB / 1.109 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/1.117, allocations: 0 / 1.109 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/1.117, allocations: 143.5 kB / 1.109 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/1.117, allocations: 81.02 kB / 1.109 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/1.117, allocations: 7.984 kB / 1.109 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.438e-05/1.117, allocations: 7.984 kB / 1.109 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/1.117, allocations: 4 kB / 1.109 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/1.117, allocations: 2.125 kB / 1.109 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.153e-05/1.117, allocations: 79.28 kB / 1.109 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.117, allocations: 3.938 kB / 1.109 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002049/1.118, allocations: 8 kB / 1.109 GB, free: 9.613 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 (2): * Single equations (assignments): 2 * 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.0001688/1.118, allocations: 115.2 kB / 1.11 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.216e-05/1.118, allocations: 16 kB / 1.11 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.118, allocations: 0 / 1.11 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.303e-05/1.118, allocations: 4 kB / 1.11 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/1.118, allocations: 4 kB / 1.11 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/1.118, allocations: 67.41 kB / 1.11 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/1.119, allocations: 0.6848 MB / 1.11 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.995e-05/1.119, allocations: 0 / 1.11 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/1.119, allocations: 7.438 kB / 1.11 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of SimCode: time 4.4e-07/1.119, allocations: 3.938 kB / 1.11 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of Templates: time 0.002755/1.121, allocations: 482.5 kB / 1.111 GB, free: 8.223 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)