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.001383/0.001383, allocations: 189 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.7449/0.7449, allocations: 82.92 MB / 99.42 MB, free: 3.266 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.302/2.302, allocations: 205.4 MB / 325.4 MB, free: 3.238 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.001377/0.001376, allocations: 101.8 kB / 393.6 MB, free: 15 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000452/0.0004523, allocations: 12 kB / 471.5 MB, free: 66.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09758/0.09806, allocations: 67.44 MB / 0.5264 GB, free: 15.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.001854/0.09996, allocations: 1.156 MB / 0.5275 GB, free: 13.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003546/0.1004, allocations: 141.2 kB / 0.5276 GB, free: 13.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/0.1004, allocations: 0 / 0.5276 GB, free: 13.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.1004, allocations: 0 / 0.5276 GB, free: 13.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.299e-05/0.1005, allocations: 11.94 kB / 0.5276 GB, free: 13.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.1007, allocations: 19.95 kB / 0.5276 GB, free: 13.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.914e-05/0.1008, allocations: 23.97 kB / 0.5277 GB, free: 13.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1009, allocations: 20 kB / 0.5277 GB, free: 13.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.85e-05/0.101, allocations: 15.86 kB / 0.5277 GB, free: 13.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.379e-05/0.101, allocations: 15.92 kB / 0.5277 GB, free: 13.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.101, allocations: 0 / 0.5277 GB, free: 13.63 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.657e-05/0.1011, allocations: 27.98 kB / 0.5277 GB, free: 13.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.1012, allocations: 7.922 kB / 0.5278 GB, free: 13.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.1012, allocations: 37.64 kB / 0.5278 GB, free: 13.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.1013, allocations: 39.92 kB / 0.5278 GB, free: 13.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.513e-06/0.1013, allocations: 4 kB / 0.5278 GB, free: 13.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.938e-06/0.1014, allocations: 4 kB / 0.5278 GB, free: 13.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1014, allocations: 0 / 0.5278 GB, free: 13.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004871/0.1019, allocations: 355.5 kB / 0.5282 GB, free: 13.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.1019, allocations: 8.031 kB / 0.5282 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.1033, allocations: 243.5 kB / 0.5284 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.1034, allocations: 167 kB / 0.5286 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1035, allocations: 8 kB / 0.5286 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.1035, allocations: 3.938 kB / 0.5286 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007212/0.1042, allocations: 217.4 kB / 0.5288 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.891e-06/0.1043, allocations: 0 / 0.5288 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.1043, allocations: 3.953 kB / 0.5288 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-06/0.1043, allocations: 0 / 0.5288 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.1054, allocations: 319.6 kB / 0.5291 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.1067, allocations: 453.3 kB / 0.5295 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.1081, allocations: 334.2 kB / 0.5299 GB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.1082, allocations: 4 kB / 0.5299 GB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.1082, allocations: 38.64 kB / 0.5299 GB, free: 11.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.271e-06/0.1082, allocations: 0 / 0.5299 GB, free: 11.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.001514/0.1097, allocations: 369.2 kB / 0.5302 GB, free: 10.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.1098, allocations: 55.41 kB / 0.5303 GB, free: 10.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.11, allocations: 114 kB / 0.5304 GB, free: 10.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.11, allocations: 29.7 kB / 0.5304 GB, free: 10.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.1101, allocations: 88.14 kB / 0.5305 GB, free: 10.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.1101, allocations: 11.83 kB / 0.5305 GB, free: 10.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.1101, allocations: 4.312 kB / 0.5305 GB, free: 10.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1103, allocations: 318.8 kB / 0.5308 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004931/0.1108, allocations: 111.9 kB / 0.5309 GB, free: 10.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/0.1113, allocations: 115.9 kB / 0.5311 GB, free: 9.992 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004462/0.1118, allocations: 111.8 kB / 0.5312 GB, free: 9.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.163e-06/0.1118, allocations: 0 / 0.5312 GB, free: 9.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001005/0.1128, allocations: 261.3 kB / 0.5314 GB, free: 9.621 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1128, allocations: 4.781 kB / 0.5314 GB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.066e-06/0.1128, allocations: 0 / 0.5314 GB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1129, allocations: 0 / 0.5314 GB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.1132, allocations: 43.95 kB / 0.5315 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1132, allocations: 0 / 0.5315 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.1135, allocations: 39.94 kB / 0.5315 GB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.1135, allocations: 0 / 0.5315 GB, free: 9.535 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 (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.000127/0.1136, allocations: 118.7 kB / 0.5316 GB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.1137, allocations: 11.91 kB / 0.5316 GB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.297e-05/0.1138, allocations: 15.89 kB / 0.5316 GB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1138, allocations: 0 / 0.5316 GB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.292e-06/0.1138, allocations: 0 / 0.5316 GB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.54e-06/0.1138, allocations: 0 / 0.5316 GB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.1141, allocations: 209.5 kB / 0.5318 GB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1142, allocations: 0 / 0.5318 GB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.1145, allocations: 43.95 kB / 0.5319 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.969e-06/0.1145, allocations: 3.984 kB / 0.5319 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.1145, allocations: 0 / 0.5319 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.34e-06/0.1145, allocations: 0 / 0.5319 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1145, allocations: 0 / 0.5319 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.1156, allocations: 355.6 kB / 0.5322 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/0.1157, allocations: 84.97 kB / 0.5323 GB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.1157, allocations: 4 kB / 0.5323 GB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.116, allocations: 47.94 kB / 0.5323 GB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.453e-05/0.1161, allocations: 0 / 0.5323 GB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.1161, allocations: 4 kB / 0.5324 GB, free: 8.562 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.376e-05/0.1162, allocations: 91.27 kB / 0.5324 GB, free: 8.473 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.1162, allocations: 3.938 kB / 0.5324 GB, free: 8.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003255/0.1166, allocations: 12 kB / 0.5325 GB, free: 8.457 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 (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.0001279/0.1167, allocations: 95.25 kB / 0.5325 GB, free: 8.352 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009788/0.1177, allocations: 240 kB / 0.5328 GB, free: 8.117 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.83e-06/0.1177, allocations: 0 / 0.5328 GB, free: 8.117 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004872/0.1182, allocations: 119.9 kB / 0.5329 GB, free: 8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.1184, allocations: 3.938 kB / 0.5329 GB, free: 7.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.1196, allocations: 304.4 kB / 0.5332 GB, free: 7.672 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.12, allocations: 0.6887 MB / 0.5339 GB, free: 6.957 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.1201, allocations: 19.98 kB / 0.5339 GB, free: 6.938 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.102e-05/0.1202, allocations: 11.44 kB / 0.5339 GB, free: 6.926 MB / 378.7 MB Notification: Performance of SimCode: time 1.436e-06/0.1202, allocations: 4 kB / 0.5339 GB, free: 6.922 MB / 378.7 MB Notification: Performance of Templates: time 0.003454/0.1237, allocations: 0.8013 MB / 0.5347 GB, free: 6.125 MB / 378.7 MB