Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002377/0.002377, allocations: 354.9 kB / 15.94 MB, free: 6.207 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.373/1.373, allocations: 165.8 MB / 182.5 MB, free: 5.512 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.654/3.654, allocations: 410.8 MB / 0.5995 GB, free: 15.08 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.001741/0.001741, allocations: 198.4 kB / 0.6662 GB, free: 6.906 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.0004582, allocations: 12 kB / 0.7423 GB, free: 8.938 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3265, allocations: 67.42 MB / 0.8081 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.001318/0.3279, allocations: 1.161 MB / 0.8093 GB, free: 27.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008168/0.3287, allocations: 0.5595 MB / 0.8098 GB, free: 27.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.3288, allocations: 0 / 0.8098 GB, free: 27.03 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.184e-05/0.3288, allocations: 4 kB / 0.8098 GB, free: 27.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.401e-05/0.3289, allocations: 7.938 kB / 0.8098 GB, free: 27.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.3291, allocations: 39.83 kB / 0.8099 GB, free: 26.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.95e-05/0.3292, allocations: 23.92 kB / 0.8099 GB, free: 26.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.664e-05/0.3292, allocations: 4 kB / 0.8099 GB, free: 26.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.692e-05/0.3293, allocations: 15.92 kB / 0.8099 GB, free: 26.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.792e-05/0.3294, allocations: 11.92 kB / 0.8099 GB, free: 26.92 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.3294, allocations: 4 kB / 0.8099 GB, free: 26.92 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.3295, allocations: 55.89 kB / 0.81 GB, free: 26.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.816e-06/0.3295, allocations: 0 / 0.81 GB, free: 26.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.3296, allocations: 25.7 kB / 0.81 GB, free: 26.83 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.3297, allocations: 43.92 kB / 0.8101 GB, free: 26.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.263e-06/0.3297, allocations: 0 / 0.8101 GB, free: 26.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.787e-06/0.3297, allocations: 4 kB / 0.8101 GB, free: 26.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.533e-06/0.3297, allocations: 0 / 0.8101 GB, free: 26.79 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.0003284/0.3301, allocations: 345.4 kB / 0.8104 GB, free: 26.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.3301, allocations: 12.03 kB / 0.8104 GB, free: 26.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.3302, allocations: 11.91 kB / 0.8104 GB, free: 26.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.165e-05/0.3303, allocations: 167 kB / 0.8106 GB, free: 26.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.3303, allocations: 0 / 0.8106 GB, free: 26.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.3303, allocations: 11.98 kB / 0.8106 GB, free: 26.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.3304, allocations: 41.64 kB / 0.8106 GB, free: 26.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.785e-06/0.3305, allocations: 0 / 0.8106 GB, free: 26.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.757e-06/0.3305, allocations: 0 / 0.8106 GB, free: 26.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.403e-06/0.3305, allocations: 4 kB / 0.8106 GB, free: 26.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.3306, allocations: 23.98 kB / 0.8106 GB, free: 26.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.3309, allocations: 260.9 kB / 0.8109 GB, free: 25.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.572e-05/0.331, allocations: 38.52 kB / 0.8109 GB, free: 25.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.919e-05/0.3311, allocations: 20.92 kB / 0.811 GB, free: 25.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000779/0.3319, allocations: 497.4 kB / 0.8114 GB, free: 25.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.3319, allocations: 34.5 kB / 0.8115 GB, free: 25.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.968e-06/0.3319, allocations: 0 / 0.8115 GB, free: 25.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002793/0.3322, allocations: 77.61 kB / 0.8115 GB, free: 25.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.3322, allocations: 51.41 kB / 0.8116 GB, free: 24.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.706e-05/0.3323, allocations: 113.8 kB / 0.8117 GB, free: 24.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.3323, allocations: 25.7 kB / 0.8117 GB, free: 24.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.3324, allocations: 91.98 kB / 0.8118 GB, free: 24.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.3324, allocations: 7.938 kB / 0.8118 GB, free: 24.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-06/0.3324, allocations: 0 / 0.8118 GB, free: 24.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.214e-05/0.3325, allocations: 323 kB / 0.8121 GB, free: 24.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.378e-05/0.3326, allocations: 8 kB / 0.8121 GB, free: 24.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-05/0.3326, allocations: 15.98 kB / 0.8121 GB, free: 24.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.546e-05/0.3327, allocations: 8 kB / 0.8121 GB, free: 24.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.908e-06/0.3327, allocations: 0 / 0.8121 GB, free: 24.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001556/0.3329, allocations: 69.55 kB / 0.8122 GB, free: 24.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3329, allocations: 4 kB / 0.8122 GB, free: 24.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.066e-06/0.3329, allocations: 0 / 0.8122 GB, free: 24.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3329, allocations: 3.984 kB / 0.8122 GB, free: 24.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.217e-05/0.333, allocations: 8 kB / 0.8122 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.408e-06/0.333, allocations: 0 / 0.8122 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.3331, allocations: 4 kB / 0.8122 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.296e-06/0.3331, allocations: 4 kB / 0.8122 GB, free: 24.24 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 5.485e-05/0.3332, allocations: 113.9 kB / 0.8123 GB, free: 24.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.624e-05/0.3332, allocations: 7.953 kB / 0.8124 GB, free: 24.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.3334, allocations: 61.22 kB / 0.8124 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.761e-06/0.3334, allocations: 3.984 kB / 0.8124 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.856e-06/0.3334, allocations: 0 / 0.8124 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.003e-06/0.3335, allocations: 0 / 0.8124 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.3336, allocations: 161.6 kB / 0.8126 GB, free: 23.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.583e-06/0.3336, allocations: 4.031 kB / 0.8126 GB, free: 23.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/0.3337, allocations: 11.92 kB / 0.8126 GB, free: 23.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.034e-06/0.3337, allocations: 0 / 0.8126 GB, free: 23.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.741e-06/0.3337, allocations: 3.953 kB / 0.8126 GB, free: 23.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.198e-06/0.3337, allocations: 0 / 0.8126 GB, free: 23.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.026e-06/0.3338, allocations: 4 kB / 0.8126 GB, free: 23.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.3339, allocations: 155.5 kB / 0.8127 GB, free: 23.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.334, allocations: 77.11 kB / 0.8128 GB, free: 23.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.334, allocations: 4 kB / 0.8128 GB, free: 23.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.474e-05/0.3341, allocations: 7.953 kB / 0.8128 GB, free: 23.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.3341, allocations: 0 / 0.8128 GB, free: 23.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.96e-06/0.3342, allocations: 4 kB / 0.8128 GB, free: 23.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.371e-05/0.3342, allocations: 87.27 kB / 0.8129 GB, free: 23.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.65e-07/0.3342, allocations: 7.875 kB / 0.8129 GB, free: 23.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003197/0.3345, allocations: 16.03 kB / 0.8129 GB, free: 23.43 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.0001949/0.3348, allocations: 119.2 kB / 0.8131 GB, free: 23.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001602/0.3349, allocations: 27.98 kB / 0.8131 GB, free: 23.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.476e-06/0.3349, allocations: 0 / 0.8131 GB, free: 23.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.4e-05/0.335, allocations: 15.98 kB / 0.8131 GB, free: 23.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.3353, allocations: 4.125 kB / 0.8131 GB, free: 23.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.3357, allocations: 132.5 kB / 0.8132 GB, free: 23.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.3359, allocations: 0.6848 MB / 0.8139 GB, free: 22.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.396e-05/0.336, allocations: 7.938 kB / 0.8139 GB, free: 22.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.336, allocations: 11.44 kB / 0.8139 GB, free: 22.37 MB / 378.7 MB Notification: Performance of SimCode: time 1.337e-06/0.336, allocations: 4 kB / 0.8139 GB, free: 22.37 MB / 378.7 MB Notification: Performance of Templates: time 0.002919/0.3389, allocations: 0.6297 MB / 0.8145 GB, free: 21.74 MB / 378.7 MB