Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json 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 7.0.1 (/var/lib/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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.207/2.207, allocations: 252.6 MB / 265.2 MB, free: 5.852 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001423/0.001423, allocations: 193.2 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.093/2.093, allocations: 205.4 MB / 0.5754 GB, free: 10.41 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 88.3 kB / 0.6797 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.906e-05/2.908e-05, allocations: 4 kB / 0.7911 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1984, allocations: 106.2 MB / 0.8949 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.905/1.103, allocations: 131.9 MB / 1.024 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/1.104, allocations: 77.81 kB / 1.024 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004627/1.108, allocations: 1.075 MB / 1.025 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/1.108, allocations: 0 / 1.025 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.322e-06/1.109, allocations: 0 / 1.025 GB, free: 1.668 MB / 0.6355 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.000438/1.109, allocations: 345.4 kB / 1.025 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.109, allocations: 8.031 kB / 1.025 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/1.109, allocations: 4 kB / 1.025 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/1.109, allocations: 167.8 kB / 1.025 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/1.109, allocations: 4 kB / 1.025 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/1.109, allocations: 0 / 1.025 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/1.109, allocations: 36.81 kB / 1.025 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/1.109, allocations: 10.61 kB / 1.025 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/1.109, allocations: 0 / 1.025 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/1.109, allocations: 4 kB / 1.025 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.924e-05/1.11, allocations: 11.06 kB / 1.025 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/1.11, allocations: 267.8 kB / 1.026 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.719e-05/1.11, allocations: 34.33 kB / 1.026 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/1.11, allocations: 11.98 kB / 1.026 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/1.11, allocations: 89.08 kB / 1.026 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/1.11, allocations: 34.44 kB / 1.026 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/1.11, allocations: 0 / 1.026 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002154/1.111, allocations: 40.58 kB / 1.026 GB, free: 492 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/1.111, allocations: 58.02 kB / 1.026 GB, free: 424 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.934e-05/1.111, allocations: 104.9 kB / 1.026 GB, free: 312 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/1.111, allocations: 25.7 kB / 1.026 GB, free: 280 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/1.111, allocations: 87.77 kB / 1.026 GB, free: 192 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/1.111, allocations: 3.906 kB / 1.026 GB, free: 188 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/1.111, allocations: 0 / 1.026 GB, free: 188 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001641/1.111, allocations: 314 kB / 1.026 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.734e-05/1.111, allocations: 4 kB / 1.026 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/1.111, allocations: 7.688 kB / 1.026 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.837e-05/1.111, allocations: 8.062 kB / 1.026 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/1.111, allocations: 0 / 1.026 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001085/1.111, allocations: 41.56 kB / 1.026 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/1.111, allocations: 11.94 kB / 1.026 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.111, allocations: 0 / 1.026 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/1.111, allocations: 0 / 1.026 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/1.112, allocations: 11.98 kB / 1.026 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/1.112, allocations: 3.984 kB / 1.026 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.276e-05/1.112, allocations: 27.72 kB / 1.027 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/1.112, allocations: 3.953 kB / 1.027 GB, free: 15.76 MB / 0.6511 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 7.637e-05/1.112, allocations: 105 kB / 1.027 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/1.112, allocations: 0 / 1.027 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/1.112, allocations: 56.3 kB / 1.027 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.112, allocations: 0 / 1.027 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.112, allocations: 0 / 1.027 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/1.112, allocations: 0 / 1.027 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/1.112, allocations: 168.3 kB / 1.027 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.112, allocations: 0 / 1.027 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/1.112, allocations: 11.98 kB / 1.027 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/1.112, allocations: 0 / 1.027 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/1.112, allocations: 0 / 1.027 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.112, allocations: 0 / 1.027 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.112, allocations: 0 / 1.027 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/1.113, allocations: 150.6 kB / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/1.113, allocations: 77.11 kB / 1.027 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/1.113, allocations: 4 kB / 1.027 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/1.113, allocations: 7.984 kB / 1.027 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/1.113, allocations: 4 kB / 1.027 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/1.113, allocations: 2.625 kB / 1.027 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.17e-05/1.113, allocations: 82.34 kB / 1.027 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.113, allocations: 0 / 1.027 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002861/1.113, allocations: 12.03 kB / 1.027 GB, free: 15.02 MB / 0.6511 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.0001821/1.114, allocations: 105.1 kB / 1.027 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001063/1.114, allocations: 15.38 kB / 1.027 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.114, allocations: 0 / 1.027 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.961e-05/1.114, allocations: 11.69 kB / 1.027 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/1.114, allocations: 5.047 kB / 1.027 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002423/1.114, allocations: 73.42 kB / 1.027 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/1.114, allocations: 0.677 MB / 1.028 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.382e-05/1.115, allocations: 4 kB / 1.028 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/1.115, allocations: 7.438 kB / 1.028 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/1.115, allocations: 0 / 1.028 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of Templates: time 0.003238/1.118, allocations: 490.4 kB / 1.029 GB, free: 13.61 MB / 0.6511 GB