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.00885/0.00885, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001887/0.001887, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.465/1.465, allocations: 222.9 MB / 240.4 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.8229/0.8229, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 58.94 kB / 0.5856 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1652, allocations: 80.93 MB / 0.6646 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.00296/0.1682, allocations: 1.433 MB / 0.666 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009018/0.1692, allocations: 467.7 kB / 0.6665 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.1692, allocations: 4 kB / 0.6665 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.103e-05/0.1693, allocations: 11.92 kB / 0.6665 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.817e-05/0.1694, allocations: 3.938 kB / 0.6665 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.1697, allocations: 27.91 kB / 0.6665 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.523e-05/0.1698, allocations: 19.98 kB / 0.6666 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1699, allocations: 4 kB / 0.6666 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.506e-05/0.17, allocations: 11.94 kB / 0.6666 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.464e-05/0.1701, allocations: 15.92 kB / 0.6666 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.1701, allocations: 0 / 0.6666 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.413e-05/0.1702, allocations: 27.92 kB / 0.6666 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.1702, allocations: 11.97 kB / 0.6666 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.1703, allocations: 11.94 kB / 0.6666 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.1704, allocations: 27.91 kB / 0.6667 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1704, allocations: 0 / 0.6667 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1704, allocations: 0 / 0.6667 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.1704, allocations: 0 / 0.6667 GB, free: 3.676 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.000542/0.171, allocations: 347.3 kB / 0.667 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.171, allocations: 13.09 kB / 0.667 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.1711, allocations: 4.922 kB / 0.667 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.1712, allocations: 168.4 kB / 0.6672 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1713, allocations: 384 / 0.6672 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.1713, allocations: 384 / 0.6672 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.1715, allocations: 53.98 kB / 0.6672 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1715, allocations: 0 / 0.6672 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1715, allocations: 3.938 kB / 0.6672 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1715, allocations: 4 kB / 0.6672 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.1717, allocations: 39.95 kB / 0.6673 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.1721, allocations: 252.9 kB / 0.6675 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.1722, allocations: 38.56 kB / 0.6675 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.221e-05/0.1723, allocations: 20.89 kB / 0.6676 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/0.1725, allocations: 85.09 kB / 0.6676 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.1725, allocations: 38.56 kB / 0.6677 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1725, allocations: 0 / 0.6677 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003805/0.1729, allocations: 85.48 kB / 0.6678 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.173, allocations: 51.41 kB / 0.6678 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.966e-05/0.1731, allocations: 105.8 kB / 0.6679 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1731, allocations: 25.83 kB / 0.6679 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.1731, allocations: 88.14 kB / 0.668 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.1732, allocations: 7.844 kB / 0.668 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.1732, allocations: 13.72 kB / 0.668 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1733, allocations: 318.8 kB / 0.6683 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.678e-05/0.1734, allocations: 15.98 kB / 0.6684 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.907e-05/0.1735, allocations: 15.98 kB / 0.6684 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.1737, allocations: 48.81 kB / 0.6684 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1737, allocations: 0 / 0.6684 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002123/0.1739, allocations: 65.61 kB / 0.6685 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1739, allocations: 4 kB / 0.6685 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1739, allocations: 0 / 0.6685 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.174, allocations: 0 / 0.6685 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.58e-05/0.1741, allocations: 16.02 kB / 0.6685 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1741, allocations: 0 / 0.6685 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.605e-05/0.1741, allocations: 15.92 kB / 0.6685 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1741, allocations: 0 / 0.6685 GB, free: 1.527 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.607e-05/0.1742, allocations: 109.8 kB / 0.6686 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.1743, allocations: 4 kB / 0.6686 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.1745, allocations: 76.72 kB / 0.6687 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1745, allocations: 4 kB / 0.6687 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1745, allocations: 0 / 0.6687 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1746, allocations: 3.984 kB / 0.6687 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.1747, allocations: 161.5 kB / 0.6689 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1747, allocations: 0 / 0.6689 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.954e-05/0.1748, allocations: 11.98 kB / 0.6689 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1748, allocations: 0 / 0.6689 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.1748, allocations: 256 / 0.6689 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1748, allocations: 0 / 0.6689 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1748, allocations: 8.031 kB / 0.6689 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.1751, allocations: 167.4 kB / 0.669 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.1752, allocations: 77.11 kB / 0.6691 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.1752, allocations: 4 kB / 0.6691 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/0.1753, allocations: 3.984 kB / 0.6691 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.1753, allocations: 11.97 kB / 0.6691 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1753, allocations: 0 / 0.6691 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.158e-05/0.1754, allocations: 87.27 kB / 0.6692 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1754, allocations: 0 / 0.6692 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002442/0.1756, allocations: 8 kB / 0.6692 GB, free: 0.6992 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.0001747/0.1758, allocations: 104.6 kB / 0.6693 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.176, allocations: 35.95 kB / 0.6694 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1761, allocations: 4.062 kB / 0.6694 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.85e-05/0.1762, allocations: 19.98 kB / 0.6694 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.1765, allocations: 9.969 kB / 0.6694 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.1768, allocations: 109.4 kB / 0.6695 GB, free: 396 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.1771, allocations: 0.6806 MB / 0.6702 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.031e-05/0.1771, allocations: 4.062 kB / 0.6702 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.1772, allocations: 11.44 kB / 0.6702 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.1772, allocations: 0 / 0.6702 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.002855/0.18, allocations: 0.56 MB / 0.6707 GB, free: 15.11 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)