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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009333/0.0009335, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009195/0.0009196, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000556/0.000556, allocations: 15.09 kB / 0.6735 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2623, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002/0.2644, allocations: 1.152 MB / 0.7882 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009675/0.2654, allocations: 486.2 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.2654, allocations: 3.938 kB / 0.7887 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.2655, allocations: 4 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.437e-05/0.2656, allocations: 0 / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.2658, allocations: 19.92 kB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.917e-05/0.2659, allocations: 15.97 kB / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.266, allocations: 4 kB / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.852e-05/0.2661, allocations: 8 kB / 0.7888 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.937e-05/0.2662, allocations: 11.91 kB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.2662, allocations: 4 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-05/0.2663, allocations: 15.98 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.2663, allocations: 4 kB / 0.7888 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.2664, allocations: 33.64 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.432e-05/0.2664, allocations: 15.97 kB / 0.7888 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2665, allocations: 0 / 0.7888 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2665, allocations: 0 / 0.7888 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2665, allocations: 0 / 0.7888 GB, free: 10.19 MB / 0.6075 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.0005402/0.267, allocations: 347.5 kB / 0.7892 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.2671, allocations: 16.02 kB / 0.7892 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.2671, allocations: 4 kB / 0.7892 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.2673, allocations: 171 kB / 0.7893 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.2673, allocations: 3.938 kB / 0.7894 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.2673, allocations: 0 / 0.7894 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.2675, allocations: 53.67 kB / 0.7894 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2676, allocations: 3.984 kB / 0.7894 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2676, allocations: 0 / 0.7894 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2676, allocations: 4 kB / 0.7894 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.2678, allocations: 59.83 kB / 0.7895 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.2682, allocations: 244.9 kB / 0.7897 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.2684, allocations: 42.56 kB / 0.7897 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/0.2686, allocations: 85.16 kB / 0.7898 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.2686, allocations: 30.56 kB / 0.7899 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2686, allocations: 0 / 0.7899 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003821/0.269, allocations: 109.5 kB / 0.79 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.269, allocations: 51.41 kB / 0.79 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.532e-05/0.2691, allocations: 101.8 kB / 0.7901 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.2692, allocations: 33.83 kB / 0.7901 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.2692, allocations: 80.14 kB / 0.7902 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.2693, allocations: 11.84 kB / 0.7902 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.2693, allocations: 0 / 0.7902 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2694, allocations: 314.8 kB / 0.7905 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.2695, allocations: 27.97 kB / 0.7905 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.152e-05/0.2696, allocations: 23.98 kB / 0.7906 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.935e-05/0.2697, allocations: 19.98 kB / 0.7906 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2697, allocations: 0 / 0.7906 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000199/0.2699, allocations: 81.66 kB / 0.7907 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2699, allocations: 8 kB / 0.7907 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2699, allocations: 256 / 0.7907 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.2699, allocations: 0 / 0.7907 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/0.27, allocations: 15.98 kB / 0.7907 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.27, allocations: 0 / 0.7907 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.2701, allocations: 12.03 kB / 0.7907 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.2701, allocations: 0 / 0.7907 GB, free: 8.039 MB / 0.6075 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.96e-05/0.2702, allocations: 113.8 kB / 0.7908 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.2702, allocations: 7.984 kB / 0.7908 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.2705, allocations: 84.72 kB / 0.7909 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2705, allocations: 3.938 kB / 0.7909 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2705, allocations: 0 / 0.7909 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.2705, allocations: 0 / 0.7909 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.2707, allocations: 161.5 kB / 0.7911 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2707, allocations: 0 / 0.7911 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.624e-05/0.2707, allocations: 15.98 kB / 0.7911 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.2707, allocations: 0 / 0.7911 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.2707, allocations: 8.031 kB / 0.7911 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2708, allocations: 0 / 0.7911 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2708, allocations: 0 / 0.7911 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.271, allocations: 171.5 kB / 0.7912 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.271, allocations: 81.11 kB / 0.7913 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.2711, allocations: 3.984 kB / 0.7913 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.2711, allocations: 7.938 kB / 0.7913 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.2712, allocations: 11.98 kB / 0.7913 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.2712, allocations: 0 / 0.7913 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.05e-05/0.2712, allocations: 83.22 kB / 0.7914 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2713, allocations: 0 / 0.7914 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002133/0.2715, allocations: 4 kB / 0.7914 GB, free: 7.195 MB / 0.6075 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.0002142/0.2717, allocations: 103.3 kB / 0.7915 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.2719, allocations: 51.95 kB / 0.7916 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2719, allocations: 0 / 0.7916 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.289e-05/0.272, allocations: 24.05 kB / 0.7916 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.2723, allocations: 18.86 kB / 0.7916 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.2726, allocations: 108.7 kB / 0.7917 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.2729, allocations: 0.6887 MB / 0.7924 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.593e-05/0.273, allocations: 0 / 0.7924 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.273, allocations: 11.44 kB / 0.7924 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.273, allocations: 0 / 0.7924 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of Templates: time 0.002516/0.2755, allocations: 474.8 kB / 0.7929 GB, free: 5.676 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: