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.0009763/0.0009763, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001266/0.002242, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001001/0.001001, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001216/0.002217, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9793/0.9793, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08923/1.069, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.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.7608/0.7608, allocations: 154.6 MB / 398.5 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2472/1.008, allocations: 49.03 MB / 447.6 MB, free: 6.707 MB / 426.7 MB " [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.402e-06/1.402e-06, allocations: 3.938 kB / 448.9 MB, free: 5.355 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11e-05/1.25e-05, allocations: 3.578 kB / 448.9 MB, free: 5.352 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0009096/0.0009221, allocations: 0.6396 MB / 449.6 MB, free: 4.75 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.001985, allocations: 1.329 MB / 450.9 MB, free: 3.414 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.896e-06/0.001993, allocations: 1.094 kB / 450.9 MB, free: 3.414 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.108e-06/0.001998, allocations: 0 / 450.9 MB, free: 3.414 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.112e-06/0.001999, allocations: 0 / 450.9 MB, free: 3.414 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.002184, allocations: 69.7 kB / 451 MB, free: 3.348 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 3.65e-05/0.00222, allocations: 3.984 kB / 451 MB, free: 3.344 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.975e-05/0.00225, allocations: 5.578 kB / 451 MB, free: 3.34 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.899e-05/0.002279, allocations: 4 kB / 451 MB, free: 3.336 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.502e-05/0.002314, allocations: 1.781 kB / 451 MB, free: 3.336 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.484e-06/0.002322, allocations: 0 / 451 MB, free: 3.336 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.002533, allocations: 124.8 kB / 451.1 MB, free: 3.215 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.673e-06/0.00254, allocations: 0.5469 kB / 451.1 MB, free: 3.215 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 9.388e-06/0.002549, allocations: 2.516 kB / 451.1 MB, free: 3.215 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.00266, allocations: 64.84 kB / 451.2 MB, free: 3.152 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.002671, allocations: 0.7656 kB / 451.2 MB, free: 3.152 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.002672, allocations: 0 / 451.2 MB, free: 3.152 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.002682, allocations: 0 / 451.2 MB, free: 3.152 MB / 426.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.0002259/0.002908, allocations: 237.8 kB / 451.4 MB, free: 2.898 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.714e-05/0.002935, allocations: 8.031 kB / 451.4 MB, free: 2.891 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.95e-05/0.002954, allocations: 1.562 kB / 451.4 MB, free: 2.891 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.745e-05/0.003002, allocations: 105.8 kB / 451.5 MB, free: 2.762 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.00301, allocations: 1.375 kB / 451.5 MB, free: 2.762 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-06/0.003016, allocations: 4.312 kB / 451.5 MB, free: 2.758 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.045e-05/0.003076, allocations: 32.25 kB / 451.6 MB, free: 2.723 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.003086, allocations: 192 / 451.6 MB, free: 2.723 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-06/0.003092, allocations: 1.219 kB / 451.6 MB, free: 2.723 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.003097, allocations: 7.938 kB / 451.6 MB, free: 2.715 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.059e-05/0.003107, allocations: 2.281 kB / 451.6 MB, free: 2.715 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.087e-05/0.003168, allocations: 54.03 kB / 451.6 MB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.141e-05/0.003199, allocations: 22.61 kB / 451.7 MB, free: 2.617 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.01e-05/0.00321, allocations: 9.422 kB / 451.7 MB, free: 2.605 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/0.003416, allocations: 42.3 kB / 451.7 MB, free: 2.566 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.003436, allocations: 34.56 kB / 451.7 MB, free: 2.523 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.003436, allocations: 0 / 451.7 MB, free: 2.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 7.879e-05/0.003515, allocations: 39.09 kB / 451.8 MB, free: 2.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.003541, allocations: 51.41 kB / 451.8 MB, free: 2.418 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.625e-05/0.003568, allocations: 89.86 kB / 451.9 MB, free: 2.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.003576, allocations: 26.75 kB / 451.9 MB, free: 2.289 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.795e-05/0.003594, allocations: 80.14 kB / 452 MB, free: 2.207 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.00362, allocations: 3.688 kB / 452 MB, free: 2.207 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.902e-05/0.003639, allocations: 13.72 kB / 452 MB, free: 2.188 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.922e-05/0.003708, allocations: 314.8 kB / 452.3 MB, free: 1.871 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-06/0.003714, allocations: 4.594 kB / 452.3 MB, free: 1.867 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-06/0.00372, allocations: 8.609 kB / 452.4 MB, free: 1.859 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.767e-05/0.003738, allocations: 5.484 kB / 452.4 MB, free: 1.852 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.003739, allocations: 0.625 kB / 452.4 MB, free: 1.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.697e-05/0.003766, allocations: 30.33 kB / 452.4 MB, free: 1.816 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.003777, allocations: 8 kB / 452.4 MB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.003781, allocations: 1.719 kB / 452.4 MB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.363e-06/0.003788, allocations: 0.625 kB / 452.4 MB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.422e-05/0.003823, allocations: 0 / 452.4 MB, free: 1.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.003826, allocations: 4.719 kB / 452.4 MB, free: 1.805 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.444e-06/0.003833, allocations: 3.984 kB / 452.4 MB, free: 1.801 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.003838, allocations: 4.469 kB / 452.4 MB, free: 1.797 MB / 426.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.386e-05/0.003882, allocations: 111.3 kB / 452.5 MB, free: 1.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-06/0.003886, allocations: 5.547 kB / 452.5 MB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.003939, allocations: 37.61 kB / 452.6 MB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.01e-07/0.00394, allocations: 0 / 452.6 MB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.003942, allocations: 5.422 kB / 452.6 MB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.003945, allocations: 3.984 kB / 452.6 MB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.966e-05/0.003984, allocations: 62.47 kB / 452.6 MB, free: 1.547 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.003985, allocations: 0 / 452.6 MB, free: 1.547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-06/0.003993, allocations: 5.219 kB / 452.6 MB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-06/0.003996, allocations: 0 / 452.6 MB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.003997, allocations: 0 / 452.6 MB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-06/0.004, allocations: 1.156 kB / 452.6 MB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.004001, allocations: 1.094 kB / 452.6 MB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.004001, allocations: 0 / 452.6 MB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.837e-05/0.00404, allocations: 72.98 kB / 452.7 MB, free: 1.453 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-06/0.004045, allocations: 1.188 kB / 452.7 MB, free: 1.453 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.576e-06/0.004049, allocations: 0 / 452.7 MB, free: 1.453 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-06/0.004057, allocations: 1.203 kB / 452.7 MB, free: 1.453 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.004059, allocations: 5.031 kB / 452.7 MB, free: 1.449 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.799e-06/0.004064, allocations: 4.859 kB / 452.7 MB, free: 1.441 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004064, allocations: 0 / 452.7 MB, free: 1.441 MB / 426.7 MB Notification: Performance of remove unused functions: time 9.686e-05/0.004161, allocations: 17.22 kB / 452.7 MB, free: 1.426 MB / 426.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 9.021e-05/0.004251, allocations: 92.34 kB / 452.8 MB, free: 1.324 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.022e-05/0.004291, allocations: 13.78 kB / 452.8 MB, free: 1.309 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.004293, allocations: 1.438 kB / 452.8 MB, free: 1.309 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.999e-06/0.004298, allocations: 9.562 kB / 452.9 MB, free: 1.297 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.167e-05/0.00434, allocations: 7.938 kB / 452.9 MB, free: 1.289 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001167/0.004457, allocations: 82.36 kB / 452.9 MB, free: 1.191 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.333e-05/0.00448, allocations: 59.34 kB / 453 MB, free: 1.113 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.299e-05/0.004493, allocations: 1.938 kB / 453 MB, free: 1.113 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258e-05/0.004516, allocations: 47.38 kB / 453.1 MB, free: 1.066 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.004516, allocations: 0 / 453.1 MB, free: 1.066 MB / 426.7 MB Notification: Performance of Templates: time 0.001627/0.006143, allocations: 477.2 kB / 453.5 MB, free: 0.6328 MB / 426.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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.36637042183429]