Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.99/3.99, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002155/0.002154, allocations: 181.3 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.914/3.914, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001454/0.001454, allocations: 93.91 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000775/0.0007753, allocations: 12.12 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3138, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3394/0.6533, allocations: 132 MB / 1.028 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004145/0.6538, allocations: 75.97 kB / 1.028 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006411/0.6602, allocations: 1.099 MB / 1.03 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.076e-06/0.6603, allocations: 0 / 1.03 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.6603, allocations: 0 / 1.03 GB, free: 12.21 MB / 0.6823 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.000703/0.6611, allocations: 351.4 kB / 1.03 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.324e-05/0.6611, allocations: 8.031 kB / 1.03 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/0.6612, allocations: 0.9375 kB / 1.03 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.6614, allocations: 172.3 kB / 1.03 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.6615, allocations: 4.375 kB / 1.03 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.6615, allocations: 4.359 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.6619, allocations: 58.19 kB / 1.03 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.662, allocations: 4.172 kB / 1.03 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.662, allocations: 3.938 kB / 1.03 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.662, allocations: 4 kB / 1.03 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004107/0.6624, allocations: 39.97 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007993/0.6632, allocations: 269 kB / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.6635, allocations: 42.5 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.6638, allocations: 32.84 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002429/0.664, allocations: 85.09 kB / 1.031 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.6641, allocations: 30.56 kB / 1.031 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 4.158e-06/0.6641, allocations: 0 / 1.031 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0008007/0.6649, allocations: 101.6 kB / 1.031 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.665, allocations: 51.41 kB / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.6652, allocations: 101.8 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.6652, allocations: 25.7 kB / 1.031 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.6653, allocations: 92.27 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.6654, allocations: 11.83 kB / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-06/0.6654, allocations: 0 / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.6656, allocations: 314.8 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.6659, allocations: 31.91 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001937/0.6661, allocations: 19.98 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.6663, allocations: 23.98 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.6663, allocations: 0 / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005075/0.6668, allocations: 81.66 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.6669, allocations: 8 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.6669, allocations: 0 / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.6669, allocations: 0 / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.6671, allocations: 11.98 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.6672, allocations: 0 / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.6673, allocations: 11.94 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.6673, allocations: 4.031 kB / 1.031 GB, free: 10.02 MB / 0.6823 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 0.0001464/0.6675, allocations: 117.8 kB / 1.032 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.6676, allocations: 7.906 kB / 1.032 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005491/0.6681, allocations: 88.72 kB / 1.032 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6682, allocations: 0 / 1.032 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.6682, allocations: 0 / 1.032 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.6682, allocations: 0 / 1.032 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.6685, allocations: 157.6 kB / 1.032 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.6686, allocations: 3.984 kB / 1.032 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.6687, allocations: 8 kB / 1.032 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.6688, allocations: 0 / 1.032 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.6688, allocations: 4 kB / 1.032 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.6688, allocations: 32 / 1.032 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.6688, allocations: 4 kB / 1.032 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005616/0.6694, allocations: 175.4 kB / 1.032 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/0.6695, allocations: 89.38 kB / 1.032 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.6695, allocations: 0 / 1.032 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.6698, allocations: 8 kB / 1.032 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.6699, allocations: 7.984 kB / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.6699, allocations: 0 / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.929e-05/0.67, allocations: 83.28 kB / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.21e-07/0.67, allocations: 0 / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005282/0.6705, allocations: 8 kB / 1.032 GB, free: 9.168 MB / 0.6823 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.0002591/0.6708, allocations: 107.2 kB / 1.032 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004775/0.6713, allocations: 43.95 kB / 1.032 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.6713, allocations: 4 kB / 1.032 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.6716, allocations: 31.98 kB / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.6722, allocations: 7.922 kB / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.6726, allocations: 110.5 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.6731, allocations: 0.6809 MB / 1.033 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.781e-05/0.6731, allocations: 4.062 kB / 1.033 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.6732, allocations: 7.438 kB / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/0.6732, allocations: 0 / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of Templates: time 0.004509/0.6777, allocations: 485.5 kB / 1.034 GB, free: 7.648 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)