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.001247/0.001247, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001253/0.001253, allocations: 193.3 kB / 16.25 MB, free: 6.641 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.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9627/0.9627, allocations: 135.6 MB / 425.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 62.17 kB / 0.5054 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.166, allocations: 81.02 MB / 0.5845 GB, free: 4.363 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.00314/0.1692, allocations: 1.543 MB / 0.586 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1704, allocations: 0.6281 MB / 0.5866 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.1704, allocations: 0 / 0.5866 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.272e-05/0.1705, allocations: 7.875 kB / 0.5866 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.728e-05/0.1705, allocations: 4 kB / 0.5866 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.1709, allocations: 75.8 kB / 0.5867 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.126e-05/0.171, allocations: 31.86 kB / 0.5867 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.1711, allocations: 12 kB / 0.5867 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.909e-05/0.1712, allocations: 19.92 kB / 0.5868 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.152e-05/0.1712, allocations: 23.91 kB / 0.5868 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.258e-06/0.1713, allocations: 0 / 0.5868 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.1714, allocations: 95.91 kB / 0.5869 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.1715, allocations: 11.94 kB / 0.5869 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.753e-05/0.1715, allocations: 19.92 kB / 0.5869 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.1716, allocations: 79.77 kB / 0.587 GB, free: 1.789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1717, allocations: 0 / 0.587 GB, free: 1.789 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1717, allocations: 3.938 kB / 0.587 GB, free: 1.785 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1717, allocations: 0 / 0.587 GB, free: 1.785 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.0004627/0.1721, allocations: 367.6 kB / 0.5873 GB, free: 1.379 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1722, allocations: 12.03 kB / 0.5873 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.1722, allocations: 4.938 kB / 0.5874 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.1724, allocations: 172.2 kB / 0.5875 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1724, allocations: 384 / 0.5875 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.1724, allocations: 384 / 0.5875 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1726, allocations: 61.98 kB / 0.5876 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.1726, allocations: 3.984 kB / 0.5876 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.515e-06/0.1726, allocations: 0 / 0.5876 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1726, allocations: 0 / 0.5876 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1727, allocations: 35.92 kB / 0.5876 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.1732, allocations: 280.7 kB / 0.5879 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.527e-05/0.1733, allocations: 30.56 kB / 0.5879 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.742e-05/0.1734, allocations: 12.91 kB / 0.5879 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006554/0.174, allocations: 0.5622 MB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.1741, allocations: 38.5 kB / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1741, allocations: 0 / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002471/0.1743, allocations: 69.58 kB / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.1744, allocations: 51.41 kB / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.1745, allocations: 121.6 kB / 0.5887 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1745, allocations: 29.7 kB / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.1746, allocations: 92.12 kB / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.1747, allocations: 7.844 kB / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.1747, allocations: 17.72 kB / 0.5889 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.1749, allocations: 314.8 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-05/0.1749, allocations: 15.92 kB / 0.5892 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.721e-05/0.175, allocations: 11.94 kB / 0.5892 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.852e-05/0.1751, allocations: 32.84 kB / 0.5892 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1751, allocations: 0 / 0.5892 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001947/0.1753, allocations: 57.67 kB / 0.5893 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1753, allocations: 10.66 kB / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1753, allocations: 0 / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1753, allocations: 0 / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.309e-05/0.1754, allocations: 4 kB / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.1754, allocations: 0 / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.488e-05/0.1754, allocations: 12.02 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.1754, allocations: 0 / 0.5893 GB, free: 15.05 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.981e-05/0.1755, allocations: 113.8 kB / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.1756, allocations: 7.844 kB / 0.5894 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.1757, allocations: 61.2 kB / 0.5895 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1757, allocations: 4 kB / 0.5895 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1757, allocations: 0 / 0.5895 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1758, allocations: 4.031 kB / 0.5895 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.1759, allocations: 169.6 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.176, allocations: 0 / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.176, allocations: 7.984 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.176, allocations: 0 / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.176, allocations: 0 / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.176, allocations: 0 / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.176, allocations: 0 / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.1762, allocations: 163.3 kB / 0.5898 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.1763, allocations: 81.09 kB / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.1763, allocations: 0 / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.113e-05/0.1764, allocations: 4 kB / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.1764, allocations: 0 / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.1764, allocations: 4 kB / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.25e-05/0.1765, allocations: 95.27 kB / 0.59 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.898e-06/0.1765, allocations: 0 / 0.59 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002293/0.1767, allocations: 23.88 kB / 0.59 GB, free: 14.22 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.0001754/0.1769, allocations: 107.3 kB / 0.5901 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.177, allocations: 23.98 kB / 0.5902 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1771, allocations: 3.938 kB / 0.5902 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.654e-05/0.1771, allocations: 11.98 kB / 0.5902 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.1773, allocations: 4 kB / 0.5902 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.1776, allocations: 158.4 kB / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.1781, allocations: 0.6807 MB / 0.591 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.204e-05/0.1781, allocations: 0 / 0.591 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.1781, allocations: 19.36 kB / 0.591 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1781, allocations: 0 / 0.591 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.002693/0.1808, allocations: 463.1 kB / 0.5914 GB, free: 12.71 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)