Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001372/0.001375, allocations: 185.2 kB / 15.76 MB, free: 5.996 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.8857/0.8857, allocations: 82.92 MB / 99.42 MB, free: 3.32 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.286/2.286, allocations: 205.4 MB / 325.4 MB, free: 3.516 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.001004/0.001004, allocations: 94.84 kB / 393.6 MB, free: 15.29 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004512/0.0004514, allocations: 12 kB / 471.5 MB, free: 66.59 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09028/0.09076, allocations: 67.44 MB / 0.5263 GB, free: 15.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.001821/0.09263, allocations: 1.137 MB / 0.5275 GB, free: 13.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008972/0.09357, allocations: 489.7 kB / 0.5279 GB, free: 13.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.09363, allocations: 0 / 0.5279 GB, free: 13.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.338e-05/0.09366, allocations: 0 / 0.5279 GB, free: 13.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.633e-05/0.09373, allocations: 4 kB / 0.5279 GB, free: 13.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.09391, allocations: 15.98 kB / 0.5279 GB, free: 13.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.452e-05/0.09399, allocations: 15.97 kB / 0.528 GB, free: 13.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.043e-05/0.09409, allocations: 15.92 kB / 0.528 GB, free: 13.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.463e-05/0.09416, allocations: 11.98 kB / 0.528 GB, free: 13.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.387e-05/0.09422, allocations: 7.922 kB / 0.528 GB, free: 13.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.09424, allocations: 4 kB / 0.528 GB, free: 13.4 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.785e-05/0.09432, allocations: 15.98 kB / 0.528 GB, free: 13.39 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.09435, allocations: 7.984 kB / 0.528 GB, free: 13.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.09439, allocations: 25.7 kB / 0.528 GB, free: 13.35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.876e-05/0.09448, allocations: 23.95 kB / 0.5281 GB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.864e-06/0.09449, allocations: 0 / 0.5281 GB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.293e-06/0.09451, allocations: 0 / 0.5281 GB, free: 13.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.359e-06/0.09452, allocations: 7.938 kB / 0.5281 GB, free: 13.32 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.0004708/0.095, allocations: 348.6 kB / 0.5284 GB, free: 12.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.09505, allocations: 8.031 kB / 0.5284 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/0.09509, allocations: 0 / 0.5284 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.09525, allocations: 171 kB / 0.5286 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.09528, allocations: 0 / 0.5286 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.0953, allocations: 0 / 0.5286 GB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.09551, allocations: 61.62 kB / 0.5286 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.35e-06/0.09554, allocations: 0 / 0.5286 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.065e-06/0.09555, allocations: 0 / 0.5286 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.854e-06/0.09557, allocations: 4 kB / 0.5286 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.09579, allocations: 47.95 kB / 0.5287 GB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003799/0.09618, allocations: 248.9 kB / 0.5289 GB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.09636, allocations: 54.38 kB / 0.529 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.09653, allocations: 85.17 kB / 0.5291 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.09657, allocations: 30.56 kB / 0.5291 GB, free: 12.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.313e-06/0.09659, allocations: 0 / 0.5291 GB, free: 12.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004377/0.09703, allocations: 101.7 kB / 0.5292 GB, free: 12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.0971, allocations: 55.34 kB / 0.5292 GB, free: 11.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.718e-05/0.09721, allocations: 105.8 kB / 0.5293 GB, free: 11.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.09724, allocations: 25.7 kB / 0.5294 GB, free: 11.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.976e-05/0.09731, allocations: 80.14 kB / 0.5294 GB, free: 11.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.09734, allocations: 7.844 kB / 0.5294 GB, free: 11.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.09736, allocations: 4 kB / 0.5295 GB, free: 11.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.09752, allocations: 318.9 kB / 0.5298 GB, free: 11.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.09765, allocations: 19.97 kB / 0.5298 GB, free: 11.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.727e-05/0.09776, allocations: 23.98 kB / 0.5298 GB, free: 11.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.09787, allocations: 20.05 kB / 0.5298 GB, free: 11.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.269e-06/0.09788, allocations: 0 / 0.5298 GB, free: 11.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002836/0.09818, allocations: 85.61 kB / 0.5299 GB, free: 11.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.09821, allocations: 4.625 kB / 0.5299 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.231e-06/0.09823, allocations: 4.031 kB / 0.5299 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.09825, allocations: 0 / 0.5299 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.09837, allocations: 15.92 kB / 0.5299 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.566e-06/0.09839, allocations: 3.938 kB / 0.5299 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.295e-05/0.09846, allocations: 8 kB / 0.5299 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.768e-06/0.09848, allocations: 0 / 0.5299 GB, free: 11.18 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.0001029/0.09859, allocations: 113.8 kB / 0.53 GB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.09864, allocations: 11.86 kB / 0.5301 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.09896, allocations: 80.78 kB / 0.5301 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.253e-06/0.09898, allocations: 0 / 0.5301 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.083e-06/0.09899, allocations: 0 / 0.5301 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.41e-06/0.099, allocations: 0 / 0.5301 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.09923, allocations: 161.7 kB / 0.5303 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.483e-06/0.09925, allocations: 4 kB / 0.5303 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.09934, allocations: 8 kB / 0.5303 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.769e-06/0.09935, allocations: 0 / 0.5303 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.09938, allocations: 3.953 kB / 0.5303 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.974e-06/0.09939, allocations: 8.172 kB / 0.5303 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.076e-06/0.0994, allocations: 4 kB / 0.5303 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.09974, allocations: 171.5 kB / 0.5305 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.09981, allocations: 81.09 kB / 0.5306 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.09983, allocations: 0 / 0.5306 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.09995, allocations: 15.98 kB / 0.5306 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.1, allocations: 7.969 kB / 0.5306 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.1, allocations: 3.938 kB / 0.5306 GB, free: 10.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.683e-05/0.1001, allocations: 83.28 kB / 0.5307 GB, free: 10.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.9e-07/0.1001, allocations: 0 / 0.5307 GB, free: 10.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003072/0.1004, allocations: 8 kB / 0.5307 GB, free: 10.33 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.0001624/0.1006, allocations: 99.23 kB / 0.5308 GB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.1009, allocations: 51.91 kB / 0.5308 GB, free: 10.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.772e-06/0.1009, allocations: 0 / 0.5308 GB, free: 10.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.101, allocations: 23.98 kB / 0.5308 GB, free: 10.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.1013, allocations: 12.11 kB / 0.5308 GB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.1016, allocations: 108.7 kB / 0.5309 GB, free: 10 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.102, allocations: 0.6809 MB / 0.5316 GB, free: 9.297 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.02e-05/0.102, allocations: 0 / 0.5316 GB, free: 9.297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.102, allocations: 11.44 kB / 0.5316 GB, free: 9.285 MB / 378.7 MB Notification: Performance of SimCode: time 1.308e-06/0.1021, allocations: 0 / 0.5316 GB, free: 9.285 MB / 378.7 MB Notification: Performance of Templates: time 0.002903/0.105, allocations: 473.3 kB / 0.5321 GB, free: 8.832 MB / 378.7 MB