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.001305/0.001305, allocations: 108 kB / 15.61 MB, free: 152 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.001553/0.001553, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001665, allocations: 64.33 kB / 0.5053 GB, free: 5.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1695, allocations: 80.93 MB / 0.5844 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002791/0.1724, allocations: 1.487 MB / 0.5858 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1734, allocations: 0.6297 MB / 0.5864 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.1735, allocations: 0 / 0.5864 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.1735, allocations: 7.938 kB / 0.5864 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.743e-05/0.1736, allocations: 7.922 kB / 0.5865 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.174, allocations: 75.73 kB / 0.5865 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.826e-05/0.1741, allocations: 43.8 kB / 0.5866 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.429e-05/0.1742, allocations: 15.98 kB / 0.5866 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.297e-05/0.1742, allocations: 15.94 kB / 0.5866 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.657e-05/0.1743, allocations: 15.92 kB / 0.5866 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.1743, allocations: 4 kB / 0.5866 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.1745, allocations: 95.89 kB / 0.5867 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.1745, allocations: 11.92 kB / 0.5867 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.949e-05/0.1746, allocations: 11.94 kB / 0.5867 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.1748, allocations: 87.77 kB / 0.5868 GB, free: 2.027 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1748, allocations: 4 kB / 0.5868 GB, free: 2.023 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1748, allocations: 0 / 0.5868 GB, free: 2.023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1748, allocations: 0 / 0.5868 GB, free: 2.023 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.0004252/0.1752, allocations: 359.6 kB / 0.5872 GB, free: 1.625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1753, allocations: 12.03 kB / 0.5872 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.1753, allocations: 0.9375 kB / 0.5872 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.1754, allocations: 176.2 kB / 0.5873 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.1755, allocations: 4.375 kB / 0.5873 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.1755, allocations: 8.312 kB / 0.5874 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.1756, allocations: 58 kB / 0.5874 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.1757, allocations: 3.938 kB / 0.5874 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.1757, allocations: 0 / 0.5874 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1757, allocations: 4 kB / 0.5874 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.383e-05/0.1758, allocations: 23.97 kB / 0.5874 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.1762, allocations: 280.7 kB / 0.5877 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.393e-05/0.1763, allocations: 34.56 kB / 0.5877 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.1763, allocations: 16.92 kB / 0.5878 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004527/0.1768, allocations: 0.5545 MB / 0.5883 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.1768, allocations: 34.56 kB / 0.5883 GB, free: 188 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1768, allocations: 0 / 0.5883 GB, free: 188 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002398/0.1771, allocations: 73.52 kB / 0.5884 GB, free: 108 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.1771, allocations: 51.41 kB / 0.5884 GB, free: 44 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.939e-05/0.1772, allocations: 125.8 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1772, allocations: 25.7 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.1773, allocations: 88.14 kB / 0.5887 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.1773, allocations: 7.844 kB / 0.5887 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.1773, allocations: 17.66 kB / 0.5887 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1774, allocations: 330.9 kB / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.223e-05/0.1775, allocations: 8 kB / 0.589 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.758e-05/0.1775, allocations: 11.98 kB / 0.589 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.969e-05/0.1776, allocations: 28.84 kB / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1776, allocations: 4 kB / 0.5891 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001291/0.1778, allocations: 53.72 kB / 0.5891 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1778, allocations: 8 kB / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1778, allocations: 0 / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1778, allocations: 0 / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.47e-05/0.1779, allocations: 11.98 kB / 0.5891 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1779, allocations: 0 / 0.5891 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.1779, allocations: 0 / 0.5891 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.178, allocations: 0 / 0.5891 GB, free: 15.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.275e-05/0.178, allocations: 117.8 kB / 0.5892 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.1781, allocations: 11.89 kB / 0.5893 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.1782, allocations: 69.14 kB / 0.5893 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1782, allocations: 0 / 0.5893 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1783, allocations: 3.984 kB / 0.5893 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1783, allocations: 0 / 0.5893 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.1784, allocations: 165.6 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1784, allocations: 0 / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.1785, allocations: 4 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1785, allocations: 0 / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1785, allocations: 4.031 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1785, allocations: 4 kB / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1785, allocations: 3.938 kB / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.1787, allocations: 155.4 kB / 0.5897 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.1787, allocations: 81.11 kB / 0.5897 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.1787, allocations: 0 / 0.5897 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.023e-05/0.1788, allocations: 0 / 0.5897 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.1788, allocations: 12.02 kB / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.1788, allocations: 0 / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.195e-05/0.1789, allocations: 110.9 kB / 0.5898 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1789, allocations: 0 / 0.5898 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002254/0.1791, allocations: 11.94 kB / 0.5899 GB, free: 14.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 (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.0001351/0.1793, allocations: 99.25 kB / 0.59 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.1794, allocations: 19.98 kB / 0.59 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1794, allocations: 4.062 kB / 0.59 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.102e-05/0.1795, allocations: 15.98 kB / 0.59 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.1797, allocations: 4 kB / 0.59 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/0.18, allocations: 150.4 kB / 0.5901 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.1803, allocations: 0.6885 MB / 0.5908 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.439e-05/0.1803, allocations: 4 kB / 0.5908 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.989e-05/0.1803, allocations: 11.44 kB / 0.5908 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1803, allocations: 0 / 0.5908 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.002422/0.1828, allocations: 488 kB / 0.5913 GB, free: 12.93 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.makefile (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)