Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002556/0.002555, allocations: 357.3 kB / 16.58 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.337/1.337, allocations: 165.8 MB / 183.1 MB, free: 5.91 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.962/3.962, allocations: 410.7 MB / 0.6001 GB, free: 37.1 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001847/0.001848, allocations: 187.5 kB / 0.6668 GB, free: 1.816 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004715, allocations: 17.72 kB / 0.7429 GB, free: 73.89 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1247, allocations: 67.45 MB / 0.8087 GB, free: 17.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5772/0.702, allocations: 100.1 MB / 0.9065 GB, free: 22.39 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.7023, allocations: 79.83 kB / 0.9066 GB, free: 22.39 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02446/0.7267, allocations: 5.046 MB / 0.9115 GB, free: 21.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7268, allocations: 0 / 0.9115 GB, free: 21.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.7268, allocations: 3 kB / 0.9115 GB, free: 21.8 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006781/0.7275, allocations: 426.2 kB / 0.9119 GB, free: 21.41 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.7276, allocations: 8.656 kB / 0.9119 GB, free: 21.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.7288, allocations: 121.7 kB / 0.912 GB, free: 21.39 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.7289, allocations: 184.4 kB / 0.9122 GB, free: 21.18 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.7291, allocations: 72.2 kB / 0.9123 GB, free: 21.11 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.7291, allocations: 9.812 kB / 0.9123 GB, free: 21.11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000875/0.73, allocations: 191.7 kB / 0.9125 GB, free: 21.07 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.73, allocations: 0 / 0.9125 GB, free: 21.07 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.7301, allocations: 1.281 kB / 0.9125 GB, free: 21.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.7301, allocations: 5.297 kB / 0.9125 GB, free: 21.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.7312, allocations: 196.7 kB / 0.9127 GB, free: 21.06 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.7329, allocations: 0.4949 MB / 0.9132 GB, free: 20.77 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.7348, allocations: 279.9 kB / 0.9134 GB, free: 20.73 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00056/0.7354, allocations: 97.5 kB / 0.9135 GB, free: 20.71 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.7354, allocations: 6.719 kB / 0.9135 GB, free: 20.71 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.7355, allocations: 31.62 kB / 0.9136 GB, free: 20.67 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 3.737e-06/0.7355, allocations: 1 kB / 0.9136 GB, free: 20.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.001871/0.7373, allocations: 312.2 kB / 0.9139 GB, free: 20.62 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.7374, allocations: 63.09 kB / 0.9139 GB, free: 20.55 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.7376, allocations: 137.5 kB / 0.914 GB, free: 20.46 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.785e-05/0.7377, allocations: 25.7 kB / 0.9141 GB, free: 20.43 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/0.7377, allocations: 112.4 kB / 0.9142 GB, free: 20.33 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.7378, allocations: 11.8 kB / 0.9142 GB, free: 20.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/0.7378, allocations: 5.281 kB / 0.9142 GB, free: 20.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.7379, allocations: 319.7 kB / 0.9145 GB, free: 20.01 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005539/0.7385, allocations: 92.48 kB / 0.9146 GB, free: 20 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/0.7391, allocations: 109.3 kB / 0.9147 GB, free: 19.98 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/0.7397, allocations: 90.7 kB / 0.9148 GB, free: 19.97 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.7397, allocations: 0 / 0.9148 GB, free: 19.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001255/0.7409, allocations: 246.3 kB / 0.915 GB, free: 19.92 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.741, allocations: 5.062 kB / 0.915 GB, free: 19.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.741, allocations: 1.188 kB / 0.915 GB, free: 19.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.741, allocations: 0.9688 kB / 0.915 GB, free: 19.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/0.7415, allocations: 50.95 kB / 0.9151 GB, free: 19.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.7415, allocations: 1.094 kB / 0.9151 GB, free: 19.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.7419, allocations: 37.3 kB / 0.9151 GB, free: 19.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.7419, allocations: 5.25 kB / 0.9151 GB, free: 19.91 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0008731/0.7428, allocations: 122.2 kB / 0.9152 GB, free: 35.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.93e-05/0.7429, allocations: 11.83 kB / 0.9152 GB, free: 35.78 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.7442, allocations: 239 kB / 0.9155 GB, free: 35.74 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.7443, allocations: 1.75 kB / 0.9155 GB, free: 35.74 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.7443, allocations: 0 / 0.9155 GB, free: 35.74 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.7443, allocations: 5.859 kB / 0.9155 GB, free: 35.74 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/0.7447, allocations: 239.3 kB / 0.9157 GB, free: 35.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.7447, allocations: 1.062 kB / 0.9157 GB, free: 35.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.7451, allocations: 46.27 kB / 0.9157 GB, free: 35.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.7452, allocations: 4 kB / 0.9158 GB, free: 35.53 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.7452, allocations: 3.172 kB / 0.9158 GB, free: 35.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.7452, allocations: 5.375 kB / 0.9158 GB, free: 35.53 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7452, allocations: 0 / 0.9158 GB, free: 35.53 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.7465, allocations: 318 kB / 0.9161 GB, free: 35.39 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.7466, allocations: 89.7 kB / 0.9161 GB, free: 35.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.7466, allocations: 5.109 kB / 0.9162 GB, free: 35.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005881/0.7472, allocations: 47.25 kB / 0.9162 GB, free: 35.28 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.7473, allocations: 5.609 kB / 0.9162 GB, free: 35.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.7473, allocations: 7.625 kB / 0.9162 GB, free: 35.28 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.7475, allocations: 109.2 kB / 0.9163 GB, free: 35.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 4e-07/0.7475, allocations: 0 / 0.9163 GB, free: 35.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003623/0.7478, allocations: 31.28 kB / 0.9163 GB, free: 35.19 MB / 474.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 (6): * Single equations (assignments): 6 * 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.0001505/0.748, allocations: 95.59 kB / 0.9164 GB, free: 35.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.7492, allocations: 200.2 kB / 0.9166 GB, free: 35.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.7493, allocations: 1.344 kB / 0.9166 GB, free: 35.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005712/0.7498, allocations: 102 kB / 0.9167 GB, free: 35.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.7503, allocations: 6.812 kB / 0.9167 GB, free: 35.09 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009748/0.7512, allocations: 299.2 kB / 0.917 GB, free: 34.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.7515, allocations: 0.7028 MB / 0.9177 GB, free: 34.21 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.7517, allocations: 20.75 kB / 0.9177 GB, free: 34.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.832e-05/0.7518, allocations: 17.14 kB / 0.9177 GB, free: 34.19 MB / 474.7 MB Notification: Performance of SimCode: time 7.91e-07/0.7518, allocations: 0 / 0.9177 GB, free: 34.19 MB / 474.7 MB Notification: Performance of Templates: time 0.00539/0.7572, allocations: 1.303 MB / 0.919 GB, free: 34.1 MB / 474.7 MB