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.57/2.57, allocations: 285 MB / 292.5 MB, free: 10.58 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.001528/0.001528, allocations: 180.9 kB / 360.7 MB, free: 7.234 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.107/2.107, allocations: 205.3 MB / 0.6192 GB, free: 12.16 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.001404/0.001404, allocations: 91.86 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.815e-05, allocations: 4 kB / 0.8509 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8846/0.8847, allocations: 115.3 MB / 0.9634 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2365/1.121, allocations: 137.5 MB / 1.098 GB, free: 2.949 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/1.122, allocations: 72.58 kB / 1.098 GB, free: 2.879 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004757/1.126, allocations: 1.065 MB / 1.099 GB, free: 1.832 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.196e-06/1.126, allocations: 0 / 1.099 GB, free: 1.832 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.783e-06/1.126, allocations: 3.438 kB / 1.099 GB, free: 1.832 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.0004906/1.127, allocations: 344.8 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/1.127, allocations: 11.97 kB / 1.099 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/1.127, allocations: 9.719 kB / 1.099 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/1.127, allocations: 167.8 kB / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/1.127, allocations: 1.406 kB / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/1.127, allocations: 0 / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.215e-05/1.127, allocations: 12 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.89e-05/1.127, allocations: 34.47 kB / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/1.128, allocations: 2.109 kB / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/1.128, allocations: 0.625 kB / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/1.128, allocations: 0 / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00052/1.128, allocations: 248.1 kB / 1.1 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.951e-05/1.128, allocations: 32.55 kB / 1.1 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/1.128, allocations: 9.453 kB / 1.1 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/1.128, allocations: 85.73 kB / 1.1 GB, free: 0.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/1.128, allocations: 32.09 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/1.128, allocations: 0 / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003094/1.129, allocations: 46.34 kB / 1.1 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/1.129, allocations: 52.28 kB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.772e-05/1.129, allocations: 104.3 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/1.129, allocations: 25.7 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/1.129, allocations: 85.64 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/1.129, allocations: 7.844 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-06/1.129, allocations: 3.938 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.129, allocations: 318.8 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.517e-05/1.129, allocations: 4 kB / 1.1 GB, free: 40 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.16e-05/1.129, allocations: 6.875 kB / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/1.129, allocations: 15.98 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/1.129, allocations: 0 / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002157/1.13, allocations: 53.67 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.13, allocations: 4 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.13, allocations: 0 / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/1.13, allocations: 0 / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/1.13, allocations: 19.42 kB / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/1.13, allocations: 0 / 1.101 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.016e-05/1.13, allocations: 15.84 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/1.13, allocations: 0 / 1.101 GB, free: 15.93 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 8.624e-05/1.13, allocations: 115.4 kB / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/1.13, allocations: 4 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/1.13, allocations: 57.38 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/1.13, allocations: 0 / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.13, allocations: 3.984 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.13, allocations: 0.5156 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/1.131, allocations: 138.2 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/1.131, allocations: 3.953 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/1.131, allocations: 11.98 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/1.131, allocations: 0 / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/1.131, allocations: 0 / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.131, allocations: 4.031 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.131, allocations: 0 / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/1.131, allocations: 149.5 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/1.131, allocations: 88.95 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/1.131, allocations: 0 / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/1.131, allocations: 10.56 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/1.131, allocations: 8.016 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/1.131, allocations: 4 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.657e-05/1.131, allocations: 81.53 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.131, allocations: 0 / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003066/1.132, allocations: 8 kB / 1.101 GB, free: 15.18 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.0001711/1.132, allocations: 103.2 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.973e-05/1.132, allocations: 16 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.132, allocations: 0 / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.682e-05/1.132, allocations: 12.05 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/1.132, allocations: 13.25 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002112/1.133, allocations: 55.16 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/1.133, allocations: 0.6806 MB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.896e-05/1.133, allocations: 6.578 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/1.133, allocations: 7.438 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/1.133, allocations: 0 / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of Templates: time 0.003009/1.136, allocations: 452.3 kB / 1.102 GB, free: 13.82 MB / 0.7136 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)