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.002533/0.002538, allocations: 355.5 kB / 16.59 MB, free: 5.566 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.545/1.545, allocations: 165.8 MB / 183.1 MB, free: 5.438 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.99/3.99, allocations: 410.8 MB / 0.6001 GB, free: 15.06 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.001759/0.001759, allocations: 202.4 kB / 0.6668 GB, free: 6.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004795/0.0004797, allocations: 12 kB / 0.7429 GB, free: 8.926 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.3992, allocations: 67.42 MB / 0.8087 GB, free: 28.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.001655/0.4009, allocations: 1.153 MB / 0.8099 GB, free: 27.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.402, allocations: 0.5751 MB / 0.8104 GB, free: 27.01 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.402, allocations: 0 / 0.8104 GB, free: 27.01 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.402, allocations: 0 / 0.8104 GB, free: 27.01 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.11e-05/0.4021, allocations: 3.938 kB / 0.8104 GB, free: 27.01 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.4024, allocations: 43.83 kB / 0.8105 GB, free: 26.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.483e-05/0.4024, allocations: 15.94 kB / 0.8105 GB, free: 26.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.318e-05/0.4025, allocations: 11.98 kB / 0.8105 GB, free: 26.94 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.4027, allocations: 11.94 kB / 0.8105 GB, free: 26.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.493e-05/0.4027, allocations: 11.92 kB / 0.8105 GB, free: 26.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.4028, allocations: 4 kB / 0.8105 GB, free: 26.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.4029, allocations: 55.88 kB / 0.8106 GB, free: 26.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.4029, allocations: 0 / 0.8106 GB, free: 26.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.4029, allocations: 29.7 kB / 0.8106 GB, free: 26.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.4031, allocations: 47.92 kB / 0.8107 GB, free: 26.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4031, allocations: 0 / 0.8107 GB, free: 26.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4031, allocations: 0 / 0.8107 GB, free: 26.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.4031, allocations: 4 kB / 0.8107 GB, free: 26.77 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.0003943/0.4035, allocations: 341.3 kB / 0.811 GB, free: 26.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.4036, allocations: 8.031 kB / 0.811 GB, free: 26.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.4036, allocations: 11.84 kB / 0.811 GB, free: 26.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.163e-05/0.4037, allocations: 175 kB / 0.8112 GB, free: 26.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.4037, allocations: 0 / 0.8112 GB, free: 26.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.4038, allocations: 0 / 0.8112 GB, free: 26.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.4039, allocations: 53.64 kB / 0.8112 GB, free: 26.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.404, allocations: 0 / 0.8112 GB, free: 26.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.404, allocations: 0 / 0.8112 GB, free: 26.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.404, allocations: 0 / 0.8112 GB, free: 26.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.4041, allocations: 23.98 kB / 0.8112 GB, free: 26.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.4045, allocations: 248.9 kB / 0.8115 GB, free: 25.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.4046, allocations: 38.53 kB / 0.8115 GB, free: 25.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.194e-05/0.4047, allocations: 20.91 kB / 0.8115 GB, free: 25.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/0.4058, allocations: 497.4 kB / 0.812 GB, free: 25.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.4059, allocations: 38.56 kB / 0.8121 GB, free: 25.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.4059, allocations: 0 / 0.8121 GB, free: 25.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003267/0.4062, allocations: 69.61 kB / 0.8121 GB, free: 25.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.4063, allocations: 63.28 kB / 0.8122 GB, free: 24.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.4063, allocations: 105.8 kB / 0.8123 GB, free: 24.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.4064, allocations: 25.7 kB / 0.8123 GB, free: 24.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.4064, allocations: 96.17 kB / 0.8124 GB, free: 24.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.4064, allocations: 3.938 kB / 0.8124 GB, free: 24.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.4064, allocations: 0 / 0.8124 GB, free: 24.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.57e-05/0.4065, allocations: 314.8 kB / 0.8127 GB, free: 24.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.83e-05/0.4066, allocations: 11.98 kB / 0.8127 GB, free: 24.37 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.457e-05/0.4067, allocations: 12 kB / 0.8127 GB, free: 24.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.275e-05/0.4068, allocations: 16.05 kB / 0.8127 GB, free: 24.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4068, allocations: 0 / 0.8127 GB, free: 24.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001792/0.407, allocations: 69.48 kB / 0.8128 GB, free: 24.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.407, allocations: 6.656 kB / 0.8128 GB, free: 24.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.407, allocations: 4 kB / 0.8128 GB, free: 24.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.4071, allocations: 0 / 0.8128 GB, free: 24.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.4072, allocations: 7.984 kB / 0.8128 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.4072, allocations: 32 / 0.8128 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.219e-05/0.4072, allocations: 8 kB / 0.8128 GB, free: 24.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.4073, allocations: 0 / 0.8128 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 6.222e-05/0.4073, allocations: 109.8 kB / 0.8129 GB, free: 24.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.4074, allocations: 3.953 kB / 0.8129 GB, free: 24.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.4076, allocations: 69.19 kB / 0.813 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4076, allocations: 4.031 kB / 0.813 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4076, allocations: 0 / 0.813 GB, free: 24.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.4077, allocations: 85 kB / 0.8131 GB, free: 23.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.4077, allocations: 4 kB / 0.8131 GB, free: 23.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.841e-05/0.4078, allocations: 0 / 0.8131 GB, free: 23.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.4078, allocations: 7.938 kB / 0.8131 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002176/0.4081, allocations: 144.9 kB / 0.8132 GB, free: 23.79 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002091/0.4083, allocations: 226.8 kB / 0.8135 GB, free: 23.55 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.868e-05/0.4084, allocations: 15.94 kB / 0.8135 GB, free: 23.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.608e-05/0.4084, allocations: 91.33 kB / 0.8136 GB, free: 23.44 MB / 378.7 MB Notification: Performance of Backend: time 6.51e-07/0.4084, allocations: 4 kB / 0.8136 GB, free: 23.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005072/0.409, allocations: 98.33 kB / 0.8137 GB, free: 23.33 MB / 378.7 MB Notification: Performance of SimCode: time 0.0005119/0.4095, allocations: 0.5837 MB / 0.8142 GB, free: 22.7 MB / 378.7 MB Notification: Performance of Templates: time 0.003453/0.413, allocations: 0.7172 MB / 0.8149 GB, free: 21.99 MB / 378.7 MB