Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.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.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008822/0.0008822, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0008434/0.0008435, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8441/0.8441, allocations: 135.2 MB / 426.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 8.969 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1632, allocations: 82.31 MB / 0.5872 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.001402/0.1646, allocations: 1.191 MB / 0.5884 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008076/0.1654, allocations: 0.5818 MB / 0.5889 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/0.1655, allocations: 3.938 kB / 0.5889 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.1655, allocations: 7.984 kB / 0.5889 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.493e-05/0.1656, allocations: 7.984 kB / 0.5889 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.1658, allocations: 47.83 kB / 0.589 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.406e-05/0.1659, allocations: 23.91 kB / 0.589 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.551e-05/0.1659, allocations: 19.97 kB / 0.589 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.098e-05/0.166, allocations: 7.938 kB / 0.589 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.491e-05/0.1661, allocations: 19.92 kB / 0.5891 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.366e-06/0.1661, allocations: 0 / 0.5891 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.1662, allocations: 83.89 kB / 0.5891 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.677e-06/0.1662, allocations: 8 kB / 0.5892 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.1663, allocations: 29.64 kB / 0.5892 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.1664, allocations: 59.91 kB / 0.5892 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.1664, allocations: 0 / 0.5892 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1664, allocations: 0 / 0.5892 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1664, allocations: 4 kB / 0.5892 GB, free: 0.9844 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003915/0.1668, allocations: 355.5 kB / 0.5896 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1668, allocations: 8.031 kB / 0.5896 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.1669, allocations: 11.89 kB / 0.5896 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.167, allocations: 175 kB / 0.5898 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.167, allocations: 0 / 0.5898 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.167, allocations: 4 kB / 0.5898 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.1672, allocations: 53.69 kB / 0.5898 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1672, allocations: 3.984 kB / 0.5898 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1672, allocations: 4 kB / 0.5898 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1672, allocations: 0 / 0.5898 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.842e-05/0.1673, allocations: 31.92 kB / 0.5899 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.1677, allocations: 280.8 kB / 0.5901 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.745e-05/0.1678, allocations: 38.56 kB / 0.5902 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004346/0.1682, allocations: 0.5544 MB / 0.5907 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.1683, allocations: 34.56 kB / 0.5907 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1683, allocations: 0 / 0.5907 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002348/0.1685, allocations: 77.58 kB / 0.5908 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.1686, allocations: 51.41 kB / 0.5909 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.1687, allocations: 121.8 kB / 0.591 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.1687, allocations: 25.7 kB / 0.591 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.1687, allocations: 92.12 kB / 0.5911 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.1687, allocations: 15.84 kB / 0.5911 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.1688, allocations: 4.125 kB / 0.5911 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1689, allocations: 310.8 kB / 0.5914 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.656e-05/0.1689, allocations: 15.98 kB / 0.5914 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.154e-05/0.169, allocations: 11.94 kB / 0.5914 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.203e-05/0.169, allocations: 19.92 kB / 0.5914 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.169, allocations: 0 / 0.5914 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001092/0.1691, allocations: 57.75 kB / 0.5915 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1692, allocations: 10.03 kB / 0.5915 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1692, allocations: 0 / 0.5915 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1692, allocations: 0 / 0.5915 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.807e-05/0.1693, allocations: 7.984 kB / 0.5915 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1693, allocations: 3.938 kB / 0.5915 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.633e-05/0.1693, allocations: 11.86 kB / 0.5915 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.1693, allocations: 4.031 kB / 0.5915 GB, free: 14.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.947e-05/0.1694, allocations: 113.8 kB / 0.5916 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.1694, allocations: 0 / 0.5916 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.1696, allocations: 69.14 kB / 0.5917 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1696, allocations: 0 / 0.5917 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1696, allocations: 0 / 0.5917 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1696, allocations: 4.031 kB / 0.5917 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.1698, allocations: 169.6 kB / 0.5919 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1698, allocations: 0 / 0.5919 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.137e-05/0.1698, allocations: 7.984 kB / 0.5919 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1698, allocations: 0 / 0.5919 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1698, allocations: 4 kB / 0.5919 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1698, allocations: 4 kB / 0.5919 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1698, allocations: 0 / 0.5919 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.17, allocations: 167.3 kB / 0.5921 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.1701, allocations: 85.02 kB / 0.5921 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.1701, allocations: 0 / 0.5921 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/0.1701, allocations: 4 kB / 0.5921 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.1702, allocations: 7.969 kB / 0.5921 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.1702, allocations: 0 / 0.5921 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.428e-05/0.1702, allocations: 100.6 kB / 0.5922 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1702, allocations: 4.031 kB / 0.5922 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002081/0.1705, allocations: 8 kB / 0.5923 GB, free: 13.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001421/0.1706, allocations: 99.25 kB / 0.5923 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.1707, allocations: 23.98 kB / 0.5924 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1707, allocations: 0 / 0.5924 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.748e-05/0.1708, allocations: 23.98 kB / 0.5924 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.1709, allocations: 11.95 kB / 0.5924 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002524/0.1712, allocations: 144.6 kB / 0.5925 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.1714, allocations: 0.6848 MB / 0.5932 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.31e-05/0.1715, allocations: 8.062 kB / 0.5932 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.504e-05/0.1715, allocations: 11.38 kB / 0.5932 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1715, allocations: 0 / 0.5932 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.002099/0.1736, allocations: 434.4 kB / 0.5936 GB, free: 11.97 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) Environment - environmentSimulation: