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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 105.1 kB / 16.41 MB, free: 6.465 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.001971/0.001971, allocations: 187 kB / 17.34 MB, free: 5.715 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.464/1.464, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.862/0.862, allocations: 135.2 MB / 426.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 65.69 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1537, allocations: 80.93 MB / 0.6654 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002595/0.1563, allocations: 1.435 MB / 0.6668 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008457/0.1571, allocations: 475.6 kB / 0.6672 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.1572, allocations: 0 / 0.6672 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.1572, allocations: 4 kB / 0.6672 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.1572, allocations: 7.922 kB / 0.6672 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.1575, allocations: 23.92 kB / 0.6673 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.516e-05/0.1575, allocations: 27.92 kB / 0.6673 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.822e-05/0.1576, allocations: 8 kB / 0.6673 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.232e-05/0.1577, allocations: 11.98 kB / 0.6673 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.984e-05/0.1577, allocations: 11.92 kB / 0.6673 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1578, allocations: 4 kB / 0.6673 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.324e-05/0.1578, allocations: 23.91 kB / 0.6673 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.1578, allocations: 4 kB / 0.6673 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.1579, allocations: 7.938 kB / 0.6673 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.158, allocations: 39.81 kB / 0.6674 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.158, allocations: 4 kB / 0.6674 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.158, allocations: 0 / 0.6674 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.158, allocations: 0 / 0.6674 GB, free: 3.672 MB / 0.4981 GB 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.0005211/0.1586, allocations: 343.4 kB / 0.6677 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1586, allocations: 13.11 kB / 0.6677 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.1586, allocations: 0.9375 kB / 0.6677 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.1588, allocations: 164.3 kB / 0.6679 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.1588, allocations: 4.375 kB / 0.6679 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.1588, allocations: 384 / 0.6679 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.159, allocations: 61.92 kB / 0.6679 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.159, allocations: 4 kB / 0.668 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.159, allocations: 3.938 kB / 0.668 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.159, allocations: 3.938 kB / 0.668 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.1592, allocations: 35.95 kB / 0.668 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.1596, allocations: 248.9 kB / 0.6682 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.1597, allocations: 42.59 kB / 0.6683 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.968e-05/0.1598, allocations: 20.91 kB / 0.6683 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.1599, allocations: 85.03 kB / 0.6684 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.16, allocations: 38.56 kB / 0.6684 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.16, allocations: 0 / 0.6684 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003815/0.1603, allocations: 81.73 kB / 0.6685 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.1604, allocations: 51.41 kB / 0.6685 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.112e-05/0.1605, allocations: 97.86 kB / 0.6686 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1605, allocations: 25.7 kB / 0.6687 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.1606, allocations: 88.14 kB / 0.6687 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.1606, allocations: 7.938 kB / 0.6687 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.1606, allocations: 9.719 kB / 0.6688 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1608, allocations: 318.8 kB / 0.6691 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.531e-05/0.1608, allocations: 16.02 kB / 0.6691 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.004e-05/0.1609, allocations: 23.91 kB / 0.6691 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.1611, allocations: 40.77 kB / 0.6691 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1611, allocations: 0 / 0.6691 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002286/0.1613, allocations: 73.67 kB / 0.6692 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1613, allocations: 4 kB / 0.6692 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1613, allocations: 4 kB / 0.6692 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1614, allocations: 0 / 0.6692 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.611e-05/0.1614, allocations: 7.984 kB / 0.6692 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1614, allocations: 0 / 0.6692 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.812e-05/0.1615, allocations: 7.938 kB / 0.6692 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.1615, allocations: 0 / 0.6692 GB, free: 1.543 MB / 0.4981 GB 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 9.142e-05/0.1616, allocations: 125.8 kB / 0.6693 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.1616, allocations: 3.984 kB / 0.6694 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.1619, allocations: 72.78 kB / 0.6694 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1619, allocations: 0 / 0.6694 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1619, allocations: 0 / 0.6694 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1619, allocations: 0 / 0.6694 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.1621, allocations: 157.6 kB / 0.6696 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1621, allocations: 3.938 kB / 0.6696 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.1621, allocations: 16.27 kB / 0.6696 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1621, allocations: 0 / 0.6696 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.1621, allocations: 4 kB / 0.6696 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1621, allocations: 0 / 0.6696 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1621, allocations: 0 / 0.6696 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.1624, allocations: 183.3 kB / 0.6698 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.1624, allocations: 81.06 kB / 0.6698 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.1625, allocations: 3.984 kB / 0.6699 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.1625, allocations: 4 kB / 0.6699 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.1626, allocations: 0 / 0.6699 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.1626, allocations: 3.984 kB / 0.6699 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.384e-05/0.1626, allocations: 83.28 kB / 0.6699 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1626, allocations: 0 / 0.6699 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002276/0.1629, allocations: 8 kB / 0.6699 GB, free: 0.7031 MB / 0.4981 GB 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.0001749/0.163, allocations: 99.28 kB / 0.67 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.1633, allocations: 43.89 kB / 0.6701 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1633, allocations: 0 / 0.6701 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.827e-05/0.1634, allocations: 19.98 kB / 0.6701 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.1637, allocations: 3.938 kB / 0.6701 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.1641, allocations: 143.2 kB / 0.6702 GB, free: 364 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.1644, allocations: 0.6768 MB / 0.6709 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.1645, allocations: 11.44 kB / 0.6709 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.1645, allocations: 0 / 0.6709 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of Templates: time 0.002315/0.1668, allocations: 0.657 MB / 0.6716 GB, free: 14.99 MB / 0.5137 GB 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)