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.0007792/0.0007792, allocations: 91.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009201/0.0009201, allocations: 180 kB / 16.92 MB, free: 6.652 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.316/1.316, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9075/0.9075, allocations: 135.3 MB / 427.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 12.88 kB / 0.5082 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1521, allocations: 82.31 MB / 0.5886 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001564/0.1537, allocations: 1.157 MB / 0.5897 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007279/0.1545, allocations: 452 kB / 0.5902 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.051e-05/0.1545, allocations: 0 / 0.5902 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.1546, allocations: 3.938 kB / 0.5902 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.239e-05/0.1546, allocations: 8 kB / 0.5902 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.1548, allocations: 19.98 kB / 0.5902 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.512e-05/0.1549, allocations: 27.86 kB / 0.5902 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.317e-05/0.1549, allocations: 4 kB / 0.5902 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.059e-05/0.155, allocations: 15.91 kB / 0.5902 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.284e-05/0.1551, allocations: 11.94 kB / 0.5903 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1551, allocations: 0 / 0.5903 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.645e-05/0.1552, allocations: 19.98 kB / 0.5903 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.769e-06/0.1552, allocations: 3.984 kB / 0.5903 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.1552, allocations: 37.64 kB / 0.5903 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.966e-05/0.1553, allocations: 19.95 kB / 0.5903 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1553, allocations: 0 / 0.5903 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1553, allocations: 0 / 0.5903 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.1553, allocations: 0 / 0.5903 GB, free: 0.8477 MB / 494.1 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.0003957/0.1557, allocations: 347.7 kB / 0.5907 GB, free: 472 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1558, allocations: 8.031 kB / 0.5907 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/0.1558, allocations: 4.938 kB / 0.5907 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.1559, allocations: 168.3 kB / 0.5908 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1559, allocations: 8.25 kB / 0.5909 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.1559, allocations: 4.359 kB / 0.5909 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.1561, allocations: 57.94 kB / 0.5909 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.1561, allocations: 0 / 0.5909 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.1561, allocations: 0 / 0.5909 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1562, allocations: 4 kB / 0.5909 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.1563, allocations: 47.95 kB / 0.591 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.1567, allocations: 252.9 kB / 0.5912 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.1568, allocations: 46.5 kB / 0.5912 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.16e-05/0.1569, allocations: 24.91 kB / 0.5913 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.157, allocations: 89.08 kB / 0.5914 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.1571, allocations: 38.56 kB / 0.5914 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1571, allocations: 0 / 0.5914 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000369/0.1574, allocations: 93.64 kB / 0.5915 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.1575, allocations: 59.47 kB / 0.5915 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.127e-05/0.1576, allocations: 101.9 kB / 0.5916 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.1576, allocations: 29.7 kB / 0.5917 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.052e-05/0.1576, allocations: 88.12 kB / 0.5917 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.1577, allocations: 3.906 kB / 0.5917 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.1577, allocations: 9.719 kB / 0.5918 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1578, allocations: 318.8 kB / 0.5921 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.916e-05/0.1579, allocations: 19.98 kB / 0.5921 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-05/0.158, allocations: 27.97 kB / 0.5921 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.1582, allocations: 52.83 kB / 0.5922 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1582, allocations: 0 / 0.5922 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002116/0.1584, allocations: 73.66 kB / 0.5922 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1584, allocations: 11.97 kB / 0.5922 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1584, allocations: 4 kB / 0.5922 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1584, allocations: 0 / 0.5922 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-05/0.1585, allocations: 11.98 kB / 0.5923 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1586, allocations: 0 / 0.5923 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/0.1586, allocations: 11.94 kB / 0.5923 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.1586, allocations: 0 / 0.5923 GB, free: 14.63 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 6.952e-05/0.1587, allocations: 121.8 kB / 0.5924 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.1587, allocations: 7.906 kB / 0.5924 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.159, allocations: 76.78 kB / 0.5925 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.159, allocations: 0 / 0.5925 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.159, allocations: 3.938 kB / 0.5925 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.159, allocations: 4.031 kB / 0.5925 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.1592, allocations: 161.6 kB / 0.5926 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1592, allocations: 3.984 kB / 0.5926 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.1592, allocations: 11.94 kB / 0.5926 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1592, allocations: 3.938 kB / 0.5926 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.1592, allocations: 4 kB / 0.5926 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1593, allocations: 0 / 0.5926 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1593, allocations: 0 / 0.5926 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.1595, allocations: 171.5 kB / 0.5928 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.1596, allocations: 85.09 kB / 0.5929 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.1596, allocations: 4 kB / 0.5929 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-05/0.1597, allocations: 8.031 kB / 0.5929 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.1597, allocations: 7.984 kB / 0.5929 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.1597, allocations: 0 / 0.5929 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.1598, allocations: 79.53 kB / 0.593 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1598, allocations: 0 / 0.593 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002236/0.16, allocations: 8 kB / 0.593 GB, free: 13.78 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.0001527/0.1601, allocations: 103.2 kB / 0.5931 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.1604, allocations: 55.89 kB / 0.5931 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1604, allocations: 0 / 0.5931 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.023e-05/0.1605, allocations: 19.98 kB / 0.5932 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.1608, allocations: 20.05 kB / 0.5932 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.161, allocations: 138.3 kB / 0.5933 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.1613, allocations: 0.677 MB / 0.594 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.1613, allocations: 11.38 kB / 0.594 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1613, allocations: 0 / 0.594 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.001933/0.1633, allocations: 0.6514 MB / 0.5946 GB, free: 12.05 MB / 0.4981 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)