Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001966/0.001966, allocations: 182.8 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-master/package.mo): time 0.781/0.781, allocations: 133.3 MB / 150.1 MB, free: 11.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.553/1.553, allocations: 222.9 MB / 404.7 MB, free: 6.023 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.001085/0.001085, allocations: 103.5 kB / 485.9 MB, free: 7.164 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 51.92 kB / 0.5636 GB, free: 69.91 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1537, allocations: 80.43 MB / 0.6421 GB, free: 5.41 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.003129/0.1568, allocations: 1.479 MB / 0.6436 GB, free: 3.91 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009009/0.1578, allocations: 485.1 kB / 0.644 GB, free: 3.43 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.1578, allocations: 0 / 0.644 GB, free: 3.43 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.1579, allocations: 0 / 0.644 GB, free: 3.43 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.541e-05/0.1579, allocations: 3.984 kB / 0.6441 GB, free: 3.426 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.1582, allocations: 19.92 kB / 0.6441 GB, free: 3.406 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.774e-05/0.1582, allocations: 23.88 kB / 0.6441 GB, free: 3.383 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.608e-05/0.1583, allocations: 11.98 kB / 0.6441 GB, free: 3.371 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.639e-05/0.1584, allocations: 8 kB / 0.6441 GB, free: 3.363 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.334e-05/0.1584, allocations: 15.92 kB / 0.6441 GB, free: 3.348 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1585, allocations: 0 / 0.6441 GB, free: 3.348 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-05/0.1585, allocations: 23.97 kB / 0.6442 GB, free: 3.324 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.1586, allocations: 4 kB / 0.6442 GB, free: 3.32 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.1586, allocations: 7.922 kB / 0.6442 GB, free: 3.312 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.1587, allocations: 31.91 kB / 0.6442 GB, free: 3.281 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1587, allocations: 3.938 kB / 0.6442 GB, free: 3.277 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1587, allocations: 0 / 0.6442 GB, free: 3.277 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.1587, allocations: 0 / 0.6442 GB, free: 3.277 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.0005599/0.1593, allocations: 346.1 kB / 0.6445 GB, free: 2.895 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.1594, allocations: 12.03 kB / 0.6445 GB, free: 2.883 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.1594, allocations: 4.844 kB / 0.6445 GB, free: 2.879 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.1596, allocations: 172.4 kB / 0.6447 GB, free: 2.672 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.1596, allocations: 384 / 0.6447 GB, free: 2.672 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.1597, allocations: 384 / 0.6447 GB, free: 2.672 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.1599, allocations: 53.98 kB / 0.6448 GB, free: 2.613 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1599, allocations: 0 / 0.6448 GB, free: 2.613 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.1599, allocations: 4 kB / 0.6448 GB, free: 2.609 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.1599, allocations: 0 / 0.6448 GB, free: 2.609 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.1601, allocations: 31.97 kB / 0.6448 GB, free: 2.578 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.1606, allocations: 260.8 kB / 0.645 GB, free: 2.273 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.1607, allocations: 34.56 kB / 0.6451 GB, free: 2.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.005e-05/0.1608, allocations: 24.91 kB / 0.6451 GB, free: 2.203 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/0.161, allocations: 85.09 kB / 0.6452 GB, free: 2.102 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.1611, allocations: 30.56 kB / 0.6452 GB, free: 2.062 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.1611, allocations: 0 / 0.6452 GB, free: 2.062 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.000416/0.1615, allocations: 89.58 kB / 0.6453 GB, free: 1.969 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.1616, allocations: 55.44 kB / 0.6453 GB, free: 1.902 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.1617, allocations: 109.8 kB / 0.6455 GB, free: 1.785 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.1617, allocations: 25.7 kB / 0.6455 GB, free: 1.754 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.1618, allocations: 88.08 kB / 0.6456 GB, free: 1.664 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.1618, allocations: 3.906 kB / 0.6456 GB, free: 1.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.1619, allocations: 13.72 kB / 0.6456 GB, free: 1.641 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1621, allocations: 322.8 kB / 0.6459 GB, free: 1.316 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.145e-05/0.1622, allocations: 15.98 kB / 0.6459 GB, free: 1.301 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.499e-05/0.1622, allocations: 19.98 kB / 0.6459 GB, free: 1.281 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.1624, allocations: 40.77 kB / 0.646 GB, free: 1.238 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1624, allocations: 0 / 0.646 GB, free: 1.238 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002269/0.1627, allocations: 73.66 kB / 0.646 GB, free: 1.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1627, allocations: 4 kB / 0.646 GB, free: 1.156 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.1627, allocations: 0 / 0.646 GB, free: 1.156 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1627, allocations: 0 / 0.646 GB, free: 1.156 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.337e-05/0.1628, allocations: 11.98 kB / 0.646 GB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1628, allocations: 0 / 0.646 GB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.1629, allocations: 11.92 kB / 0.6461 GB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1629, allocations: 0 / 0.6461 GB, free: 1.133 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 7.95e-05/0.163, allocations: 117.8 kB / 0.6462 GB, free: 1.008 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.163, allocations: 4 kB / 0.6462 GB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.1633, allocations: 72.72 kB / 0.6462 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1633, allocations: 0 / 0.6462 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1633, allocations: 0 / 0.6462 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1633, allocations: 4 kB / 0.6462 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.1635, allocations: 161.6 kB / 0.6464 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1635, allocations: 0 / 0.6464 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.723e-05/0.1635, allocations: 12.02 kB / 0.6464 GB, free: 0.707 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1635, allocations: 0 / 0.6464 GB, free: 0.707 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1636, allocations: 4 kB / 0.6464 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.1636, allocations: 0 / 0.6464 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1636, allocations: 0 / 0.6464 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005954/0.1642, allocations: 0.7317 MB / 0.6471 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.1642, allocations: 77.11 kB / 0.6472 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.1642, allocations: 4 kB / 0.6472 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.1643, allocations: 7.984 kB / 0.6472 GB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.1644, allocations: 4.188 kB / 0.6472 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1644, allocations: 4 kB / 0.6472 GB, free: 15.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.655e-05/0.1644, allocations: 83.28 kB / 0.6473 GB, free: 15.72 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1644, allocations: 3.938 kB / 0.6473 GB, free: 15.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003403/0.1648, allocations: 12 kB / 0.6473 GB, free: 15.7 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 (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.0001932/0.165, allocations: 108.4 kB / 0.6474 GB, free: 15.59 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.1652, allocations: 35.91 kB / 0.6475 GB, free: 15.55 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1652, allocations: 0 / 0.6475 GB, free: 15.55 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.994e-05/0.1653, allocations: 19.97 kB / 0.6475 GB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.1657, allocations: 16.06 kB / 0.6475 GB, free: 15.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004166/0.1661, allocations: 206.2 kB / 0.6477 GB, free: 15.28 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.1664, allocations: 0.677 MB / 0.6483 GB, free: 14.58 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.788e-05/0.1664, allocations: 4 kB / 0.6484 GB, free: 14.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.1664, allocations: 7.438 kB / 0.6484 GB, free: 14.57 MB / 458.7 MB Notification: Performance of SimCode: time 4e-07/0.1664, allocations: 4 kB / 0.6484 GB, free: 14.56 MB / 458.7 MB Notification: Performance of Templates: time 0.002449/0.1689, allocations: 0.4966 MB / 0.6488 GB, free: 14.07 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)