Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.623/1.623, allocations: 292.6 MB / 307.5 MB, free: 5.145 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.001071/0.001071, allocations: 189 kB / 377.1 MB, free: 1.516 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.803/1.803, allocations: 205.4 MB / 0.6367 GB, free: 8.625 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.0008956/0.0008957, allocations: 85.34 kB / 0.751 GB, free: 62.85 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2902, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7747/1.065, allocations: 139.4 MB / 1.125 GB, free: 35.27 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/1.065, allocations: 74.31 kB / 1.125 GB, free: 35.21 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003191/1.068, allocations: 1.084 MB / 1.126 GB, free: 34.35 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.727e-06/1.068, allocations: 1.75 kB / 1.126 GB, free: 34.35 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.578e-06/1.069, allocations: 0 / 1.126 GB, free: 34.35 MB / 0.7292 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.000363/1.069, allocations: 346.2 kB / 1.126 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.069, allocations: 15.48 kB / 1.126 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/1.069, allocations: 5.969 kB / 1.126 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/1.069, allocations: 165 kB / 1.126 GB, free: 33.76 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/1.069, allocations: 3.531 kB / 1.126 GB, free: 33.76 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/1.069, allocations: 0 / 1.126 GB, free: 33.76 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/1.069, allocations: 55.98 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/1.069, allocations: 5.516 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/1.069, allocations: 0 / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/1.069, allocations: 0 / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/1.07, allocations: 50.8 kB / 1.126 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/1.07, allocations: 267.5 kB / 1.127 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/1.07, allocations: 37.95 kB / 1.127 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/1.07, allocations: 91.8 kB / 1.127 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/1.07, allocations: 30.56 kB / 1.127 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/1.07, allocations: 7.938 kB / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.00036/1.071, allocations: 95.66 kB / 1.127 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/1.071, allocations: 55.41 kB / 1.127 GB, free: 33.03 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.689e-05/1.071, allocations: 97.38 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/1.071, allocations: 29.7 kB / 1.127 GB, free: 32.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/1.071, allocations: 88.05 kB / 1.127 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/1.071, allocations: 4.5 kB / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/1.071, allocations: 0 / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.37e-05/1.071, allocations: 322.2 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.797e-05/1.071, allocations: 19.47 kB / 1.127 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/1.071, allocations: 27.08 kB / 1.127 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.319e-05/1.071, allocations: 19.47 kB / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.071, allocations: 0.75 kB / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001972/1.071, allocations: 88.11 kB / 1.127 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/1.071, allocations: 4 kB / 1.127 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/1.071, allocations: 1 kB / 1.127 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/1.071, allocations: 0 / 1.127 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.84e-05/1.072, allocations: 11.56 kB / 1.128 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/1.072, allocations: 0 / 1.128 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/1.072, allocations: 15.55 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/1.072, allocations: 0.5625 kB / 1.128 GB, free: 32.33 MB / 0.7292 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 () * Number of clocked 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.239e-05/1.072, allocations: 113.8 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/1.072, allocations: 5.312 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/1.072, allocations: 90.73 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/1.072, allocations: 0 / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/1.072, allocations: 0.5625 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.072, allocations: 0.6562 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/1.072, allocations: 160.7 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.072, allocations: 0 / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.999e-05/1.072, allocations: 16.08 kB / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.072, allocations: 4.031 kB / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/1.072, allocations: 0 / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.072, allocations: 0.625 kB / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.072, allocations: 0.6562 kB / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/1.073, allocations: 178 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/1.073, allocations: 85 kB / 1.128 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/1.073, allocations: 0 / 1.128 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/1.073, allocations: 7.969 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/1.073, allocations: 8.734 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/1.073, allocations: 3.516 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.818e-05/1.073, allocations: 84.62 kB / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.073, allocations: 4.031 kB / 1.128 GB, free: 31.53 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002117/1.073, allocations: 12 kB / 1.128 GB, free: 31.52 MB / 0.7292 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 (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.0001524/1.073, allocations: 95.25 kB / 1.128 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002122/1.073, allocations: 50.5 kB / 1.128 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.073, allocations: 2.562 kB / 1.128 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.985e-05/1.073, allocations: 26.89 kB / 1.128 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/1.074, allocations: 5.188 kB / 1.128 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/1.074, allocations: 117.9 kB / 1.129 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/1.074, allocations: 0.6804 MB / 1.129 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.269e-05/1.074, allocations: 7.953 kB / 1.129 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.717e-05/1.074, allocations: 7.438 kB / 1.129 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.074, allocations: 0.5625 kB / 1.129 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of Templates: time 0.002691/1.077, allocations: 477.1 kB / 1.13 GB, free: 30.25 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)