Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 115.9 kB / 17.08 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 193.9 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7242/0.7242, allocations: 115.3 MB / 407.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 67.34 kB / 0.5583 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1472, allocations: 76.18 MB / 0.6327 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002936/0.1501, allocations: 1.77 MB / 0.6345 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1513, allocations: 0.6671 MB / 0.6351 GB, free: 1.918 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.1513, allocations: 0 / 0.6351 GB, free: 1.918 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.491e-05/0.1514, allocations: 7.875 kB / 0.6351 GB, free: 1.91 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.241e-05/0.1515, allocations: 15.81 kB / 0.6351 GB, free: 1.895 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005428/0.152, allocations: 168.4 kB / 0.6353 GB, free: 1.734 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.1522, allocations: 119.7 kB / 0.6354 GB, free: 1.617 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.1523, allocations: 49.08 kB / 0.6355 GB, free: 1.57 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.1525, allocations: 63.72 kB / 0.6355 GB, free: 1.508 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.24e-05/0.1526, allocations: 55.7 kB / 0.6356 GB, free: 1.453 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.1526, allocations: 8 kB / 0.6356 GB, free: 1.445 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.1527, allocations: 47.95 kB / 0.6356 GB, free: 1.398 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.504e-05/0.1528, allocations: 31.91 kB / 0.6357 GB, free: 1.367 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.043e-05/0.1528, allocations: 51.72 kB / 0.6357 GB, free: 1.316 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.1531, allocations: 155.5 kB / 0.6359 GB, free: 1.164 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1531, allocations: 0 / 0.6359 GB, free: 1.164 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1531, allocations: 0 / 0.6359 GB, free: 1.164 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1531, allocations: 0 / 0.6359 GB, free: 1.164 MB / 478.1 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.000742/0.1538, allocations: 431 kB / 0.6363 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1539, allocations: 12.02 kB / 0.6363 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009263/0.1548, allocations: 112.7 kB / 0.6364 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.155, allocations: 188 kB / 0.6366 GB, free: 360 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.1551, allocations: 67.95 kB / 0.6366 GB, free: 280 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.1551, allocations: 12.36 kB / 0.6366 GB, free: 268 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005194/0.1557, allocations: 171.1 kB / 0.6368 GB, free: 92 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1557, allocations: 0 / 0.6368 GB, free: 92 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.1557, allocations: 3.984 kB / 0.6368 GB, free: 88 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1557, allocations: 4 kB / 0.6368 GB, free: 84 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006332/0.1564, allocations: 155.8 kB / 0.637 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.1575, allocations: 489.6 kB / 0.6374 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.1585, allocations: 222.3 kB / 0.6376 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/0.1588, allocations: 84.91 kB / 0.6377 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1589, allocations: 3.984 kB / 0.6377 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1589, allocations: 30.56 kB / 0.6378 GB, free: 15.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1589, allocations: 0 / 0.6378 GB, free: 15.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.001048/0.16, allocations: 269.4 kB / 0.638 GB, free: 14.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.16, allocations: 51.41 kB / 0.6381 GB, free: 14.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.1601, allocations: 148.6 kB / 0.6382 GB, free: 14.56 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.1602, allocations: 29.7 kB / 0.6382 GB, free: 14.53 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.1602, allocations: 108.2 kB / 0.6383 GB, free: 14.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.1603, allocations: 23.66 kB / 0.6384 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.1603, allocations: 25.7 kB / 0.6384 GB, free: 14.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1605, allocations: 322.8 kB / 0.6387 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.1608, allocations: 71.92 kB / 0.6388 GB, free: 13.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.1611, allocations: 94.5 kB / 0.6388 GB, free: 13.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006029/0.1617, allocations: 170.6 kB / 0.639 GB, free: 13.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1617, allocations: 0 / 0.639 GB, free: 13.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006765/0.1624, allocations: 201.4 kB / 0.6392 GB, free: 13.49 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1624, allocations: 4 kB / 0.6392 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1624, allocations: 4.062 kB / 0.6392 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1625, allocations: 7.938 kB / 0.6392 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.1627, allocations: 35.89 kB / 0.6393 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1627, allocations: 0 / 0.6393 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.1629, allocations: 27.97 kB / 0.6393 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.163, allocations: 3.984 kB / 0.6393 GB, free: 13.41 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.1631, allocations: 117.8 kB / 0.6394 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.1631, allocations: 11.91 kB / 0.6394 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007382/0.1639, allocations: 210.1 kB / 0.6396 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1639, allocations: 4 kB / 0.6396 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1639, allocations: 0 / 0.6396 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1639, allocations: 0 / 0.6396 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.1642, allocations: 230.4 kB / 0.6398 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1642, allocations: 0 / 0.6398 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.1644, allocations: 35.95 kB / 0.6399 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1644, allocations: 0 / 0.6399 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.1645, allocations: 7.938 kB / 0.6399 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1645, allocations: 0 / 0.6399 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1645, allocations: 3.938 kB / 0.6399 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007205/0.1652, allocations: 287.4 kB / 0.6401 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/0.1653, allocations: 84.92 kB / 0.6402 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.1653, allocations: 11.92 kB / 0.6402 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.1656, allocations: 35.95 kB / 0.6403 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.1657, allocations: 0 / 0.6403 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.1657, allocations: 7.984 kB / 0.6403 GB, free: 12.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.959e-05/0.1658, allocations: 107.2 kB / 0.6404 GB, free: 12.17 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1658, allocations: 0 / 0.6404 GB, free: 12.17 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.166, allocations: 24 kB / 0.6404 GB, free: 12.14 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001432/0.1662, allocations: 99.25 kB / 0.6405 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006932/0.1669, allocations: 163.8 kB / 0.6407 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1669, allocations: 0 / 0.6407 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003216/0.1672, allocations: 87.98 kB / 0.6407 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1676, allocations: 9.891 kB / 0.6408 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006685/0.1682, allocations: 289 kB / 0.641 GB, free: 11.47 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.1686, allocations: 0.708 MB / 0.6417 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.063e-05/0.1687, allocations: 15.42 kB / 0.6417 GB, free: 10.72 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1687, allocations: 0 / 0.6417 GB, free: 10.72 MB / 494.1 MB Notification: Performance of Templates: time 0.003135/0.1718, allocations: 1.593 MB / 0.6433 GB, free: 9.133 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)