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.001041/0.00104, allocations: 100.1 kB / 15.88 MB, free: 8 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.001077/0.001078, allocations: 197.4 kB / 16.79 MB, free: 6.828 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.344/1.344, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.923/0.923, allocations: 135.1 MB / 425.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.47 kB / 0.5053 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1633, allocations: 80.92 MB / 0.5843 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002629/0.1659, allocations: 1.547 MB / 0.5859 GB, free: 3.465 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.167, allocations: 0.6476 MB / 0.5865 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.782e-05/0.167, allocations: 3.938 kB / 0.5865 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.766e-05/0.1671, allocations: 3.984 kB / 0.5865 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.816e-05/0.1671, allocations: 3.938 kB / 0.5865 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.1674, allocations: 55.89 kB / 0.5865 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.64e-05/0.1675, allocations: 35.8 kB / 0.5866 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1676, allocations: 23.97 kB / 0.5866 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.103e-05/0.1677, allocations: 11.94 kB / 0.5866 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.1677, allocations: 19.92 kB / 0.5866 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.1677, allocations: 0 / 0.5866 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.1679, allocations: 95.89 kB / 0.5867 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.168, allocations: 7.922 kB / 0.5867 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.168, allocations: 11.94 kB / 0.5867 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.1681, allocations: 55.92 kB / 0.5868 GB, free: 2.484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1681, allocations: 8 kB / 0.5868 GB, free: 2.477 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1681, allocations: 0 / 0.5868 GB, free: 2.477 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.1681, allocations: 0 / 0.5868 GB, free: 2.477 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.0004572/0.1686, allocations: 363.6 kB / 0.5872 GB, free: 2.074 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1687, allocations: 12.03 kB / 0.5872 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.1687, allocations: 0.9375 kB / 0.5872 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.1688, allocations: 176.2 kB / 0.5873 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1688, allocations: 4.375 kB / 0.5873 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.1689, allocations: 8.312 kB / 0.5873 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.169, allocations: 58 kB / 0.5874 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.169, allocations: 0 / 0.5874 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.169, allocations: 0 / 0.5874 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1691, allocations: 4 kB / 0.5874 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.019e-05/0.1692, allocations: 23.97 kB / 0.5874 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.1695, allocations: 284.7 kB / 0.5877 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.575e-05/0.1696, allocations: 30.58 kB / 0.5877 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.895e-05/0.1697, allocations: 20.91 kB / 0.5878 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004844/0.1702, allocations: 0.5544 MB / 0.5883 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.1702, allocations: 30.56 kB / 0.5883 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1702, allocations: 0 / 0.5883 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002394/0.1705, allocations: 69.61 kB / 0.5884 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.1705, allocations: 55.41 kB / 0.5884 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.404e-05/0.1706, allocations: 125.3 kB / 0.5886 GB, free: 376 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1706, allocations: 25.7 kB / 0.5886 GB, free: 344 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.1707, allocations: 88.05 kB / 0.5887 GB, free: 252 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.1707, allocations: 11.94 kB / 0.5887 GB, free: 240 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.1707, allocations: 9.719 kB / 0.5887 GB, free: 224 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1709, allocations: 330.9 kB / 0.589 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.194e-05/0.1709, allocations: 4 kB / 0.589 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.776e-05/0.171, allocations: 15.92 kB / 0.589 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.74e-05/0.171, allocations: 28.84 kB / 0.5891 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1711, allocations: 0 / 0.5891 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001279/0.1712, allocations: 57.53 kB / 0.5891 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1712, allocations: 8.094 kB / 0.5891 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1712, allocations: 0 / 0.5891 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1712, allocations: 4 kB / 0.5891 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.073e-05/0.1713, allocations: 11.92 kB / 0.5891 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1713, allocations: 0 / 0.5891 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.216e-05/0.1714, allocations: 0 / 0.5891 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1714, allocations: 4 kB / 0.5891 GB, free: 15.75 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.691e-05/0.1714, allocations: 113.8 kB / 0.5892 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.1715, allocations: 7.906 kB / 0.5892 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.1717, allocations: 65.14 kB / 0.5893 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1717, allocations: 3.984 kB / 0.5893 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1717, allocations: 0 / 0.5893 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.1717, allocations: 0 / 0.5893 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.1718, allocations: 169.6 kB / 0.5895 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1719, allocations: 3.984 kB / 0.5895 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.143e-05/0.1719, allocations: 4 kB / 0.5895 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.1719, allocations: 8 kB / 0.5895 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1719, allocations: 0 / 0.5895 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1719, allocations: 4.031 kB / 0.5895 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1719, allocations: 0 / 0.5895 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.1721, allocations: 155.4 kB / 0.5896 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.1721, allocations: 81.11 kB / 0.5897 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.1722, allocations: 0 / 0.5897 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.093e-05/0.1722, allocations: 0 / 0.5897 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.1723, allocations: 12.02 kB / 0.5897 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1723, allocations: 0 / 0.5897 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.213e-05/0.1723, allocations: 103.2 kB / 0.5898 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1723, allocations: 0 / 0.5898 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002243/0.1726, allocations: 11.94 kB / 0.5898 GB, free: 14.91 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.0001533/0.1727, allocations: 99.25 kB / 0.5899 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.1729, allocations: 19.98 kB / 0.59 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.1729, allocations: 4.062 kB / 0.59 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.574e-05/0.1729, allocations: 15.98 kB / 0.59 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.1731, allocations: 4 kB / 0.59 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.1735, allocations: 173.9 kB / 0.5901 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.1737, allocations: 0.6849 MB / 0.5908 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.1738, allocations: 23.38 kB / 0.5908 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1738, allocations: 0 / 0.5908 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of Templates: time 0.001933/0.1757, allocations: 0.7015 MB / 0.5915 GB, free: 13.13 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)