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.002552/0.002556, allocations: 357.1 kB / 16.59 MB, free: 5.57 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.693/1.693, allocations: 165.8 MB / 183.1 MB, free: 5.48 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.739/3.739, allocations: 410.8 MB / 0.6001 GB, free: 15.1 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.00182/0.00182, allocations: 194.7 kB / 0.6668 GB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004579, allocations: 12 kB / 0.7429 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3981, allocations: 67.43 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.001666/0.3998, allocations: 1.165 MB / 0.8099 GB, free: 27.63 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003855/0.4002, allocations: 139.7 kB / 0.81 GB, free: 27.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.4003, allocations: 3.938 kB / 0.81 GB, free: 27.49 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.4003, allocations: 0 / 0.81 GB, free: 27.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.505e-05/0.4004, allocations: 0 / 0.81 GB, free: 27.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.4006, allocations: 23.92 kB / 0.81 GB, free: 27.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.514e-05/0.4008, allocations: 35.91 kB / 0.8101 GB, free: 27.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.4009, allocations: 19.98 kB / 0.8101 GB, free: 27.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.196e-05/0.4009, allocations: 15.92 kB / 0.8101 GB, free: 27.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.252e-05/0.401, allocations: 15.92 kB / 0.8101 GB, free: 27.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.401, allocations: 0 / 0.8101 GB, free: 27.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.617e-05/0.4011, allocations: 31.91 kB / 0.8102 GB, free: 27.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.4011, allocations: 7.938 kB / 0.8102 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.4012, allocations: 29.7 kB / 0.8102 GB, free: 27.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.4013, allocations: 43.92 kB / 0.8102 GB, free: 27.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4013, allocations: 0 / 0.8102 GB, free: 27.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4013, allocations: 4 kB / 0.8102 GB, free: 27.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.4013, allocations: 0 / 0.8102 GB, free: 27.26 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.0004571/0.4018, allocations: 361.3 kB / 0.8106 GB, free: 26.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4019, allocations: 8.031 kB / 0.8106 GB, free: 26.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.4037, allocations: 247.5 kB / 0.8108 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.4039, allocations: 163.1 kB / 0.811 GB, free: 26.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.4039, allocations: 0 / 0.811 GB, free: 26.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.404, allocations: 7.938 kB / 0.811 GB, free: 26.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009401/0.4049, allocations: 213.4 kB / 0.8112 GB, free: 26.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4049, allocations: 0 / 0.8112 GB, free: 26.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.405, allocations: 3.953 kB / 0.8112 GB, free: 26.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.405, allocations: 4 kB / 0.8112 GB, free: 26.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.4065, allocations: 319.6 kB / 0.8115 GB, free: 25.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.4079, allocations: 461.3 kB / 0.8119 GB, free: 25.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.4099, allocations: 334.2 kB / 0.8123 GB, free: 25.03 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/0.4106, allocations: 120.8 kB / 0.8124 GB, free: 24.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/0.4107, allocations: 8 kB / 0.8124 GB, free: 24.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.4107, allocations: 30.56 kB / 0.8124 GB, free: 24.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.106e-06/0.4107, allocations: 0 / 0.8124 GB, free: 24.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.002137/0.4129, allocations: 369.2 kB / 0.8128 GB, free: 24.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.4129, allocations: 51.41 kB / 0.8128 GB, free: 24.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.4131, allocations: 133.9 kB / 0.8129 GB, free: 24.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.4131, allocations: 25.7 kB / 0.813 GB, free: 24.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.4131, allocations: 88.14 kB / 0.813 GB, free: 24.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.4132, allocations: 3.906 kB / 0.8131 GB, free: 24.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.4132, allocations: 0 / 0.8131 GB, free: 24.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.4133, allocations: 318.8 kB / 0.8134 GB, free: 23.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006437/0.4139, allocations: 111.9 kB / 0.8135 GB, free: 23.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.4146, allocations: 124 kB / 0.8136 GB, free: 23.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006524/0.4152, allocations: 103.8 kB / 0.8137 GB, free: 23.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4153, allocations: 0 / 0.8137 GB, free: 23.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001351/0.4166, allocations: 257.3 kB / 0.8139 GB, free: 23.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.4167, allocations: 8 kB / 0.8139 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.4167, allocations: 0 / 0.8139 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.4167, allocations: 0 / 0.8139 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.4172, allocations: 43.94 kB / 0.814 GB, free: 23.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.4172, allocations: 4 kB / 0.814 GB, free: 23.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.4176, allocations: 39.95 kB / 0.814 GB, free: 23.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.4176, allocations: 0 / 0.814 GB, free: 23.16 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 9.856e-05/0.4177, allocations: 125.2 kB / 0.8141 GB, free: 23.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.4177, allocations: 7.906 kB / 0.8141 GB, free: 23.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.275e-05/0.4178, allocations: 11.91 kB / 0.8142 GB, free: 23.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4178, allocations: 0 / 0.8142 GB, free: 23.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4178, allocations: 0 / 0.8142 GB, free: 23.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.4179, allocations: 85.09 kB / 0.8142 GB, free: 22.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.4179, allocations: 0 / 0.8142 GB, free: 22.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.4183, allocations: 39.95 kB / 0.8143 GB, free: 22.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.4184, allocations: 4 kB / 0.8143 GB, free: 22.87 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001728/0.4201, allocations: 368.6 kB / 0.8146 GB, free: 22.5 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001526/0.4217, allocations: 430.5 kB / 0.815 GB, free: 22.06 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007258/0.4224, allocations: 111.9 kB / 0.8151 GB, free: 21.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.988e-05/0.4225, allocations: 99.58 kB / 0.8152 GB, free: 21.86 MB / 378.7 MB Notification: Performance of Backend: time 9.52e-07/0.4225, allocations: 0 / 0.8152 GB, free: 21.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.4238, allocations: 214.1 kB / 0.8154 GB, free: 21.64 MB / 378.7 MB Notification: Performance of SimCode: time 0.0004614/0.4243, allocations: 0.5917 MB / 0.816 GB, free: 21 MB / 378.7 MB Notification: Performance of Templates: time 0.004767/0.429, allocations: 1.5 MB / 0.8175 GB, free: 19.5 MB / 378.7 MB