Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Annex60.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3123/0.3123, allocations: 54.41 MB / 61.89 MB, free: 13.74 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001173/0.001173, allocations: 182.9 kB / 75.61 MB, free: 0.7539 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.689/1.689, allocations: 194.3 MB / 283.5 MB, free: 14.85 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001712/0.001712, allocations: 116.9 kB / 341.6 MB, free: 4.023 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.311e-05/2.312e-05, allocations: 8 kB / 405.5 MB, free: 4.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3276, allocations: 57.65 MB / 463.2 MB, free: 51.79 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1543/0.4819, allocations: 84.9 MB / 0.5352 GB, free: 264 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.4823, allocations: 78.06 kB / 0.5353 GB, free: 188 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005021/0.4873, allocations: 1.192 MB / 0.5365 GB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4873, allocations: 0 / 0.5365 GB, free: 15.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.4873, allocations: 0 / 0.5365 GB, free: 15.02 MB / 394.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.0003192/0.4877, allocations: 330.4 kB / 0.5368 GB, free: 14.65 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.4877, allocations: 12.03 kB / 0.5368 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.4878, allocations: 0 / 0.5368 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.4879, allocations: 161.3 kB / 0.5369 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.488, allocations: 0 / 0.5369 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.488, allocations: 3.094 kB / 0.5369 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.871e-05/0.488, allocations: 4 kB / 0.537 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.803e-05/0.4881, allocations: 31.06 kB / 0.537 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.4881, allocations: 0.7812 kB / 0.537 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.4882, allocations: 0 / 0.537 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4882, allocations: 0.8125 kB / 0.537 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.4884, allocations: 135.8 kB / 0.5371 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.087e-05/0.4884, allocations: 23.83 kB / 0.5371 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.4885, allocations: 4.859 kB / 0.5371 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006336/0.4891, allocations: 0.5558 MB / 0.5377 GB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.4892, allocations: 31.47 kB / 0.5377 GB, free: 13.47 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.623e-06/0.4892, allocations: 5.25 kB / 0.5377 GB, free: 13.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.000204/0.4894, allocations: 37.64 kB / 0.5378 GB, free: 13.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.4895, allocations: 59.28 kB / 0.5378 GB, free: 13.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.838e-05/0.4895, allocations: 87.44 kB / 0.5379 GB, free: 13.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.4895, allocations: 25.7 kB / 0.5379 GB, free: 13.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.4896, allocations: 83.97 kB / 0.538 GB, free: 13.15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.4896, allocations: 3.906 kB / 0.538 GB, free: 13.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.4896, allocations: 0 / 0.538 GB, free: 13.15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4898, allocations: 310.8 kB / 0.5383 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.888e-06/0.4898, allocations: 4 kB / 0.5383 GB, free: 12.83 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.798e-06/0.4898, allocations: 5.688 kB / 0.5383 GB, free: 12.83 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.57e-05/0.4899, allocations: 4 kB / 0.5383 GB, free: 12.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4899, allocations: 0 / 0.5383 GB, free: 12.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.952e-05/0.49, allocations: 33.69 kB / 0.5383 GB, free: 12.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.49, allocations: 4.969 kB / 0.5383 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.4901, allocations: 4 kB / 0.5384 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.4901, allocations: 0.9375 kB / 0.5384 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.946e-05/0.4901, allocations: 0 / 0.5384 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.4901, allocations: 0 / 0.5384 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.971e-05/0.4902, allocations: 4.672 kB / 0.5384 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.4902, allocations: 3.844 kB / 0.5384 GB, free: 12.77 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.226e-05/0.4903, allocations: 108.4 kB / 0.5385 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.4903, allocations: 1.375 kB / 0.5385 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.4905, allocations: 48.06 kB / 0.5385 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.4905, allocations: 4 kB / 0.5385 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4905, allocations: 0 / 0.5385 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.4905, allocations: 0.875 kB / 0.5385 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.4906, allocations: 130.2 kB / 0.5386 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4906, allocations: 0.5938 kB / 0.5386 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.123e-05/0.4907, allocations: 4.562 kB / 0.5386 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4907, allocations: 3.5 kB / 0.5386 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.4907, allocations: 0 / 0.5386 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.4907, allocations: 1.875 kB / 0.5386 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4907, allocations: 0 / 0.5386 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.4908, allocations: 67.64 kB / 0.5387 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.4909, allocations: 78.52 kB / 0.5388 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.4909, allocations: 2.5 kB / 0.5388 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.297e-05/0.4909, allocations: 0 / 0.5388 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.491, allocations: 0 / 0.5388 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.491, allocations: 4 kB / 0.5388 GB, free: 12.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.742e-05/0.491, allocations: 82.17 kB / 0.5389 GB, free: 12.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.491, allocations: 0 / 0.5389 GB, free: 12.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003212/0.4914, allocations: 12.12 kB / 0.5389 GB, free: 12.18 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001724/0.4915, allocations: 107.2 kB / 0.539 GB, free: 12.06 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.592e-05/0.4916, allocations: 4 kB / 0.539 GB, free: 12.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4916, allocations: 0 / 0.539 GB, free: 12.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-05/0.4917, allocations: 4 kB / 0.539 GB, free: 12.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.4918, allocations: 3.953 kB / 0.539 GB, free: 12.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001681/0.492, allocations: 40.64 kB / 0.539 GB, free: 11.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.4923, allocations: 0.6769 MB / 0.5397 GB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.317e-05/0.4923, allocations: 4 kB / 0.5397 GB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.845e-05/0.4924, allocations: 11.44 kB / 0.5397 GB, free: 11.27 MB / 394.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4924, allocations: 0 / 0.5397 GB, free: 11.27 MB / 394.7 MB Notification: Performance of Templates: time 0.002365/0.4947, allocations: 272.1 kB / 0.54 GB, free: 11.04 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)