Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 180 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9555/0.9555, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 403.3 MB, free: 7.082 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009727/0.0009725, allocations: 102.8 kB / 484.3 MB, free: 8.703 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009876/0.0009877, allocations: 55.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1372, allocations: 80.21 MB / 0.6402 GB, free: 6.781 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003034/0.1403, allocations: 1.828 MB / 0.642 GB, free: 4.934 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1415, allocations: 0.6632 MB / 0.6426 GB, free: 4.262 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.1415, allocations: 4 kB / 0.6426 GB, free: 4.258 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.527e-05/0.1416, allocations: 3.938 kB / 0.6426 GB, free: 4.254 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.292e-05/0.1417, allocations: 15.86 kB / 0.6426 GB, free: 4.238 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005062/0.1422, allocations: 146.9 kB / 0.6428 GB, free: 4.098 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.1424, allocations: 123.7 kB / 0.6429 GB, free: 3.977 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.1425, allocations: 45.09 kB / 0.6429 GB, free: 3.93 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1426, allocations: 59.77 kB / 0.643 GB, free: 3.871 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.636e-05/0.1427, allocations: 55.69 kB / 0.643 GB, free: 3.816 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.1428, allocations: 8 kB / 0.643 GB, free: 3.809 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1429, allocations: 43.97 kB / 0.6431 GB, free: 3.766 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.824e-05/0.1429, allocations: 27.91 kB / 0.6431 GB, free: 3.738 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.026e-05/0.143, allocations: 51.7 kB / 0.6432 GB, free: 3.688 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.1432, allocations: 139.8 kB / 0.6433 GB, free: 3.551 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1432, allocations: 0 / 0.6433 GB, free: 3.551 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1432, allocations: 0 / 0.6433 GB, free: 3.551 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.1432, allocations: 0 / 0.6433 GB, free: 3.551 MB / 442.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.0006155/0.1439, allocations: 435 kB / 0.6437 GB, free: 3.078 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1439, allocations: 16.03 kB / 0.6437 GB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000834/0.1447, allocations: 108.6 kB / 0.6438 GB, free: 2.957 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.1449, allocations: 193.5 kB / 0.644 GB, free: 2.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.514e-05/0.1451, allocations: 59.97 kB / 0.6441 GB, free: 2.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.1451, allocations: 12.38 kB / 0.6441 GB, free: 2.648 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.1456, allocations: 178.8 kB / 0.6443 GB, free: 2.469 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1456, allocations: 0 / 0.6443 GB, free: 2.469 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.1457, allocations: 4 kB / 0.6443 GB, free: 2.465 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1457, allocations: 0 / 0.6443 GB, free: 2.465 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006366/0.1463, allocations: 159.8 kB / 0.6444 GB, free: 2.309 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.1474, allocations: 473.9 kB / 0.6449 GB, free: 1.797 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.1485, allocations: 218.3 kB / 0.6451 GB, free: 1.574 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/0.1488, allocations: 80.89 kB / 0.6451 GB, free: 1.492 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.1488, allocations: 11.92 kB / 0.6452 GB, free: 1.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/0.1489, allocations: 38.56 kB / 0.6452 GB, free: 1.434 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.1489, allocations: 0 / 0.6452 GB, free: 1.434 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.001042/0.1499, allocations: 265.5 kB / 0.6454 GB, free: 1.168 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.15, allocations: 51.41 kB / 0.6455 GB, free: 1.105 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.1501, allocations: 139.7 kB / 0.6456 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.1501, allocations: 25.7 kB / 0.6457 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.952e-05/0.1502, allocations: 112.2 kB / 0.6458 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.1502, allocations: 27.62 kB / 0.6458 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.1503, allocations: 21.72 kB / 0.6458 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1504, allocations: 322.8 kB / 0.6461 GB, free: 448 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.1507, allocations: 71.92 kB / 0.6462 GB, free: 376 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.1511, allocations: 98.42 kB / 0.6463 GB, free: 268 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/0.1516, allocations: 158.4 kB / 0.6464 GB, free: 100 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1517, allocations: 0 / 0.6464 GB, free: 100 kB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006989/0.1524, allocations: 209.6 kB / 0.6466 GB, free: 15.89 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1524, allocations: 8 kB / 0.6466 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1524, allocations: 64 / 0.6466 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1524, allocations: 7.938 kB / 0.6466 GB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.1527, allocations: 43.95 kB / 0.6467 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1527, allocations: 3.984 kB / 0.6467 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.1529, allocations: 23.97 kB / 0.6467 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.1529, allocations: 4 kB / 0.6467 GB, free: 15.8 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.1531, allocations: 119.2 kB / 0.6468 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.1531, allocations: 11.81 kB / 0.6468 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007407/0.1538, allocations: 218.1 kB / 0.647 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1539, allocations: 0 / 0.647 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.1539, allocations: 0 / 0.647 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1539, allocations: 0 / 0.647 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.1541, allocations: 226.4 kB / 0.6473 GB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1541, allocations: 4 kB / 0.6473 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.1544, allocations: 35.89 kB / 0.6473 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1544, allocations: 3.984 kB / 0.6473 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.1544, allocations: 7.938 kB / 0.6473 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1544, allocations: 4.156 kB / 0.6473 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1544, allocations: 0 / 0.6473 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.1556, allocations: 0.9189 MB / 0.6482 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.1557, allocations: 85.02 kB / 0.6483 GB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.1557, allocations: 4 kB / 0.6483 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.156, allocations: 27.95 kB / 0.6483 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.1561, allocations: 11.98 kB / 0.6483 GB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.1561, allocations: 7.984 kB / 0.6483 GB, free: 13.98 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.183e-05/0.1562, allocations: 105 kB / 0.6484 GB, free: 13.88 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1562, allocations: 0 / 0.6484 GB, free: 13.88 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003641/0.1566, allocations: 20 kB / 0.6485 GB, free: 13.86 MB / 458.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 (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.000128/0.1567, allocations: 107.2 kB / 0.6486 GB, free: 13.75 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006922/0.1574, allocations: 160 kB / 0.6487 GB, free: 13.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1574, allocations: 0 / 0.6487 GB, free: 13.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.1577, allocations: 91.97 kB / 0.6488 GB, free: 13.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.1581, allocations: 21.59 kB / 0.6488 GB, free: 13.48 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007724/0.1589, allocations: 408 kB / 0.6492 GB, free: 13.05 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.1592, allocations: 0.7004 MB / 0.6499 GB, free: 12.32 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.917e-05/0.1593, allocations: 16 kB / 0.6499 GB, free: 12.31 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.914e-05/0.1593, allocations: 15.42 kB / 0.6499 GB, free: 12.29 MB / 458.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1594, allocations: 4 kB / 0.6499 GB, free: 12.29 MB / 458.7 MB Notification: Performance of Templates: time 0.003429/0.1628, allocations: 1.418 MB / 0.6513 GB, free: 10.88 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)