Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.007472/0.007472, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001626/0.001626, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8209/0.8209, allocations: 132.2 MB / 422.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 63.03 kB / 0.5813 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2027, allocations: 80.22 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002967/0.2057, allocations: 1.489 MB / 0.6611 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.2069, allocations: 0.6435 MB / 0.6618 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.514e-05/0.207, allocations: 0 / 0.6618 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.721e-05/0.207, allocations: 7.922 kB / 0.6618 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.449e-05/0.2071, allocations: 3.938 kB / 0.6618 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.2075, allocations: 83.72 kB / 0.6619 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.515e-05/0.2076, allocations: 35.92 kB / 0.6619 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.2077, allocations: 12 kB / 0.6619 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.196e-05/0.2078, allocations: 15.92 kB / 0.6619 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.277e-05/0.2079, allocations: 19.91 kB / 0.6619 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.2079, allocations: 4 kB / 0.6619 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.2081, allocations: 99.84 kB / 0.662 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.2081, allocations: 7.938 kB / 0.662 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.2082, allocations: 19.86 kB / 0.6621 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.2084, allocations: 87.77 kB / 0.6621 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2084, allocations: 0 / 0.6621 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2084, allocations: 0 / 0.6621 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.2084, allocations: 0 / 0.6621 GB, free: 7.684 MB / 0.4981 GB 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.0004686/0.2089, allocations: 363.3 kB / 0.6625 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.209, allocations: 8.031 kB / 0.6625 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.209, allocations: 12.84 kB / 0.6625 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.2091, allocations: 164.3 kB / 0.6627 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.2092, allocations: 8.375 kB / 0.6627 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.2092, allocations: 384 / 0.6627 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.2094, allocations: 61.92 kB / 0.6627 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.2094, allocations: 0 / 0.6627 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.2094, allocations: 4 kB / 0.6627 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2094, allocations: 0 / 0.6627 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.621e-05/0.2095, allocations: 27.92 kB / 0.6628 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.2099, allocations: 280.7 kB / 0.663 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.756e-05/0.21, allocations: 38.5 kB / 0.6631 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.395e-05/0.2101, allocations: 12.92 kB / 0.6631 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004987/0.2106, allocations: 0.5583 MB / 0.6636 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.2106, allocations: 34.56 kB / 0.6637 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.763e-06/0.2106, allocations: 0 / 0.6637 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002692/0.2109, allocations: 69.61 kB / 0.6637 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.2109, allocations: 51.41 kB / 0.6638 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.651e-05/0.211, allocations: 121.8 kB / 0.6639 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.2111, allocations: 25.7 kB / 0.6639 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.2111, allocations: 96.25 kB / 0.664 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.2111, allocations: 7.906 kB / 0.664 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.2112, allocations: 9.719 kB / 0.664 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2113, allocations: 322.8 kB / 0.6643 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.263e-05/0.2113, allocations: 7.984 kB / 0.6643 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.292e-05/0.2114, allocations: 12 kB / 0.6644 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.595e-05/0.2115, allocations: 24.91 kB / 0.6644 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2115, allocations: 4 kB / 0.6644 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001261/0.2116, allocations: 61.52 kB / 0.6644 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2116, allocations: 8 kB / 0.6644 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2116, allocations: 0 / 0.6644 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2117, allocations: 0 / 0.6644 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.2117, allocations: 4 kB / 0.6644 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.2118, allocations: 0 / 0.6644 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/0.2118, allocations: 7.984 kB / 0.6645 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.2118, allocations: 0 / 0.6645 GB, free: 4.961 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.864e-05/0.2119, allocations: 118.7 kB / 0.6646 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.2119, allocations: 7.906 kB / 0.6646 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.2121, allocations: 65.2 kB / 0.6646 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2121, allocations: 0 / 0.6646 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2121, allocations: 0 / 0.6646 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.2122, allocations: 7.938 kB / 0.6646 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.2123, allocations: 169.5 kB / 0.6648 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2123, allocations: 0 / 0.6648 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.503e-05/0.2124, allocations: 16.02 kB / 0.6648 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2124, allocations: 0 / 0.6648 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-06/0.2124, allocations: 0 / 0.6648 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2124, allocations: 0 / 0.6648 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2124, allocations: 0 / 0.6648 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.2126, allocations: 151.5 kB / 0.665 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.2127, allocations: 85 kB / 0.665 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.2127, allocations: 4.031 kB / 0.6651 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.209e-05/0.2128, allocations: 4 kB / 0.6651 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.2128, allocations: 0 / 0.6651 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.2128, allocations: 0 / 0.6651 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.376e-05/0.2129, allocations: 101.9 kB / 0.6652 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2129, allocations: 0 / 0.6652 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002349/0.2131, allocations: 11.94 kB / 0.6652 GB, free: 4.129 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.0001661/0.2133, allocations: 107.2 kB / 0.6653 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.2135, allocations: 23.98 kB / 0.6653 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2135, allocations: 4 kB / 0.6653 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.2135, allocations: 8 kB / 0.6653 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.2137, allocations: 7.984 kB / 0.6653 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.2141, allocations: 134.5 kB / 0.6654 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.2144, allocations: 0.6885 MB / 0.6661 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.924e-05/0.2145, allocations: 3.984 kB / 0.6661 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.2145, allocations: 11.44 kB / 0.6661 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2145, allocations: 0 / 0.6661 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of Templates: time 0.002919/0.2174, allocations: 489.1 kB / 0.6666 GB, free: 2.605 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Splice.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)