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.77/1.77, allocations: 289.7 MB / 302.3 MB, free: 2.137 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.001138/0.001138, allocations: 174.2 kB / 371.6 MB, free: 3.422 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.898/1.898, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009334/0.0009335, allocations: 86.55 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.463e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3143, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9786/1.293, allocations: 139.3 MB / 1.116 GB, free: 44.43 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/1.293, allocations: 73.94 kB / 1.116 GB, free: 44.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.003089/1.296, allocations: 1.069 MB / 1.117 GB, free: 43.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.282e-06/1.296, allocations: 0 / 1.117 GB, free: 43.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.296, allocations: 0 / 1.117 GB, free: 43.68 MB / 0.7448 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.0003174/1.297, allocations: 336.9 kB / 1.117 GB, free: 43.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/1.297, allocations: 8.031 kB / 1.117 GB, free: 43.32 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/1.297, allocations: 11.56 kB / 1.117 GB, free: 43.31 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/1.297, allocations: 163.4 kB / 1.117 GB, free: 43.12 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/1.297, allocations: 3.938 kB / 1.117 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/1.297, allocations: 8.016 kB / 1.117 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/1.297, allocations: 40.14 kB / 1.118 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/1.297, allocations: 0 / 1.118 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/1.297, allocations: 0 / 1.118 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/1.297, allocations: 0 / 1.118 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.376e-05/1.297, allocations: 12.53 kB / 1.118 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/1.298, allocations: 273 kB / 1.118 GB, free: 42.78 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.824e-05/1.298, allocations: 29.47 kB / 1.118 GB, free: 42.74 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/1.298, allocations: 13.3 kB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/1.298, allocations: 84.47 kB / 1.118 GB, free: 42.63 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/1.298, allocations: 34.56 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.104e-06/1.298, allocations: 4.938 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001362/1.298, allocations: 40.8 kB / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/1.298, allocations: 55.03 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.217e-05/1.298, allocations: 97.34 kB / 1.118 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/1.298, allocations: 29.64 kB / 1.118 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/1.298, allocations: 83.95 kB / 1.118 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/1.298, allocations: 7.812 kB / 1.118 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/1.298, allocations: 4 kB / 1.118 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.896e-05/1.298, allocations: 322.8 kB / 1.119 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/1.298, allocations: 4 kB / 1.119 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.249e-05/1.298, allocations: 3.812 kB / 1.119 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.784e-05/1.298, allocations: 4.562 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.298, allocations: 0 / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.639e-05/1.298, allocations: 45 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/1.298, allocations: 4 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.298, allocations: 0 / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/1.298, allocations: 8.094 kB / 1.119 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.114e-05/1.298, allocations: 12.41 kB / 1.119 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/1.298, allocations: 0 / 1.119 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.904e-05/1.299, allocations: 7.938 kB / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/1.299, allocations: 7.375 kB / 1.119 GB, free: 41.86 MB / 0.7448 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 3.918e-05/1.299, allocations: 110.5 kB / 1.119 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/1.299, allocations: 7.188 kB / 1.119 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/1.299, allocations: 56.61 kB / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.299, allocations: 0 / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.299, allocations: 0.9375 kB / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/1.299, allocations: 0.5625 kB / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/1.299, allocations: 160.4 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.299, allocations: 0.5625 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.037e-05/1.299, allocations: 11.33 kB / 1.119 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.299, allocations: 4 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/1.299, allocations: 4.031 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/1.299, allocations: 1.344 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.299, allocations: 0 / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.335e-05/1.299, allocations: 146.2 kB / 1.119 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/1.299, allocations: 77.11 kB / 1.119 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/1.299, allocations: 0.5625 kB / 1.119 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.991e-05/1.299, allocations: 15.5 kB / 1.119 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/1.299, allocations: 0.5625 kB / 1.119 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/1.299, allocations: 0 / 1.119 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.833e-05/1.299, allocations: 84.28 kB / 1.119 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.4e-07/1.299, allocations: 4.656 kB / 1.119 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002303/1.3, allocations: 11.33 kB / 1.119 GB, free: 41.14 MB / 0.7448 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.0001311/1.3, allocations: 99.25 kB / 1.119 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.13e-05/1.3, allocations: 15.81 kB / 1.119 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/1.3, allocations: 4.062 kB / 1.119 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.978e-05/1.3, allocations: 7.5 kB / 1.119 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/1.3, allocations: 5.219 kB / 1.119 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001915/1.3, allocations: 74.66 kB / 1.12 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/1.3, allocations: 0.68 MB / 1.12 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.457e-05/1.3, allocations: 0 / 1.12 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.733e-05/1.3, allocations: 11.44 kB / 1.12 GB, free: 40.22 MB / 0.7448 GB Notification: Performance of SimCode: time 4.5e-07/1.3, allocations: 4.062 kB / 1.12 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of Templates: time 0.002175/1.303, allocations: 474.5 kB / 1.121 GB, free: 39.96 MB / 0.7448 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)