Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002488/0.002488, allocations: 357.8 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.498/1.498, allocations: 165.8 MB / 183.1 MB, free: 5.395 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.724/3.724, allocations: 410.8 MB / 0.6001 GB, free: 15.19 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.001718/0.001717, allocations: 198.2 kB / 0.6668 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004769/0.0004771, allocations: 12 kB / 0.7429 GB, free: 8.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4109, allocations: 67.44 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.5774, allocations: 98.34 MB / 0.9048 GB, free: 10.33 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.5778, allocations: 75.95 kB / 0.9048 GB, free: 10.26 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006221/0.584, allocations: 1.352 MB / 0.9062 GB, free: 8.902 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5841, allocations: 0 / 0.9062 GB, free: 8.902 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.5841, allocations: 0 / 0.9062 GB, free: 8.902 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.0004732/0.5846, allocations: 347.2 kB / 0.9065 GB, free: 8.516 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.5846, allocations: 8.031 kB / 0.9065 GB, free: 8.508 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.5847, allocations: 4 kB / 0.9065 GB, free: 8.504 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.5848, allocations: 171 kB / 0.9067 GB, free: 8.297 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.5848, allocations: 4 kB / 0.9067 GB, free: 8.293 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.5849, allocations: 4 kB / 0.9067 GB, free: 8.289 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.5852, allocations: 57.66 kB / 0.9067 GB, free: 8.227 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.5852, allocations: 3.938 kB / 0.9067 GB, free: 8.223 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.5852, allocations: 3.953 kB / 0.9067 GB, free: 8.219 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.5852, allocations: 0 / 0.9067 GB, free: 8.219 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.5855, allocations: 43.97 kB / 0.9068 GB, free: 8.176 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.5861, allocations: 264 kB / 0.907 GB, free: 7.871 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.5863, allocations: 50.55 kB / 0.9071 GB, free: 7.812 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.5864, allocations: 24.91 kB / 0.9071 GB, free: 7.785 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.5866, allocations: 81.11 kB / 0.9072 GB, free: 7.688 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.5866, allocations: 42.45 kB / 0.9072 GB, free: 7.637 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.5866, allocations: 0 / 0.9072 GB, free: 7.637 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0005642/0.5872, allocations: 105.6 kB / 0.9073 GB, free: 7.527 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.5873, allocations: 51.41 kB / 0.9074 GB, free: 7.465 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.033e-05/0.5874, allocations: 109.8 kB / 0.9075 GB, free: 7.348 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.5874, allocations: 25.7 kB / 0.9075 GB, free: 7.316 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.5875, allocations: 80.14 kB / 0.9076 GB, free: 7.234 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.5875, allocations: 7.906 kB / 0.9076 GB, free: 7.227 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.5875, allocations: 0 / 0.9076 GB, free: 7.227 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5876, allocations: 314.8 kB / 0.9079 GB, free: 6.91 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.5878, allocations: 28 kB / 0.9079 GB, free: 6.883 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.5879, allocations: 23.92 kB / 0.9079 GB, free: 6.859 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.5881, allocations: 24.05 kB / 0.9079 GB, free: 6.836 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5881, allocations: 0 / 0.9079 GB, free: 6.836 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003426/0.5885, allocations: 77.66 kB / 0.908 GB, free: 6.754 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.5885, allocations: 10.61 kB / 0.908 GB, free: 6.746 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5885, allocations: 0 / 0.908 GB, free: 6.746 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5885, allocations: 7.969 kB / 0.908 GB, free: 6.738 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.5887, allocations: 11.98 kB / 0.9081 GB, free: 6.727 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5887, allocations: 0 / 0.9081 GB, free: 6.727 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.818e-05/0.5888, allocations: 8 kB / 0.9081 GB, free: 6.719 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.5888, allocations: 0 / 0.9081 GB, free: 6.719 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 (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.0001124/0.5889, allocations: 109.8 kB / 0.9082 GB, free: 6.602 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.589, allocations: 8 kB / 0.9082 GB, free: 6.594 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004478/0.5894, allocations: 92.66 kB / 0.9083 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.5895, allocations: 0 / 0.9083 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5895, allocations: 256 / 0.9083 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.5895, allocations: 0 / 0.9083 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.5898, allocations: 173.6 kB / 0.9084 GB, free: 6.281 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5898, allocations: 0 / 0.9084 GB, free: 6.281 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.5899, allocations: 12 kB / 0.9084 GB, free: 6.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.5899, allocations: 0 / 0.9084 GB, free: 6.27 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.5899, allocations: 0 / 0.9084 GB, free: 6.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.5899, allocations: 7.938 kB / 0.9084 GB, free: 6.262 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.59, allocations: 0 / 0.9084 GB, free: 6.262 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.5904, allocations: 175.5 kB / 0.9086 GB, free: 6.074 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.5905, allocations: 81.09 kB / 0.9087 GB, free: 5.977 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.5905, allocations: 0 / 0.9087 GB, free: 5.977 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.5906, allocations: 4 kB / 0.9087 GB, free: 5.973 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.5907, allocations: 23.91 kB / 0.9087 GB, free: 5.949 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.5907, allocations: 0 / 0.9087 GB, free: 5.949 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.582e-05/0.5907, allocations: 79.28 kB / 0.9088 GB, free: 5.871 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5908, allocations: 0 / 0.9088 GB, free: 5.871 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003081/0.5911, allocations: 19.94 kB / 0.9088 GB, free: 5.852 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 (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.0001924/0.5913, allocations: 103.2 kB / 0.9089 GB, free: 5.738 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003471/0.5916, allocations: 51.97 kB / 0.909 GB, free: 5.688 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5917, allocations: 0 / 0.909 GB, free: 5.688 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.5918, allocations: 27.91 kB / 0.909 GB, free: 5.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.5922, allocations: 9.422 kB / 0.909 GB, free: 5.652 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.5925, allocations: 116.7 kB / 0.9091 GB, free: 5.512 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.5928, allocations: 0.677 MB / 0.9098 GB, free: 4.809 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.264e-05/0.5928, allocations: 0 / 0.9098 GB, free: 4.809 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.5929, allocations: 11.44 kB / 0.9098 GB, free: 4.797 MB / 458.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5929, allocations: 0 / 0.9098 GB, free: 4.797 MB / 458.7 MB Notification: Performance of Templates: time 0.003312/0.5962, allocations: 493.8 kB / 0.9102 GB, free: 4.316 MB / 458.7 MB