Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 182.6 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.6928/0.6928, 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.418/1.418, allocations: 222.9 MB / 403.3 MB, free: 7.035 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.001021/0.001021, allocations: 113.5 kB / 484.4 MB, free: 8.707 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 55.92 kB / 0.5619 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.137, allocations: 80.21 MB / 0.6402 GB, free: 6.781 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002084/0.1391, allocations: 0.6465 MB / 0.6408 GB, free: 6.129 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.1408, allocations: 1.109 MB / 0.6419 GB, free: 5.004 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.438e-05/0.1408, allocations: 0 / 0.6419 GB, free: 5.004 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.219e-05/0.1409, allocations: 0 / 0.6419 GB, free: 5.004 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.1411, allocations: 19.97 kB / 0.6419 GB, free: 4.984 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.446e-06/0.1411, allocations: 3.938 kB / 0.6419 GB, free: 4.98 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.247e-05/0.1412, allocations: 4 kB / 0.6419 GB, free: 4.977 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.1412, allocations: 0 / 0.6419 GB, free: 4.977 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.174e-05/0.1413, allocations: 3.938 kB / 0.6419 GB, free: 4.973 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.118e-05/0.1413, allocations: 4 kB / 0.6419 GB, free: 4.969 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.1413, allocations: 4 kB / 0.6419 GB, free: 4.965 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1414, allocations: 23.92 kB / 0.642 GB, free: 4.941 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.025e-06/0.1414, allocations: 3.984 kB / 0.642 GB, free: 4.938 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.402e-05/0.1415, allocations: 0 / 0.642 GB, free: 4.938 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.447e-05/0.1415, allocations: 11.92 kB / 0.642 GB, free: 4.926 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1416, allocations: 0 / 0.642 GB, free: 4.926 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1416, allocations: 0 / 0.642 GB, free: 4.926 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.1416, allocations: 0 / 0.642 GB, free: 4.926 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.0002985/0.1419, allocations: 331.5 kB / 0.6423 GB, free: 4.555 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1419, allocations: 8.031 kB / 0.6423 GB, free: 4.547 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.142, allocations: 0.9375 kB / 0.6423 GB, free: 4.547 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.031e-05/0.142, allocations: 160.4 kB / 0.6425 GB, free: 4.352 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-06/0.1421, allocations: 384 / 0.6425 GB, free: 4.352 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.1421, allocations: 8.359 kB / 0.6425 GB, free: 4.344 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.1422, allocations: 45.89 kB / 0.6425 GB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1422, allocations: 0 / 0.6425 GB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.1423, allocations: 0 / 0.6425 GB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1423, allocations: 0 / 0.6425 GB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.93e-05/0.1423, allocations: 7.984 kB / 0.6425 GB, free: 4.285 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.1425, allocations: 153.7 kB / 0.6427 GB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.1427, allocations: 34.61 kB / 0.6427 GB, free: 4.043 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.211e-05/0.1427, allocations: 8.859 kB / 0.6427 GB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.1429, allocations: 81.19 kB / 0.6428 GB, free: 3.934 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.1429, allocations: 42.44 kB / 0.6428 GB, free: 3.883 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1429, allocations: 4 kB / 0.6428 GB, free: 3.879 MB / 442.7 MB Notification: Performance of matching and sorting (n=5): time 0.004227/0.1471, allocations: 0.5718 MB / 0.6434 GB, free: 3.301 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.1472, allocations: 51.41 kB / 0.6434 GB, free: 3.238 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.093e-05/0.1472, allocations: 89.86 kB / 0.6435 GB, free: 3.141 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.1473, allocations: 29.7 kB / 0.6435 GB, free: 3.105 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.467e-05/0.1473, allocations: 80.14 kB / 0.6436 GB, free: 3.023 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.1473, allocations: 15.72 kB / 0.6436 GB, free: 3.008 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.1474, allocations: 21.7 kB / 0.6437 GB, free: 2.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1475, allocations: 318.8 kB / 0.644 GB, free: 2.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006033/0.1481, allocations: 83.95 kB / 0.644 GB, free: 2.578 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005982/0.1487, allocations: 102.5 kB / 0.6441 GB, free: 2.469 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.15, allocations: 190.4 kB / 0.6443 GB, free: 2.273 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.15, allocations: 0 / 0.6443 GB, free: 2.273 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001262/0.1512, allocations: 213.5 kB / 0.6445 GB, free: 2.059 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1513, allocations: 8 kB / 0.6445 GB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1513, allocations: 0 / 0.6445 GB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1513, allocations: 0 / 0.6445 GB, free: 2.051 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.1517, allocations: 52 kB / 0.6446 GB, free: 2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1517, allocations: 0 / 0.6446 GB, free: 2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.1521, allocations: 48.16 kB / 0.6446 GB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.1521, allocations: 4 kB / 0.6446 GB, free: 1.949 MB / 442.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 (5): * Single equations (assignments): 5 * 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 8.111e-05/0.1522, allocations: 111.2 kB / 0.6447 GB, free: 1.832 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.1522, allocations: 12.3 kB / 0.6447 GB, free: 1.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.1536, allocations: 237.1 kB / 0.645 GB, free: 1.582 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1536, allocations: 3.984 kB / 0.645 GB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1536, allocations: 0 / 0.645 GB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1536, allocations: 3.984 kB / 0.645 GB, free: 1.574 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.1552, allocations: 458.4 kB / 0.6454 GB, free: 1.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1552, allocations: 0 / 0.6454 GB, free: 1.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/0.1556, allocations: 47.97 kB / 0.6455 GB, free: 1.023 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.1556, allocations: 4 kB / 0.6455 GB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.1556, allocations: 0 / 0.6455 GB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1556, allocations: 3.938 kB / 0.6455 GB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1556, allocations: 0 / 0.6455 GB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/0.1578, allocations: 0.9386 MB / 0.6464 GB, free: 20 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.1579, allocations: 77.11 kB / 0.6465 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.1579, allocations: 0 / 0.6465 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.1583, allocations: 43.92 kB / 0.6465 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.1583, allocations: 3.984 kB / 0.6465 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1583, allocations: 4.188 kB / 0.6465 GB, free: 15.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.352e-05/0.1584, allocations: 79.28 kB / 0.6466 GB, free: 15.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1584, allocations: 0 / 0.6466 GB, free: 15.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003431/0.1587, allocations: 12 kB / 0.6466 GB, free: 15.79 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 (5): * Single equations (assignments): 5 * 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.0001628/0.1589, allocations: 107.1 kB / 0.6467 GB, free: 15.67 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.1602, allocations: 183.9 kB / 0.6469 GB, free: 15.49 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1602, allocations: 192 / 0.6469 GB, free: 15.49 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006162/0.1608, allocations: 91.89 kB / 0.647 GB, free: 15.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.161, allocations: 6.938 kB / 0.647 GB, free: 15.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.1622, allocations: 329.5 kB / 0.6473 GB, free: 15.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.1624, allocations: 0.677 MB / 0.6479 GB, free: 14.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002249/0.1627, allocations: 28 kB / 0.648 GB, free: 14.31 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.1627, allocations: 11.44 kB / 0.648 GB, free: 14.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.81e-07/0.1627, allocations: 0 / 0.648 GB, free: 14.3 MB / 458.7 MB Notification: Performance of Templates: time 0.002744/0.1655, allocations: 0.8075 MB / 0.6488 GB, free: 13.5 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)