Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.56/2.56, allocations: 287.5 MB / 302.4 MB, free: 8.371 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.001541/0.00154, allocations: 181.1 kB / 371 MB, free: 10.79 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.138/2.138, allocations: 205.4 MB / 0.6297 GB, free: 10.5 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001177/0.001176, allocations: 91.95 kB / 0.743 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001434, allocations: 12.38 kB / 0.8658 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2987, allocations: 115.3 MB / 0.9784 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.378, allocations: 138.3 MB / 1.113 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/1.378, allocations: 76.11 kB / 1.113 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004903/1.383, allocations: 1.086 MB / 1.115 GB, free: 31.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.365e-06/1.383, allocations: 0 / 1.115 GB, free: 31.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.293e-06/1.383, allocations: 0 / 1.115 GB, free: 31.3 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.0004504/1.383, allocations: 343.3 kB / 1.115 GB, free: 30.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/1.384, allocations: 11.73 kB / 1.115 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/1.384, allocations: 7.906 kB / 1.115 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/1.384, allocations: 168.2 kB / 1.115 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/1.384, allocations: 0 / 1.115 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/1.384, allocations: 0 / 1.115 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/1.384, allocations: 63.06 kB / 1.115 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/1.384, allocations: 0 / 1.115 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/1.384, allocations: 0 / 1.115 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/1.384, allocations: 0 / 1.115 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/1.384, allocations: 44.81 kB / 1.115 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/1.385, allocations: 275.2 kB / 1.115 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/1.385, allocations: 48.59 kB / 1.115 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/1.385, allocations: 89.58 kB / 1.116 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/1.385, allocations: 31.97 kB / 1.116 GB, free: 30.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/1.385, allocations: 0 / 1.116 GB, free: 30.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0005311/1.386, allocations: 97.03 kB / 1.116 GB, free: 30.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/1.386, allocations: 51.41 kB / 1.116 GB, free: 30.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/1.386, allocations: 103.2 kB / 1.116 GB, free: 30.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/1.386, allocations: 25.7 kB / 1.116 GB, free: 30.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/1.386, allocations: 87.48 kB / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/1.386, allocations: 5.344 kB / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/1.386, allocations: 0 / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.386, allocations: 320.2 kB / 1.116 GB, free: 29.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/1.386, allocations: 26.44 kB / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/1.386, allocations: 24.22 kB / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/1.387, allocations: 21.61 kB / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.387, allocations: 0 / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003299/1.387, allocations: 78.72 kB / 1.116 GB, free: 29.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/1.387, allocations: 10.12 kB / 1.116 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.387, allocations: 0 / 1.116 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/1.387, allocations: 1.5 kB / 1.116 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/1.387, allocations: 14.08 kB / 1.116 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/1.387, allocations: 8.016 kB / 1.116 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.539e-05/1.387, allocations: 9.141 kB / 1.116 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/1.387, allocations: 0 / 1.116 GB, free: 29.58 MB / 0.698 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 8.971e-05/1.387, allocations: 111.3 kB / 1.117 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/1.387, allocations: 3.969 kB / 1.117 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003634/1.388, allocations: 89.56 kB / 1.117 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/1.388, allocations: 0 / 1.117 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.388, allocations: 0 / 1.117 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.388, allocations: 1.5 kB / 1.117 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/1.388, allocations: 162.9 kB / 1.117 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/1.388, allocations: 0 / 1.117 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.808e-05/1.388, allocations: 10.86 kB / 1.117 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.388, allocations: 4 kB / 1.117 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/1.388, allocations: 0 / 1.117 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/1.388, allocations: 0 / 1.117 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.388, allocations: 0 / 1.117 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/1.389, allocations: 184.6 kB / 1.117 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/1.389, allocations: 83.8 kB / 1.117 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/1.389, allocations: 3.938 kB / 1.117 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/1.389, allocations: 9.312 kB / 1.117 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/1.389, allocations: 3.875 kB / 1.117 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/1.389, allocations: 3.984 kB / 1.117 GB, free: 28.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.87e-05/1.389, allocations: 92.97 kB / 1.117 GB, free: 28.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.389, allocations: 4.031 kB / 1.117 GB, free: 28.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002909/1.389, allocations: 3.875 kB / 1.117 GB, free: 28.89 MB / 0.698 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.0001683/1.389, allocations: 102.5 kB / 1.117 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003271/1.39, allocations: 53.84 kB / 1.117 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.39, allocations: 0 / 1.117 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/1.39, allocations: 31.88 kB / 1.117 GB, free: 28.79 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/1.39, allocations: 3.953 kB / 1.117 GB, free: 28.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/1.391, allocations: 116.3 kB / 1.117 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/1.391, allocations: 0.6795 MB / 1.118 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.525e-05/1.391, allocations: 0 / 1.118 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/1.391, allocations: 11.28 kB / 1.118 GB, free: 27.97 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/1.391, allocations: 0 / 1.118 GB, free: 27.97 MB / 0.698 GB Notification: Performance of Templates: time 0.00295/1.394, allocations: 469.4 kB / 1.119 GB, free: 27.92 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)