Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 181.4 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.7709/0.7709, allocations: 132.2 MB / 148.9 MB, free: 12.15 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.514/1.514, allocations: 222.9 MB / 403.4 MB, free: 7.141 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.001158/0.001158, allocations: 101.6 kB / 484.4 MB, free: 8.73 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001012, allocations: 43.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1428, allocations: 80.2 MB / 0.6402 GB, free: 6.789 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002597/0.1454, allocations: 1.502 MB / 0.6416 GB, free: 5.266 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007779/0.1462, allocations: 468.8 kB / 0.6421 GB, free: 4.801 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.1463, allocations: 0 / 0.6421 GB, free: 4.801 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.1463, allocations: 3.938 kB / 0.6421 GB, free: 4.797 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.39e-05/0.1464, allocations: 4 kB / 0.6421 GB, free: 4.793 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.1466, allocations: 19.97 kB / 0.6421 GB, free: 4.773 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.009e-05/0.1466, allocations: 31.86 kB / 0.6421 GB, free: 4.742 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.048e-05/0.1467, allocations: 4 kB / 0.6421 GB, free: 4.738 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.932e-05/0.1468, allocations: 15.92 kB / 0.6422 GB, free: 4.723 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.1468, allocations: 11.94 kB / 0.6422 GB, free: 4.711 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.1468, allocations: 0 / 0.6422 GB, free: 4.711 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.77e-05/0.1469, allocations: 19.97 kB / 0.6422 GB, free: 4.691 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.1469, allocations: 7.984 kB / 0.6422 GB, free: 4.684 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.147, allocations: 11.94 kB / 0.6422 GB, free: 4.672 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.26e-05/0.1471, allocations: 27.89 kB / 0.6422 GB, free: 4.645 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1471, allocations: 4 kB / 0.6422 GB, free: 4.641 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1471, allocations: 0 / 0.6422 GB, free: 4.641 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.1471, allocations: 0 / 0.6422 GB, free: 4.641 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00044/0.1475, allocations: 341.4 kB / 0.6426 GB, free: 4.262 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1476, allocations: 12.03 kB / 0.6426 GB, free: 4.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.1476, allocations: 4.844 kB / 0.6426 GB, free: 4.246 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.1477, allocations: 164.3 kB / 0.6427 GB, free: 4.047 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.1477, allocations: 12.38 kB / 0.6427 GB, free: 4.035 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/0.1478, allocations: 384 / 0.6427 GB, free: 4.035 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.1479, allocations: 53.98 kB / 0.6428 GB, free: 3.977 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.1479, allocations: 0 / 0.6428 GB, free: 3.977 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.1479, allocations: 0 / 0.6428 GB, free: 3.977 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.148, allocations: 0 / 0.6428 GB, free: 3.977 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.1481, allocations: 35.95 kB / 0.6428 GB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.1484, allocations: 252.9 kB / 0.6431 GB, free: 3.645 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.1485, allocations: 42.48 kB / 0.6431 GB, free: 3.594 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.371e-05/0.1486, allocations: 24.91 kB / 0.6431 GB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.1487, allocations: 81.11 kB / 0.6432 GB, free: 3.469 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.1488, allocations: 42.48 kB / 0.6433 GB, free: 3.418 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1488, allocations: 0 / 0.6433 GB, free: 3.418 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003287/0.1491, allocations: 89.48 kB / 0.6433 GB, free: 3.324 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.1492, allocations: 51.41 kB / 0.6434 GB, free: 3.262 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.926e-05/0.1492, allocations: 101.8 kB / 0.6435 GB, free: 3.152 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.1492, allocations: 33.64 kB / 0.6435 GB, free: 3.113 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.1493, allocations: 84.27 kB / 0.6436 GB, free: 3.027 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.448e-05/0.1493, allocations: 3.906 kB / 0.6436 GB, free: 3.023 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.1493, allocations: 21.7 kB / 0.6436 GB, free: 2.996 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.355e-05/0.1494, allocations: 310.8 kB / 0.6439 GB, free: 2.684 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.008e-05/0.1495, allocations: 15.98 kB / 0.6439 GB, free: 2.668 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.001e-05/0.1496, allocations: 16.23 kB / 0.6439 GB, free: 2.652 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.1497, allocations: 44.81 kB / 0.644 GB, free: 2.605 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1498, allocations: 8 kB / 0.644 GB, free: 2.598 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001837/0.1499, allocations: 69.59 kB / 0.6441 GB, free: 2.523 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.15, allocations: 9.562 kB / 0.6441 GB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.15, allocations: 0 / 0.6441 GB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.15, allocations: 0 / 0.6441 GB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.907e-05/0.1501, allocations: 8.031 kB / 0.6441 GB, free: 2.508 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.1501, allocations: 0 / 0.6441 GB, free: 2.508 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.1501, allocations: 11.92 kB / 0.6441 GB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1502, allocations: 4 kB / 0.6441 GB, free: 2.492 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 6.6e-05/0.1502, allocations: 111.1 kB / 0.6442 GB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.1503, allocations: 0 / 0.6442 GB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.1505, allocations: 80.77 kB / 0.6443 GB, free: 2.289 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1505, allocations: 0 / 0.6443 GB, free: 2.289 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1505, allocations: 3.938 kB / 0.6443 GB, free: 2.285 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1505, allocations: 0 / 0.6443 GB, free: 2.285 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.1506, allocations: 161.6 kB / 0.6444 GB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1506, allocations: 0 / 0.6444 GB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.346e-05/0.1507, allocations: 7.984 kB / 0.6444 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1507, allocations: 0 / 0.6444 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.1507, allocations: 0 / 0.6444 GB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1507, allocations: 4 kB / 0.6444 GB, free: 2.066 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1507, allocations: 0 / 0.6444 GB, free: 2.066 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005265/0.1513, allocations: 0.7317 MB / 0.6452 GB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.1513, allocations: 81.11 kB / 0.6452 GB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.1513, allocations: 0 / 0.6452 GB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.1514, allocations: 12.02 kB / 0.6453 GB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.1515, allocations: 3.938 kB / 0.6453 GB, free: 1.164 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.1515, allocations: 0 / 0.6453 GB, free: 1.164 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.948e-05/0.1515, allocations: 95.2 kB / 0.6453 GB, free: 1.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1515, allocations: 3.938 kB / 0.6453 GB, free: 1.066 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003389/0.1519, allocations: 12 kB / 0.6454 GB, free: 1.055 MB / 442.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 (2): * Single equations (assignments): 2 * 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.0001282/0.152, allocations: 95.25 kB / 0.6455 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.1522, allocations: 47.89 kB / 0.6455 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1522, allocations: 0 / 0.6455 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.057e-05/0.1523, allocations: 19.98 kB / 0.6455 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.1526, allocations: 1.688 kB / 0.6455 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.1529, allocations: 218.3 kB / 0.6457 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.1532, allocations: 0.6731 MB / 0.6464 GB, free: 15.94 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.24e-05/0.1532, allocations: 0 / 0.6464 GB, free: 15.94 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.1532, allocations: 15.42 kB / 0.6464 GB, free: 15.93 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1532, allocations: 0 / 0.6464 GB, free: 15.93 MB / 458.7 MB Notification: Performance of Templates: time 0.002165/0.1554, allocations: 494 kB / 0.6469 GB, free: 15.45 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)