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.002501/0.002505, allocations: 357.3 kB / 16.59 MB, free: 5.562 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.38/1.38, allocations: 165.8 MB / 183.1 MB, free: 5.5 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.734/3.734, allocations: 410.8 MB / 0.6001 GB, free: 15.25 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.001798/0.001798, allocations: 197.3 kB / 0.6668 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004603/0.0004605, allocations: 15.94 kB / 0.7429 GB, free: 8.945 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.441, allocations: 67.43 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002765/0.4438, allocations: 1.441 MB / 0.8101 GB, free: 27.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.4455, allocations: 0.6286 MB / 0.8108 GB, free: 26.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.704e-05/0.4456, allocations: 4 kB / 0.8108 GB, free: 26.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.4457, allocations: 7.922 kB / 0.8108 GB, free: 26.67 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.4458, allocations: 7.875 kB / 0.8108 GB, free: 26.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009342/0.4468, allocations: 151.9 kB / 0.8109 GB, free: 26.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.447, allocations: 111.7 kB / 0.811 GB, free: 26.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.4472, allocations: 29.3 kB / 0.8111 GB, free: 26.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.4474, allocations: 47.83 kB / 0.8111 GB, free: 26.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.4475, allocations: 39.78 kB / 0.8111 GB, free: 26.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.4475, allocations: 4 kB / 0.8111 GB, free: 26.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.4477, allocations: 43.89 kB / 0.8112 GB, free: 26.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.4478, allocations: 23.91 kB / 0.8112 GB, free: 26.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.428e-05/0.4478, allocations: 37.64 kB / 0.8112 GB, free: 26.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.4481, allocations: 97.92 kB / 0.8113 GB, free: 26.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4481, allocations: 0 / 0.8113 GB, free: 26.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4481, allocations: 0 / 0.8113 GB, free: 26.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.4481, allocations: 4 kB / 0.8113 GB, free: 26.08 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008012/0.449, allocations: 418.8 kB / 0.8117 GB, free: 25.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.449, allocations: 8.031 kB / 0.8117 GB, free: 25.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/0.451, allocations: 143.6 kB / 0.8119 GB, free: 25.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.4512, allocations: 180.8 kB / 0.8121 GB, free: 25.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.4513, allocations: 67.36 kB / 0.8121 GB, free: 25.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.4514, allocations: 8 kB / 0.8121 GB, free: 25.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.4526, allocations: 192.2 kB / 0.8123 GB, free: 24.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.4526, allocations: 0 / 0.8123 GB, free: 24.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/0.4527, allocations: 4 kB / 0.8123 GB, free: 24.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.4527, allocations: 8 kB / 0.8123 GB, free: 24.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.4543, allocations: 187.8 kB / 0.8125 GB, free: 24.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002248/0.4566, allocations: 0.5019 MB / 0.813 GB, free: 24.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/0.4592, allocations: 278.2 kB / 0.8133 GB, free: 23.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007853/0.46, allocations: 96.91 kB / 0.8134 GB, free: 23.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/0.4601, allocations: 4 kB / 0.8134 GB, free: 23.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.4601, allocations: 38.52 kB / 0.8134 GB, free: 23.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.296e-06/0.4601, allocations: 0 / 0.8134 GB, free: 23.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.002468/0.4626, allocations: 313.5 kB / 0.8137 GB, free: 23.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.4627, allocations: 51.41 kB / 0.8137 GB, free: 23.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.4628, allocations: 136.2 kB / 0.8139 GB, free: 23.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.4629, allocations: 33.7 kB / 0.8139 GB, free: 23.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.62e-05/0.463, allocations: 108.1 kB / 0.814 GB, free: 23.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.463, allocations: 27.7 kB / 0.814 GB, free: 23.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.4631, allocations: 0 / 0.814 GB, free: 23.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4632, allocations: 314.8 kB / 0.8143 GB, free: 22.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007361/0.464, allocations: 95.91 kB / 0.8144 GB, free: 22.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007648/0.4648, allocations: 110.5 kB / 0.8145 GB, free: 22.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007355/0.4655, allocations: 91.92 kB / 0.8146 GB, free: 22.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.4655, allocations: 4 kB / 0.8146 GB, free: 22.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001642/0.4672, allocations: 233.3 kB / 0.8148 GB, free: 22.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.4672, allocations: 12.06 kB / 0.8149 GB, free: 22.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4673, allocations: 0 / 0.8149 GB, free: 22.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.4673, allocations: 0 / 0.8149 GB, free: 22.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005825/0.4679, allocations: 44.27 kB / 0.8149 GB, free: 22.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.4679, allocations: 4.141 kB / 0.8149 GB, free: 22.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/0.4684, allocations: 55.75 kB / 0.815 GB, free: 22.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.4684, allocations: 7.984 kB / 0.815 GB, free: 22.14 MB / 378.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.0001336/0.4686, allocations: 113.8 kB / 0.8151 GB, free: 22.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/0.4687, allocations: 11.86 kB / 0.8151 GB, free: 22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.4703, allocations: 238.2 kB / 0.8153 GB, free: 21.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.4703, allocations: 0 / 0.8153 GB, free: 21.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4703, allocations: 4 kB / 0.8153 GB, free: 21.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.4704, allocations: 84.95 kB / 0.8154 GB, free: 21.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.4704, allocations: 0 / 0.8154 GB, free: 21.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007416/0.4712, allocations: 51.94 kB / 0.8154 GB, free: 21.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.4712, allocations: 11.88 kB / 0.8155 GB, free: 21.6 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001866/0.4731, allocations: 328.8 kB / 0.8158 GB, free: 21.27 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001501/0.4746, allocations: 402.5 kB / 0.8162 GB, free: 20.86 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007199/0.4754, allocations: 91.92 kB / 0.8162 GB, free: 20.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.972e-05/0.4755, allocations: 111.2 kB / 0.8163 GB, free: 20.66 MB / 378.7 MB Notification: Performance of Backend: time 8.92e-07/0.4755, allocations: 0 / 0.8163 GB, free: 20.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.477, allocations: 186.3 kB / 0.8165 GB, free: 20.47 MB / 378.7 MB Notification: Performance of SimCode: time 0.0007729/0.4778, allocations: 0.6748 MB / 0.8172 GB, free: 19.75 MB / 378.7 MB Notification: Performance of Templates: time 0.008179/0.486, allocations: 2.05 MB / 0.8192 GB, free: 17.71 MB / 378.7 MB