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.001464/0.001469, allocations: 183.6 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7652/0.7652, allocations: 82.92 MB / 99.42 MB, free: 3.277 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.377/2.377, allocations: 205.4 MB / 325.4 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 90.67 kB / 393.6 MB, free: 15 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004501/0.0004504, allocations: 16 kB / 471.5 MB, free: 66.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1302, allocations: 67.45 MB / 0.5263 GB, free: 15.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002326/0.1326, allocations: 1.436 MB / 0.5277 GB, free: 13.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.1339, allocations: 0.6247 MB / 0.5284 GB, free: 12.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.394e-05/0.134, allocations: 4 kB / 0.5284 GB, free: 12.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.563e-05/0.1341, allocations: 11.92 kB / 0.5284 GB, free: 12.94 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.604e-05/0.1342, allocations: 11.97 kB / 0.5284 GB, free: 12.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.1348, allocations: 151.1 kB / 0.5285 GB, free: 12.78 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.135, allocations: 71.84 kB / 0.5286 GB, free: 12.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.1351, allocations: 37.27 kB / 0.5286 GB, free: 12.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.1353, allocations: 47.84 kB / 0.5287 GB, free: 12.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.214e-05/0.1354, allocations: 39.83 kB / 0.5287 GB, free: 12.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.1354, allocations: 4 kB / 0.5287 GB, free: 12.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1356, allocations: 43.84 kB / 0.5288 GB, free: 12.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.1356, allocations: 19.95 kB / 0.5288 GB, free: 12.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.1357, allocations: 41.64 kB / 0.5288 GB, free: 12.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.1359, allocations: 96.05 kB / 0.5289 GB, free: 12.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.139e-06/0.1359, allocations: 0 / 0.5289 GB, free: 12.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.119e-06/0.1359, allocations: 0 / 0.5289 GB, free: 12.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.924e-06/0.1359, allocations: 0 / 0.5289 GB, free: 12.38 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.0006743/0.1366, allocations: 419.9 kB / 0.5293 GB, free: 11.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1366, allocations: 12.03 kB / 0.5293 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.1377, allocations: 139.6 kB / 0.5295 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.1379, allocations: 182.9 kB / 0.5296 GB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.138, allocations: 67.36 kB / 0.5297 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.1381, allocations: 12 kB / 0.5297 GB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/0.1387, allocations: 194.3 kB / 0.5299 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1388, allocations: 0 / 0.5299 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.1388, allocations: 11.94 kB / 0.5299 GB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.624e-06/0.1388, allocations: 0 / 0.5299 GB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008128/0.1397, allocations: 195.8 kB / 0.5301 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.1411, allocations: 498 kB / 0.5306 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.1425, allocations: 270.3 kB / 0.5308 GB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.1425, allocations: 3.984 kB / 0.5308 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.1426, allocations: 42.62 kB / 0.5309 GB, free: 10.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.436e-06/0.1426, allocations: 0 / 0.5309 GB, free: 10.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.00138/0.144, allocations: 317.5 kB / 0.5312 GB, free: 9.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.1441, allocations: 51.41 kB / 0.5312 GB, free: 9.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.1442, allocations: 141.2 kB / 0.5314 GB, free: 9.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.1443, allocations: 25.7 kB / 0.5314 GB, free: 9.648 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.488e-05/0.1444, allocations: 116.1 kB / 0.5315 GB, free: 9.531 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.1444, allocations: 11.75 kB / 0.5315 GB, free: 9.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/0.1445, allocations: 8 kB / 0.5315 GB, free: 9.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1446, allocations: 322.8 kB / 0.5318 GB, free: 9.188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004037/0.1451, allocations: 83.92 kB / 0.5319 GB, free: 9.105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/0.1455, allocations: 118.5 kB / 0.532 GB, free: 8.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.1459, allocations: 87.94 kB / 0.5321 GB, free: 8.895 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.494e-06/0.1459, allocations: 4 kB / 0.5321 GB, free: 8.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009383/0.1469, allocations: 237.4 kB / 0.5323 GB, free: 8.652 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.1469, allocations: 11.94 kB / 0.5323 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.999e-06/0.1469, allocations: 0 / 0.5323 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.147, allocations: 4 kB / 0.5323 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.1473, allocations: 51.94 kB / 0.5324 GB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.377e-06/0.1474, allocations: 0 / 0.5324 GB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.1476, allocations: 35.88 kB / 0.5324 GB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.1477, allocations: 4 kB / 0.5324 GB, free: 8.547 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.0001498/0.1478, allocations: 117.8 kB / 0.5325 GB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/0.1479, allocations: 15.84 kB / 0.5326 GB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.1489, allocations: 238.2 kB / 0.5328 GB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.675e-06/0.1489, allocations: 0 / 0.5328 GB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.234e-06/0.149, allocations: 0 / 0.5328 GB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.046e-06/0.149, allocations: 4 kB / 0.5328 GB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.1493, allocations: 238 kB / 0.533 GB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1494, allocations: 384 / 0.533 GB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.1497, allocations: 43.94 kB / 0.5331 GB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.757e-06/0.1497, allocations: 11.89 kB / 0.5331 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.1497, allocations: 4 kB / 0.5331 GB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.1497, allocations: 0 / 0.5331 GB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1498, allocations: 3.938 kB / 0.5331 GB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009398/0.1507, allocations: 327.2 kB / 0.5334 GB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.1508, allocations: 85 kB / 0.5335 GB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.1508, allocations: 7.953 kB / 0.5335 GB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.1512, allocations: 43.95 kB / 0.5335 GB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.1513, allocations: 7.984 kB / 0.5335 GB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.1513, allocations: 7.984 kB / 0.5335 GB, free: 7.316 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.935e-05/0.1514, allocations: 103.3 kB / 0.5336 GB, free: 7.215 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.1515, allocations: 0 / 0.5336 GB, free: 7.215 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003669/0.1518, allocations: 23.91 kB / 0.5337 GB, free: 7.191 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 (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.0001486/0.152, allocations: 99.25 kB / 0.5337 GB, free: 7.086 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008931/0.1529, allocations: 199.8 kB / 0.5339 GB, free: 6.891 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1529, allocations: 0 / 0.5339 GB, free: 6.891 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004199/0.1533, allocations: 100 kB / 0.534 GB, free: 6.793 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.1536, allocations: 8 kB / 0.534 GB, free: 6.785 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008499/0.1545, allocations: 309.3 kB / 0.5343 GB, free: 6.457 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.1549, allocations: 0.7004 MB / 0.535 GB, free: 5.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.1551, allocations: 16.17 kB / 0.535 GB, free: 5.715 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.1551, allocations: 11.44 kB / 0.535 GB, free: 5.703 MB / 378.7 MB Notification: Performance of SimCode: time 1.871e-06/0.1551, allocations: 0 / 0.535 GB, free: 5.703 MB / 378.7 MB Notification: Performance of Templates: time 0.00465/0.1598, allocations: 1.315 MB / 0.5363 GB, free: 4.406 MB / 378.7 MB