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.00114/0.00114, allocations: 113.6 kB / 16.41 MB, free: 6.445 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.001157/0.001157, allocations: 183 kB / 17.34 MB, free: 5.738 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8108/0.8108, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 68.95 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1592, allocations: 80.93 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002996/0.1623, allocations: 1.427 MB / 0.6667 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008716/0.1632, allocations: 479.6 kB / 0.6672 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.1632, allocations: 0 / 0.6672 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.1633, allocations: 0 / 0.6672 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.135e-05/0.1634, allocations: 11.91 kB / 0.6672 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.1636, allocations: 23.92 kB / 0.6672 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.298e-05/0.1637, allocations: 23.92 kB / 0.6672 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.852e-05/0.1638, allocations: 8 kB / 0.6672 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.369e-05/0.1639, allocations: 4 kB / 0.6672 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.977e-05/0.1639, allocations: 11.92 kB / 0.6672 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.1639, allocations: 8 kB / 0.6672 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.179e-05/0.164, allocations: 27.97 kB / 0.6673 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.164, allocations: 7.922 kB / 0.6673 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.1641, allocations: 11.94 kB / 0.6673 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.1642, allocations: 31.84 kB / 0.6673 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1642, allocations: 0 / 0.6673 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1642, allocations: 4 kB / 0.6673 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.1642, allocations: 0 / 0.6673 GB, free: 3.711 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.0004453/0.1647, allocations: 339.4 kB / 0.6676 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1647, allocations: 17.11 kB / 0.6677 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.1648, allocations: 0.9375 kB / 0.6677 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1649, allocations: 168.4 kB / 0.6678 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1649, allocations: 4.375 kB / 0.6678 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.1649, allocations: 384 / 0.6678 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1651, allocations: 53.98 kB / 0.6679 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1651, allocations: 0 / 0.6679 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1651, allocations: 0 / 0.6679 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1652, allocations: 0 / 0.6679 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.1653, allocations: 43.84 kB / 0.6679 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.1657, allocations: 252.9 kB / 0.6682 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.1658, allocations: 30.56 kB / 0.6682 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.287e-05/0.1659, allocations: 28.89 kB / 0.6682 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.1661, allocations: 81.11 kB / 0.6683 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1661, allocations: 34.56 kB / 0.6683 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1661, allocations: 0 / 0.6683 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003753/0.1665, allocations: 89.48 kB / 0.6684 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.1665, allocations: 51.41 kB / 0.6685 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.545e-05/0.1666, allocations: 106 kB / 0.6686 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.1666, allocations: 25.7 kB / 0.6686 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.1667, allocations: 88.14 kB / 0.6687 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.1667, allocations: 7.844 kB / 0.6687 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.1667, allocations: 13.72 kB / 0.6687 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1669, allocations: 318.8 kB / 0.669 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.462e-05/0.167, allocations: 11.98 kB / 0.669 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.827e-05/0.167, allocations: 23.98 kB / 0.669 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.1672, allocations: 40.7 kB / 0.6691 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1672, allocations: 0 / 0.6691 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002094/0.1674, allocations: 65.66 kB / 0.6691 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1675, allocations: 8 kB / 0.6691 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1675, allocations: 4.094 kB / 0.6691 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1675, allocations: 0 / 0.6691 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.846e-05/0.1676, allocations: 7.984 kB / 0.6692 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1676, allocations: 0 / 0.6692 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.169e-05/0.1677, allocations: 7.984 kB / 0.6692 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.1677, allocations: 7.938 kB / 0.6692 GB, free: 1.578 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 7.442e-05/0.1677, allocations: 113.8 kB / 0.6693 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.1678, allocations: 0 / 0.6693 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.168, allocations: 76.97 kB / 0.6694 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.168, allocations: 0 / 0.6694 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.168, allocations: 4 kB / 0.6694 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1681, allocations: 0 / 0.6694 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.1682, allocations: 169.6 kB / 0.6695 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1682, allocations: 0 / 0.6695 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.1683, allocations: 11.92 kB / 0.6695 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1683, allocations: 0 / 0.6695 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.1683, allocations: 8.016 kB / 0.6695 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1683, allocations: 4 kB / 0.6695 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1683, allocations: 0 / 0.6695 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.1686, allocations: 167.3 kB / 0.6697 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.1686, allocations: 81.11 kB / 0.6698 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.1686, allocations: 0 / 0.6698 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/0.1687, allocations: 12.02 kB / 0.6698 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.1688, allocations: 0 / 0.6698 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.1688, allocations: 4 kB / 0.6698 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.538e-05/0.1688, allocations: 79.28 kB / 0.6699 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1688, allocations: 0 / 0.6699 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002371/0.1691, allocations: 12 kB / 0.6699 GB, free: 0.7461 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.0001405/0.1692, allocations: 104.6 kB / 0.67 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.1694, allocations: 35.97 kB / 0.67 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1694, allocations: 0 / 0.67 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.842e-05/0.1695, allocations: 27.91 kB / 0.67 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.1698, allocations: 9.812 kB / 0.67 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002703/0.1701, allocations: 127.2 kB / 0.6702 GB, free: 416 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.1704, allocations: 0.6846 MB / 0.6708 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.1704, allocations: 7.438 kB / 0.6708 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.1704, allocations: 4 kB / 0.6708 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of Templates: time 0.002049/0.1725, allocations: 0.6568 MB / 0.6715 GB, free: 15.03 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)