Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.SmoothMin.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.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002495/0.002495, allocations: 353.4 kB / 16.57 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.478/1.478, allocations: 165.8 MB / 183.1 MB, free: 5.387 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.689/3.689, allocations: 410.8 MB / 0.6001 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001742/0.001742, allocations: 203.1 kB / 0.6668 GB, free: 6.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004744/0.0004746, allocations: 16 kB / 0.7429 GB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4012, allocations: 67.43 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2179/0.6191, allocations: 98.47 MB / 0.9049 GB, free: 10.17 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.6194, allocations: 71.97 kB / 0.905 GB, free: 10.1 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005612/0.625, allocations: 1.155 MB / 0.9061 GB, free: 8.941 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.6251, allocations: 0 / 0.9061 GB, free: 8.941 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.6251, allocations: 0 / 0.9061 GB, free: 8.941 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000733/0.6258, allocations: 355.2 kB / 0.9064 GB, free: 8.547 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.6259, allocations: 8.031 kB / 0.9064 GB, free: 8.539 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002288/0.6282, allocations: 191.6 kB / 0.9066 GB, free: 8.352 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.6285, allocations: 171 kB / 0.9068 GB, free: 8.145 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.6285, allocations: 4 kB / 0.9068 GB, free: 8.141 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.6286, allocations: 4 kB / 0.9068 GB, free: 8.137 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.6302, allocations: 217.4 kB / 0.907 GB, free: 7.918 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.6303, allocations: 0 / 0.907 GB, free: 7.918 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.6303, allocations: 3.953 kB / 0.907 GB, free: 7.914 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.6304, allocations: 4 kB / 0.907 GB, free: 7.91 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002824/0.6332, allocations: 315.6 kB / 0.9073 GB, free: 7.602 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.6355, allocations: 453.3 kB / 0.9077 GB, free: 7.109 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/0.6389, allocations: 338.2 kB / 0.9081 GB, free: 6.77 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.6403, allocations: 116.8 kB / 0.9082 GB, free: 6.652 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.6403, allocations: 4 kB / 0.9082 GB, free: 6.648 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.454e-05/0.6404, allocations: 38.56 kB / 0.9082 GB, free: 6.602 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 3.567e-06/0.6404, allocations: 3.938 kB / 0.9082 GB, free: 6.598 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.003732/0.6442, allocations: 365.2 kB / 0.9086 GB, free: 6.234 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.6443, allocations: 51.41 kB / 0.9086 GB, free: 6.172 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.6445, allocations: 122 kB / 0.9087 GB, free: 6.039 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/0.6446, allocations: 33.7 kB / 0.9088 GB, free: 6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.921e-05/0.6447, allocations: 84.14 kB / 0.9088 GB, free: 5.914 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/0.6448, allocations: 11.84 kB / 0.9089 GB, free: 5.902 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/0.6448, allocations: 0 / 0.9089 GB, free: 5.902 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.645, allocations: 325.8 kB / 0.9092 GB, free: 5.578 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.6462, allocations: 111.9 kB / 0.9093 GB, free: 5.469 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.6474, allocations: 120 kB / 0.9094 GB, free: 5.352 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.6486, allocations: 103.8 kB / 0.9095 GB, free: 5.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.6486, allocations: 0 / 0.9095 GB, free: 5.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.002371/0.651, allocations: 257.4 kB / 0.9097 GB, free: 4.992 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/0.6511, allocations: 4 kB / 0.9097 GB, free: 4.988 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.6511, allocations: 4 kB / 0.9097 GB, free: 4.984 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.6511, allocations: 0 / 0.9097 GB, free: 4.984 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000624/0.6518, allocations: 39.94 kB / 0.9098 GB, free: 4.945 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.6518, allocations: 3.984 kB / 0.9098 GB, free: 4.941 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.6523, allocations: 39.95 kB / 0.9098 GB, free: 4.902 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.6524, allocations: 8 kB / 0.9098 GB, free: 4.895 MB / 458.7 MB 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 (3): * Single equations (assignments): 3 * 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.0001702/0.6526, allocations: 117.8 kB / 0.9099 GB, free: 4.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.626e-05/0.6526, allocations: 3.906 kB / 0.9099 GB, free: 4.766 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.981e-05/0.6527, allocations: 15.91 kB / 0.91 GB, free: 4.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.6527, allocations: 4 kB / 0.91 GB, free: 4.746 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6528, allocations: 0 / 0.91 GB, free: 4.746 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.6528, allocations: 0 / 0.91 GB, free: 4.746 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004762/0.6533, allocations: 217.5 kB / 0.9102 GB, free: 4.484 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.6533, allocations: 0 / 0.9102 GB, free: 4.484 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/0.6539, allocations: 47.88 kB / 0.9102 GB, free: 4.438 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.6539, allocations: 4 kB / 0.9102 GB, free: 4.434 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.6539, allocations: 0 / 0.9102 GB, free: 4.434 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.6539, allocations: 0 / 0.9102 GB, free: 4.434 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.654, allocations: 0 / 0.9102 GB, free: 4.434 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.6561, allocations: 351.3 kB / 0.9105 GB, free: 4.074 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.435e-05/0.6562, allocations: 85 kB / 0.9106 GB, free: 3.973 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.6563, allocations: 0 / 0.9106 GB, free: 3.973 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006656/0.657, allocations: 39.95 kB / 0.9107 GB, free: 3.934 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.657, allocations: 4 kB / 0.9107 GB, free: 3.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.6571, allocations: 4 kB / 0.9107 GB, free: 3.926 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001479/0.6573, allocations: 95.58 kB / 0.9108 GB, free: 3.832 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.817e-06/0.6573, allocations: 0 / 0.9108 GB, free: 3.832 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006977/0.658, allocations: 15.94 kB / 0.9108 GB, free: 3.816 MB / 458.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 (3): * Single equations (assignments): 3 * 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.0001784/0.6582, allocations: 99.23 kB / 0.9109 GB, free: 3.707 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01025/0.6685, allocations: 231.8 kB / 0.9111 GB, free: 3.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.6685, allocations: 0 / 0.9111 GB, free: 3.48 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.6696, allocations: 123.9 kB / 0.9112 GB, free: 3.359 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.6701, allocations: 10.75 kB / 0.9112 GB, free: 3.352 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.6722, allocations: 300.4 kB / 0.9115 GB, free: 3.031 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.6727, allocations: 0.6926 MB / 0.9122 GB, free: 2.312 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002117/0.6729, allocations: 19.98 kB / 0.9122 GB, free: 2.293 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.6731, allocations: 11.44 kB / 0.9122 GB, free: 2.281 MB / 458.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6731, allocations: 3.938 kB / 0.9122 GB, free: 2.277 MB / 458.7 MB Notification: Performance of Templates: time 0.0105/0.6836, allocations: 0.7995 MB / 0.913 GB, free: 1.48 MB / 458.7 MB