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.001423/0.001427, allocations: 186 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.8143/0.8143, allocations: 82.93 MB / 99.42 MB, free: 3.219 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.277/2.277, allocations: 205.4 MB / 325.4 MB, free: 3.355 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 96.61 kB / 393.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004639, allocations: 15.98 kB / 471.5 MB, free: 66.56 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0901/0.09059, allocations: 67.44 MB / 0.5263 GB, free: 15.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.001853/0.09249, allocations: 1.144 MB / 0.5275 GB, free: 13.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004444/0.09296, allocations: 185.2 kB / 0.5276 GB, free: 13.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.09301, allocations: 4 kB / 0.5276 GB, free: 13.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.231e-05/0.09303, allocations: 0 / 0.5276 GB, free: 13.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.52e-05/0.09309, allocations: 0 / 0.5276 GB, free: 13.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.09332, allocations: 27.95 kB / 0.5277 GB, free: 13.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.188e-05/0.09339, allocations: 11.94 kB / 0.5277 GB, free: 13.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.542e-05/0.09348, allocations: 7.984 kB / 0.5277 GB, free: 13.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.004e-05/0.09353, allocations: 11.98 kB / 0.5277 GB, free: 13.69 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.771e-05/0.09359, allocations: 7.922 kB / 0.5277 GB, free: 13.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.09361, allocations: 4 kB / 0.5277 GB, free: 13.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.302e-05/0.09371, allocations: 35.91 kB / 0.5277 GB, free: 13.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.298e-06/0.09373, allocations: 0 / 0.5277 GB, free: 13.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.09377, allocations: 29.7 kB / 0.5278 GB, free: 13.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.642e-05/0.09387, allocations: 27.94 kB / 0.5278 GB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.809e-06/0.09389, allocations: 4 kB / 0.5278 GB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.0939, allocations: 0 / 0.5278 GB, free: 13.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.301e-06/0.09391, allocations: 0 / 0.5278 GB, free: 13.57 MB / 378.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.0004901/0.09441, allocations: 347.5 kB / 0.5281 GB, free: 13.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.09446, allocations: 8.031 kB / 0.5281 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.09451, allocations: 4 kB / 0.5281 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.09467, allocations: 167 kB / 0.5283 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.0947, allocations: 4 kB / 0.5283 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.09473, allocations: 4 kB / 0.5283 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.09494, allocations: 53.67 kB / 0.5284 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.268e-06/0.09496, allocations: 4 kB / 0.5284 GB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.09498, allocations: 3.953 kB / 0.5284 GB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.883e-06/0.095, allocations: 0 / 0.5284 GB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.09522, allocations: 43.95 kB / 0.5284 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.09561, allocations: 252.9 kB / 0.5287 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.09579, allocations: 50.48 kB / 0.5287 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.09591, allocations: 77.11 kB / 0.5288 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.09596, allocations: 38.58 kB / 0.5288 GB, free: 12.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.144e-06/0.09597, allocations: 0 / 0.5288 GB, free: 12.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004424/0.09643, allocations: 97.64 kB / 0.5289 GB, free: 12.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.09649, allocations: 51.41 kB / 0.529 GB, free: 12.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.432e-05/0.0966, allocations: 113.8 kB / 0.5291 GB, free: 12.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.09663, allocations: 29.7 kB / 0.5291 GB, free: 12.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.0967, allocations: 80.14 kB / 0.5292 GB, free: 11.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.09673, allocations: 7.906 kB / 0.5292 GB, free: 11.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-06/0.09675, allocations: 0 / 0.5292 GB, free: 11.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.09691, allocations: 314.8 kB / 0.5295 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.09703, allocations: 23.97 kB / 0.5295 GB, free: 11.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.09715, allocations: 23.98 kB / 0.5295 GB, free: 11.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.09727, allocations: 23.92 kB / 0.5295 GB, free: 11.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.106e-06/0.09728, allocations: 0 / 0.5295 GB, free: 11.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002747/0.09757, allocations: 81.72 kB / 0.5296 GB, free: 11.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.0976, allocations: 6.344 kB / 0.5296 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.09762, allocations: 3.953 kB / 0.5296 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.09764, allocations: 0 / 0.5296 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.09776, allocations: 15.98 kB / 0.5296 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.81e-06/0.09778, allocations: 4.031 kB / 0.5296 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.252e-05/0.09785, allocations: 11.88 kB / 0.5297 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.5e-06/0.09787, allocations: 0 / 0.5297 GB, free: 11.44 MB / 378.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.0001001/0.09798, allocations: 113.8 kB / 0.5298 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.82e-05/0.09803, allocations: 3.906 kB / 0.5298 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.09835, allocations: 84.78 kB / 0.5299 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.36e-06/0.09837, allocations: 3.953 kB / 0.5299 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.041e-06/0.09839, allocations: 0 / 0.5299 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.338e-06/0.0984, allocations: 4 kB / 0.5299 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.09862, allocations: 157.7 kB / 0.53 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-06/0.09864, allocations: 0 / 0.53 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.108e-05/0.09873, allocations: 12.03 kB / 0.53 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.073e-06/0.09874, allocations: 0 / 0.53 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.229e-06/0.09876, allocations: 0 / 0.53 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.17e-06/0.09877, allocations: 0 / 0.53 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/0.09879, allocations: 3.953 kB / 0.53 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.09911, allocations: 179.5 kB / 0.5302 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/0.09918, allocations: 81.09 kB / 0.5303 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.09921, allocations: 256 / 0.5303 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.09932, allocations: 12 kB / 0.5303 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.09938, allocations: 7.938 kB / 0.5303 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-06/0.0994, allocations: 0 / 0.5303 GB, free: 10.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.155e-05/0.09947, allocations: 87.31 kB / 0.5304 GB, free: 10.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.8e-07/0.09948, allocations: 0 / 0.5304 GB, free: 10.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000317/0.0998, allocations: 16 kB / 0.5304 GB, free: 10.58 MB / 378.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.0001707/0.09999, allocations: 103.2 kB / 0.5305 GB, free: 10.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.1003, allocations: 51.91 kB / 0.5305 GB, free: 10.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.697e-06/0.1003, allocations: 3.938 kB / 0.5305 GB, free: 10.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.1004, allocations: 27.92 kB / 0.5306 GB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.1007, allocations: 7.984 kB / 0.5306 GB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.101, allocations: 104.8 kB / 0.5307 GB, free: 10.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.1013, allocations: 0.6809 MB / 0.5313 GB, free: 9.543 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.039e-05/0.1014, allocations: 3.984 kB / 0.5313 GB, free: 9.539 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.1014, allocations: 11.44 kB / 0.5314 GB, free: 9.527 MB / 378.7 MB Notification: Performance of SimCode: time 1.235e-06/0.1014, allocations: 0 / 0.5314 GB, free: 9.527 MB / 378.7 MB Notification: Performance of Templates: time 0.002873/0.1043, allocations: 0.491 MB / 0.5318 GB, free: 9.039 MB / 378.7 MB