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.001253/0.001253, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00136/0.00136, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.352/1.352, allocations: 222.9 MB / 239.8 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.9992/0.9992, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 60.09 kB / 0.5047 GB, free: 5.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1794, allocations: 80.93 MB / 0.5837 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002666/0.1821, allocations: 1.551 MB / 0.5852 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009974/0.1831, allocations: 0.6399 MB / 0.5858 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.1832, allocations: 4 kB / 0.5858 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.1832, allocations: 11.88 kB / 0.5859 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.403e-05/0.1833, allocations: 3.938 kB / 0.5859 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.1835, allocations: 55.81 kB / 0.5859 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.088e-05/0.1836, allocations: 31.92 kB / 0.5859 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.295e-05/0.1837, allocations: 15.98 kB / 0.586 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.983e-05/0.1838, allocations: 19.92 kB / 0.586 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.1839, allocations: 15.92 kB / 0.586 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.1839, allocations: 0 / 0.586 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.184, allocations: 95.89 kB / 0.5861 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.1841, allocations: 7.938 kB / 0.5861 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.1841, allocations: 11.94 kB / 0.5861 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.1843, allocations: 83.77 kB / 0.5862 GB, free: 2.426 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1843, allocations: 0 / 0.5862 GB, free: 2.426 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1843, allocations: 0 / 0.5862 GB, free: 2.426 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.1843, allocations: 3.938 kB / 0.5862 GB, free: 2.422 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.0004296/0.1847, allocations: 371.6 kB / 0.5865 GB, free: 2.012 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1848, allocations: 12.03 kB / 0.5866 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.1848, allocations: 0.9375 kB / 0.5866 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1849, allocations: 176.2 kB / 0.5867 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1849, allocations: 384 / 0.5867 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.185, allocations: 8.375 kB / 0.5867 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1851, allocations: 53.98 kB / 0.5868 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1851, allocations: 0 / 0.5868 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1851, allocations: 4 kB / 0.5868 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1851, allocations: 8 kB / 0.5868 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.921e-05/0.1852, allocations: 27.92 kB / 0.5868 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.1856, allocations: 276.8 kB / 0.5871 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.385e-05/0.1857, allocations: 30.56 kB / 0.5871 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.494e-05/0.1857, allocations: 16.92 kB / 0.5871 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004378/0.1862, allocations: 0.5622 MB / 0.5877 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1862, allocations: 34.5 kB / 0.5877 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1862, allocations: 0 / 0.5877 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002283/0.1865, allocations: 65.58 kB / 0.5878 GB, free: 0.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.1865, allocations: 59.53 kB / 0.5878 GB, free: 440 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.707e-05/0.1866, allocations: 117.8 kB / 0.5879 GB, free: 312 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.1866, allocations: 29.64 kB / 0.588 GB, free: 276 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.1867, allocations: 84.14 kB / 0.5881 GB, free: 188 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.1867, allocations: 19.83 kB / 0.5881 GB, free: 168 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.1867, allocations: 9.719 kB / 0.5881 GB, free: 152 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1868, allocations: 318.8 kB / 0.5884 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.343e-05/0.1869, allocations: 11.98 kB / 0.5884 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.39e-05/0.1869, allocations: 8 kB / 0.5884 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.487e-05/0.187, allocations: 36.78 kB / 0.5884 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.187, allocations: 3.938 kB / 0.5884 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001123/0.1871, allocations: 53.67 kB / 0.5885 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1872, allocations: 4 kB / 0.5885 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1872, allocations: 0 / 0.5885 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1872, allocations: 4 kB / 0.5885 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.799e-05/0.1873, allocations: 8.094 kB / 0.5885 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1873, allocations: 0 / 0.5885 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.341e-05/0.1873, allocations: 3.984 kB / 0.5885 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1873, allocations: 4 kB / 0.5885 GB, free: 15.68 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 8.133e-05/0.1874, allocations: 109.8 kB / 0.5886 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.1874, allocations: 11.91 kB / 0.5886 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.1876, allocations: 61.14 kB / 0.5887 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.1876, allocations: 4.031 kB / 0.5887 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1876, allocations: 0 / 0.5887 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1876, allocations: 0 / 0.5887 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.1878, allocations: 169.6 kB / 0.5889 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1878, allocations: 0 / 0.5889 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/0.1878, allocations: 4 kB / 0.5889 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1878, allocations: 3.984 kB / 0.5889 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.1879, allocations: 4 kB / 0.5889 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.1879, allocations: 0 / 0.5889 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1879, allocations: 0 / 0.5889 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.188, allocations: 159.3 kB / 0.589 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.1881, allocations: 85.09 kB / 0.5891 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.1881, allocations: 4 kB / 0.5891 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.108e-05/0.1882, allocations: 3.984 kB / 0.5891 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.1882, allocations: 4 kB / 0.5891 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.1882, allocations: 0 / 0.5891 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.656e-05/0.1883, allocations: 106.7 kB / 0.5892 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1883, allocations: 4.031 kB / 0.5892 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000219/0.1885, allocations: 11.94 kB / 0.5892 GB, free: 14.85 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.0001616/0.1887, allocations: 107.3 kB / 0.5893 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.1888, allocations: 19.98 kB / 0.5893 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1888, allocations: 0 / 0.5893 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.479e-05/0.1889, allocations: 11.94 kB / 0.5894 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.1891, allocations: 12.11 kB / 0.5894 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.1894, allocations: 144.4 kB / 0.5895 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.1897, allocations: 0.6848 MB / 0.5902 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.35e-05/0.1897, allocations: 4 kB / 0.5902 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/0.1897, allocations: 7.438 kB / 0.5902 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1897, allocations: 7.938 kB / 0.5902 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.002336/0.1921, allocations: 450.5 kB / 0.5906 GB, free: 13.36 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)