Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002641/0.002642, allocations: 358.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.245/1.245, allocations: 165.8 MB / 183.1 MB, free: 5.918 MB / 90.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.95/3.95, allocations: 410.7 MB / 0.6001 GB, free: 37.13 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001841/0.00184, allocations: 183.8 kB / 0.6668 GB, free: 1.816 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004659/0.0004661, allocations: 13.34 kB / 0.7429 GB, free: 73.8 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1402, allocations: 67.46 MB / 0.8087 GB, free: 17.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6533/0.7936, allocations: 98.19 MB / 0.9046 GB, free: 22.3 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.7939, allocations: 82.25 kB / 0.9047 GB, free: 22.3 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003039/0.797, allocations: 0.862 MB / 0.9056 GB, free: 21.96 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.797, allocations: 4.531 kB / 0.9056 GB, free: 21.96 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.797, allocations: 0.6562 kB / 0.9056 GB, free: 21.96 MB / 458.7 MB 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.0002197/0.7972, allocations: 313.9 kB / 0.9059 GB, free: 21.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.7973, allocations: 8.656 kB / 0.9059 GB, free: 21.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.7973, allocations: 1.688 kB / 0.9059 GB, free: 21.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.719e-05/0.7974, allocations: 161.7 kB / 0.906 GB, free: 21.42 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.7975, allocations: 4.344 kB / 0.906 GB, free: 21.42 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.7975, allocations: 0 / 0.906 GB, free: 21.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.7976, allocations: 39.14 kB / 0.9061 GB, free: 21.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.7976, allocations: 7.859 kB / 0.9061 GB, free: 21.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.7977, allocations: 0 / 0.9061 GB, free: 21.38 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.7977, allocations: 3.406 kB / 0.9061 GB, free: 21.38 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.552e-05/0.7977, allocations: 9.812 kB / 0.9061 GB, free: 21.37 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.7979, allocations: 148.1 kB / 0.9062 GB, free: 21.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.7981, allocations: 35.31 kB / 0.9063 GB, free: 21.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.7982, allocations: 19.11 kB / 0.9063 GB, free: 21.15 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/0.7984, allocations: 85.16 kB / 0.9064 GB, free: 21.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.7984, allocations: 33.7 kB / 0.9064 GB, free: 21.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 2.024e-06/0.7985, allocations: 0 / 0.9064 GB, free: 21.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=5): time 0.007088/0.8055, allocations: 0.5679 MB / 0.9069 GB, free: 20.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.8056, allocations: 57.31 kB / 0.907 GB, free: 20.87 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.484e-05/0.8057, allocations: 89.86 kB / 0.9071 GB, free: 20.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.8057, allocations: 25.7 kB / 0.9071 GB, free: 20.74 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.8057, allocations: 84.84 kB / 0.9072 GB, free: 20.65 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.8058, allocations: 16.8 kB / 0.9072 GB, free: 20.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/0.8058, allocations: 0 / 0.9072 GB, free: 20.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.806, allocations: 310.8 kB / 0.9075 GB, free: 20.33 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.807, allocations: 87.34 kB / 0.9076 GB, free: 20.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.8081, allocations: 97.69 kB / 0.9077 GB, free: 20.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.8091, allocations: 87.2 kB / 0.9078 GB, free: 20.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8091, allocations: 2.531 kB / 0.9078 GB, free: 20.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.002179/0.8113, allocations: 216.2 kB / 0.908 GB, free: 20.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.8113, allocations: 8.969 kB / 0.908 GB, free: 20.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.8114, allocations: 2.188 kB / 0.908 GB, free: 20.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.8114, allocations: 3.953 kB / 0.908 GB, free: 20.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/0.8121, allocations: 49.31 kB / 0.908 GB, free: 20.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.8121, allocations: 6 kB / 0.908 GB, free: 20.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005887/0.8127, allocations: 40.94 kB / 0.9081 GB, free: 20.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.8127, allocations: 6.172 kB / 0.9081 GB, free: 20.22 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.0001078/0.8128, allocations: 109.3 kB / 0.9082 GB, free: 20.11 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.8129, allocations: 2.875 kB / 0.9082 GB, free: 20.11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.8152, allocations: 237.3 kB / 0.9084 GB, free: 20.05 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.8152, allocations: 3.938 kB / 0.9084 GB, free: 20.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.8153, allocations: 6.859 kB / 0.9084 GB, free: 20.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.8153, allocations: 0 / 0.9084 GB, free: 20.04 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003143/0.8184, allocations: 454 kB / 0.9089 GB, free: 35.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.8185, allocations: 0 / 0.9089 GB, free: 35.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006684/0.8192, allocations: 47.72 kB / 0.9089 GB, free: 35.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.8192, allocations: 3.953 kB / 0.9089 GB, free: 35.73 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.8192, allocations: 2.031 kB / 0.9089 GB, free: 35.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.8192, allocations: 7.938 kB / 0.9089 GB, free: 35.72 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.8192, allocations: 1.734 kB / 0.9089 GB, free: 35.72 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.8214, allocations: 302.9 kB / 0.9092 GB, free: 35.57 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.8215, allocations: 84.73 kB / 0.9093 GB, free: 35.48 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.8216, allocations: 4.828 kB / 0.9093 GB, free: 35.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006256/0.8222, allocations: 40.64 kB / 0.9093 GB, free: 35.47 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.8222, allocations: 6.625 kB / 0.9093 GB, free: 35.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.8223, allocations: 1.359 kB / 0.9093 GB, free: 35.47 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.991e-05/0.8223, allocations: 80.22 kB / 0.9094 GB, free: 35.39 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.8223, allocations: 0 / 0.9094 GB, free: 35.39 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003283/0.8227, allocations: 14.78 kB / 0.9094 GB, free: 35.39 MB / 474.7 MB 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 (5): * Single equations (assignments): 5 * 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.0001802/0.8229, allocations: 102.8 kB / 0.9095 GB, free: 35.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002203/0.8251, allocations: 178.1 kB / 0.9097 GB, free: 35.28 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.8251, allocations: 3.438 kB / 0.9097 GB, free: 35.28 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.8262, allocations: 91.28 kB / 0.9098 GB, free: 35.27 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.8265, allocations: 3.5 kB / 0.9098 GB, free: 35.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.8283, allocations: 214.6 kB / 0.91 GB, free: 35.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.8286, allocations: 0.6824 MB / 0.9107 GB, free: 34.46 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003686/0.829, allocations: 33.25 kB / 0.9107 GB, free: 34.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.8291, allocations: 10.89 kB / 0.9107 GB, free: 34.43 MB / 474.7 MB Notification: Performance of SimCode: time 8.92e-07/0.8291, allocations: 1.125 kB / 0.9107 GB, free: 34.43 MB / 474.7 MB Notification: Performance of Templates: time 0.003726/0.8329, allocations: 0.7864 MB / 0.9115 GB, free: 34.37 MB / 474.7 MB