Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.079/1.079, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.9834/0.9834, allocations: 154.6 MB / 414.8 MB, free: 0.5039 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 480.1 MB, free: 6.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.578e-05, allocations: 3.297 kB / 480.1 MB, free: 6.816 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001158/0.001173, allocations: 0.6369 MB / 480.7 MB, free: 6.211 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.002552, allocations: 1.327 MB / 482.1 MB, free: 4.879 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.309e-05/0.002565, allocations: 0 / 482.1 MB, free: 4.879 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.198e-05/0.002577, allocations: 0 / 482.1 MB, free: 4.879 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.659e-06/0.002582, allocations: 4 kB / 482.1 MB, free: 4.875 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.002849, allocations: 58.12 kB / 482.1 MB, free: 4.82 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.097e-05/0.00289, allocations: 4 kB / 482.1 MB, free: 4.816 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.002926, allocations: 9.938 kB / 482.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.132e-05/0.002957, allocations: 4 kB / 482.1 MB, free: 4.809 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.002997, allocations: 0 / 482.1 MB, free: 4.809 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.003007, allocations: 4.719 kB / 482.2 MB, free: 4.805 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.003261, allocations: 116.3 kB / 482.3 MB, free: 4.691 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.076e-06/0.003269, allocations: 1.078 kB / 482.3 MB, free: 4.691 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.059e-05/0.00328, allocations: 0.6562 kB / 482.3 MB, free: 4.691 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.003397, allocations: 76.56 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003399, allocations: 0.625 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.003399, allocations: 0 / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.003403, allocations: 0.5938 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004714/0.003875, allocations: 227.1 kB / 482.6 MB, free: 4.375 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.003905, allocations: 8.031 kB / 482.6 MB, free: 4.367 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.909e-05/0.003924, allocations: 5.562 kB / 482.6 MB, free: 4.363 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.179e-05/0.003976, allocations: 106.7 kB / 482.7 MB, free: 4.234 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.003984, allocations: 4.375 kB / 482.7 MB, free: 4.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-06/0.003988, allocations: 384 / 482.7 MB, free: 4.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.081e-05/0.004039, allocations: 31.98 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.004045, allocations: 192 / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-06/0.00405, allocations: 1.359 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.004056, allocations: 7.938 kB / 482.7 MB, free: 4.188 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.536e-06/0.004065, allocations: 4.844 kB / 482.7 MB, free: 4.184 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.805e-05/0.004123, allocations: 60.14 kB / 482.8 MB, free: 4.113 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.223e-05/0.004155, allocations: 19.56 kB / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.356e-05/0.004168, allocations: 12.94 kB / 482.8 MB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.00434, allocations: 49.78 kB / 482.9 MB, free: 4.023 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.004365, allocations: 30.56 kB / 482.9 MB, free: 3.984 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.004365, allocations: 0.6562 kB / 482.9 MB, free: 3.984 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 6.167e-05/0.004427, allocations: 35.41 kB / 482.9 MB, free: 3.945 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.004448, allocations: 51.41 kB / 483 MB, free: 3.883 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.735e-05/0.004475, allocations: 89.86 kB / 483.1 MB, free: 3.785 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.004483, allocations: 25.7 kB / 483.1 MB, free: 3.754 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.017e-05/0.004503, allocations: 85.2 kB / 483.2 MB, free: 3.668 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.004524, allocations: 5.078 kB / 483.2 MB, free: 3.664 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.004542, allocations: 14.88 kB / 483.2 MB, free: 3.645 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.823e-05/0.00463, allocations: 318.8 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-06/0.004634, allocations: 0 / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-06/0.004639, allocations: 0.7188 kB / 483.5 MB, free: 3.324 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.6e-05/0.004655, allocations: 10.33 kB / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.004656, allocations: 0 / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.025e-05/0.004686, allocations: 37.62 kB / 483.6 MB, free: 3.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/0.004694, allocations: 4 kB / 483.6 MB, free: 3.266 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-06/0.004696, allocations: 1.531 kB / 483.6 MB, free: 3.266 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.662e-06/0.004703, allocations: 0.9844 kB / 483.6 MB, free: 3.266 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.938e-05/0.004722, allocations: 4 kB / 483.6 MB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.004724, allocations: 0 / 483.6 MB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.851e-06/0.00473, allocations: 1.844 kB / 483.6 MB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.004736, allocations: 3.938 kB / 483.6 MB, free: 3.258 MB / 442.7 MB 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 (1): * Single equations (assignments): 1 * 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 4.644e-05/0.004783, allocations: 113.8 kB / 483.7 MB, free: 3.137 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-06/0.004786, allocations: 0 / 483.7 MB, free: 3.137 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.004834, allocations: 42.38 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.61e-07/0.004835, allocations: 0.5938 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.004836, allocations: 2.203 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.004839, allocations: 0 / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.866e-05/0.004877, allocations: 65.84 kB / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.004878, allocations: 0 / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-06/0.004882, allocations: 0.9375 kB / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.004883, allocations: 0 / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.004888, allocations: 4 kB / 483.8 MB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.00489, allocations: 5.688 kB / 483.8 MB, free: 3.004 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.004891, allocations: 0 / 483.8 MB, free: 3.004 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.346e-05/0.004934, allocations: 57.92 kB / 483.9 MB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-06/0.004939, allocations: 0 / 483.9 MB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.004949, allocations: 8 kB / 483.9 MB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.506e-06/0.004952, allocations: 2.016 kB / 483.9 MB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.004966, allocations: 9.953 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.32e-07/0.004967, allocations: 0 / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.51e-06/0.004973, allocations: 4.859 kB / 483.9 MB, free: 2.906 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004973, allocations: 0 / 483.9 MB, free: 2.906 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000101/0.005074, allocations: 11.94 kB / 483.9 MB, free: 2.895 MB / 442.7 MB 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 (1): * Single equations (assignments): 1 * 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.0001012/0.005175, allocations: 93.19 kB / 484 MB, free: 2.793 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.503e-05/0.00522, allocations: 10.36 kB / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.005222, allocations: 0 / 484 MB, free: 2.781 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.292e-06/0.005228, allocations: 8.859 kB / 484 MB, free: 2.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.912e-05/0.005278, allocations: 10 kB / 484 MB, free: 2.762 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001215/0.005399, allocations: 80.53 kB / 484.1 MB, free: 2.656 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.451e-05/0.005424, allocations: 59.3 kB / 484.2 MB, free: 2.578 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.344e-05/0.005437, allocations: 1.719 kB / 484.2 MB, free: 2.578 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.00546, allocations: 47.38 kB / 484.2 MB, free: 2.531 MB / 442.7 MB Notification: Performance of SimCode: time 3.41e-07/0.005461, allocations: 0.625 kB / 484.2 MB, free: 2.531 MB / 442.7 MB Notification: Performance of Templates: time 0.001738/0.007199, allocations: 472.5 kB / 484.7 MB, free: 2.105 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.761088231112808]