Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002381/0.002385, allocations: 356.2 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.545/1.545, allocations: 165.8 MB / 182.5 MB, free: 5.426 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.605/3.605, allocations: 410.8 MB / 0.5995 GB, free: 15.29 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.001693/0.001693, allocations: 197.6 kB / 0.6662 GB, free: 6.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004759/0.0004761, allocations: 12 kB / 0.7423 GB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.375, allocations: 67.45 MB / 0.8082 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.001289/0.3763, allocations: 1.134 MB / 0.8093 GB, free: 27.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003491/0.3767, allocations: 175.6 kB / 0.8094 GB, free: 27.47 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.203e-05/0.3767, allocations: 8 kB / 0.8094 GB, free: 27.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.3768, allocations: 0 / 0.8094 GB, free: 27.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.59e-05/0.3768, allocations: 7.922 kB / 0.8094 GB, free: 27.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.377, allocations: 23.97 kB / 0.8095 GB, free: 27.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.176e-05/0.3771, allocations: 19.92 kB / 0.8095 GB, free: 27.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.881e-05/0.3772, allocations: 4 kB / 0.8095 GB, free: 27.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.306e-05/0.3772, allocations: 7.938 kB / 0.8095 GB, free: 27.4 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.3773, allocations: 7.984 kB / 0.8095 GB, free: 27.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.3773, allocations: 4 kB / 0.8095 GB, free: 27.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.691e-05/0.3774, allocations: 43.83 kB / 0.8095 GB, free: 27.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.4e-06/0.3774, allocations: 4 kB / 0.8096 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.766e-05/0.3774, allocations: 25.7 kB / 0.8096 GB, free: 27.31 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.329e-05/0.3775, allocations: 27.95 kB / 0.8096 GB, free: 27.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.3775, allocations: 0 / 0.8096 GB, free: 27.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.682e-06/0.3775, allocations: 0 / 0.8096 GB, free: 27.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.707e-06/0.3776, allocations: 0 / 0.8096 GB, free: 27.29 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.0003382/0.3779, allocations: 349.4 kB / 0.8099 GB, free: 26.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.3779, allocations: 8.031 kB / 0.8099 GB, free: 26.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.378, allocations: 0 / 0.8099 GB, free: 26.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.522e-05/0.3781, allocations: 171 kB / 0.8101 GB, free: 26.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3781, allocations: 0 / 0.8101 GB, free: 26.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.3781, allocations: 0 / 0.8101 GB, free: 26.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.3783, allocations: 57.61 kB / 0.8102 GB, free: 26.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.633e-06/0.3783, allocations: 0 / 0.8102 GB, free: 26.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3784, allocations: 7.953 kB / 0.8102 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.358e-06/0.3784, allocations: 4 kB / 0.8102 GB, free: 26.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.3786, allocations: 39.97 kB / 0.8102 GB, free: 26.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.3788, allocations: 249 kB / 0.8104 GB, free: 26.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.379, allocations: 50.44 kB / 0.8105 GB, free: 26.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.801e-05/0.3791, allocations: 28.89 kB / 0.8105 GB, free: 26.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.349e-05/0.3792, allocations: 81.11 kB / 0.8106 GB, free: 26.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.3792, allocations: 42.52 kB / 0.8106 GB, free: 26.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.901e-06/0.3792, allocations: 0 / 0.8106 GB, free: 26.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003718/0.3796, allocations: 97.64 kB / 0.8107 GB, free: 25.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.3796, allocations: 55.41 kB / 0.8108 GB, free: 25.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.104e-05/0.3797, allocations: 101.8 kB / 0.8109 GB, free: 25.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.943e-06/0.3797, allocations: 25.7 kB / 0.8109 GB, free: 25.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.3798, allocations: 88.12 kB / 0.811 GB, free: 25.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.3798, allocations: 7.906 kB / 0.811 GB, free: 25.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/0.3798, allocations: 0 / 0.811 GB, free: 25.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.722e-05/0.3799, allocations: 314.8 kB / 0.8113 GB, free: 25.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.789e-05/0.38, allocations: 28.02 kB / 0.8113 GB, free: 25.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.401e-05/0.3801, allocations: 23.91 kB / 0.8114 GB, free: 25.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.271e-05/0.3802, allocations: 28.05 kB / 0.8114 GB, free: 25.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.077e-06/0.3802, allocations: 0 / 0.8114 GB, free: 25.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002218/0.3804, allocations: 73.66 kB / 0.8114 GB, free: 25.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3804, allocations: 7.953 kB / 0.8115 GB, free: 25.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.096e-06/0.3805, allocations: 0 / 0.8115 GB, free: 25.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3805, allocations: 8.031 kB / 0.8115 GB, free: 25.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.352e-05/0.3806, allocations: 8.25 kB / 0.8115 GB, free: 25.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.283e-06/0.3806, allocations: 3.984 kB / 0.8115 GB, free: 25.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.592e-05/0.3807, allocations: 8 kB / 0.8115 GB, free: 25.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.522e-06/0.3807, allocations: 8 kB / 0.8115 GB, free: 25.12 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.352e-05/0.3807, allocations: 109.3 kB / 0.8116 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.3808, allocations: 3.938 kB / 0.8116 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.3811, allocations: 92.72 kB / 0.8117 GB, free: 24.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.148e-06/0.3811, allocations: 0 / 0.8117 GB, free: 24.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.55e-06/0.3811, allocations: 7.984 kB / 0.8117 GB, free: 24.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.119e-06/0.3811, allocations: 0 / 0.8117 GB, free: 24.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.3813, allocations: 161.6 kB / 0.8118 GB, free: 24.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.948e-06/0.3813, allocations: 0 / 0.8118 GB, free: 24.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.251e-05/0.3813, allocations: 11.98 kB / 0.8119 GB, free: 24.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3814, allocations: 0 / 0.8119 GB, free: 24.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.824e-06/0.3814, allocations: 0 / 0.8119 GB, free: 24.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.821e-06/0.3814, allocations: 7.953 kB / 0.8119 GB, free: 24.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.078e-06/0.3814, allocations: 0 / 0.8119 GB, free: 24.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.3816, allocations: 175.5 kB / 0.812 GB, free: 24.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.3817, allocations: 77.11 kB / 0.8121 GB, free: 24.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.3817, allocations: 4 kB / 0.8121 GB, free: 24.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-05/0.3818, allocations: 7.984 kB / 0.8121 GB, free: 24.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.3819, allocations: 11.92 kB / 0.8121 GB, free: 24.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.278e-06/0.3819, allocations: 4 kB / 0.8121 GB, free: 24.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.827e-05/0.3819, allocations: 87.27 kB / 0.8122 GB, free: 24.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.13e-07/0.3819, allocations: 0 / 0.8122 GB, free: 24.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003153/0.3823, allocations: 8 kB / 0.8122 GB, free: 24.26 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.0001303/0.3824, allocations: 107.2 kB / 0.8123 GB, free: 24.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.3826, allocations: 51.95 kB / 0.8124 GB, free: 24.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.512e-06/0.3827, allocations: 3.938 kB / 0.8124 GB, free: 24.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3828, allocations: 27.92 kB / 0.8124 GB, free: 24.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.3831, allocations: 7.219 kB / 0.8124 GB, free: 24.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.3834, allocations: 112.7 kB / 0.8125 GB, free: 23.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.3837, allocations: 0.6808 MB / 0.8132 GB, free: 23.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.109e-05/0.3837, allocations: 3.984 kB / 0.8132 GB, free: 23.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.3838, allocations: 11.44 kB / 0.8132 GB, free: 23.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.332e-06/0.3838, allocations: 0 / 0.8132 GB, free: 23.2 MB / 378.7 MB Notification: Performance of Templates: time 0.002805/0.3866, allocations: 499.9 kB / 0.8137 GB, free: 22.71 MB / 378.7 MB