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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002102/0.002102, allocations: 197 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.1 MB / 222 MB, free: 4.996 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4027/0.4027, allocations: 54.93 MB / 324.3 MB, free: 48 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 63.91 kB / 394.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1786, allocations: 59.59 MB / 454.3 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002075/0.1807, allocations: 0.5993 MB / 454.9 MB, free: 40 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3099/0.4907, allocations: 0.9725 MB / 455.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.272e-05/0.4908, allocations: 0 / 455.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.4909, allocations: 0.7188 kB / 455.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.077e-06/0.4909, allocations: 2.156 kB / 455.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.4912, allocations: 45.92 kB / 455.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.811e-05/0.4912, allocations: 3.938 kB / 455.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.359e-05/0.4913, allocations: 4.547 kB / 455.9 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.529e-05/0.4913, allocations: 2.562 kB / 455.9 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.553e-05/0.4914, allocations: 4.297 kB / 455.9 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.815e-06/0.4914, allocations: 0 / 455.9 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.4916, allocations: 94.33 kB / 456 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.757e-06/0.4916, allocations: 2.75 kB / 456 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.605e-05/0.4916, allocations: 0 / 456 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.4917, allocations: 50.86 kB / 456.1 MB, free: 39.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4918, allocations: 1.5 kB / 456.1 MB, free: 39.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.4918, allocations: 0.5312 kB / 456.1 MB, free: 39.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.4918, allocations: 2.594 kB / 456.1 MB, free: 39.14 MB / 382.1 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.0002606/0.492, allocations: 322.8 kB / 456.4 MB, free: 38.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.4921, allocations: 8.719 kB / 456.4 MB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.4921, allocations: 0.9375 kB / 456.4 MB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.946e-05/0.4922, allocations: 163.7 kB / 456.6 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.4922, allocations: 384 / 456.6 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.4922, allocations: 4.062 kB / 456.6 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.539e-05/0.4923, allocations: 37.3 kB / 456.6 MB, free: 38.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.4923, allocations: 0 / 456.6 MB, free: 38.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.4923, allocations: 2.656 kB / 456.6 MB, free: 38.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.4924, allocations: 0 / 456.6 MB, free: 38.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.039e-05/0.4924, allocations: 1.891 kB / 456.6 MB, free: 38.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001042/0.4925, allocations: 149.4 kB / 456.8 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.541e-05/0.4925, allocations: 18.11 kB / 456.8 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.4926, allocations: 11.3 kB / 456.8 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004766/0.4931, allocations: 0.5623 MB / 457.3 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.4931, allocations: 35.81 kB / 457.4 MB, free: 37.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.4931, allocations: 1.281 kB / 457.4 MB, free: 37.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000127/0.4932, allocations: 40.58 kB / 457.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.4932, allocations: 57.14 kB / 457.5 MB, free: 37.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.102e-05/0.4933, allocations: 89.86 kB / 457.6 MB, free: 37.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.4933, allocations: 26.7 kB / 457.6 MB, free: 37.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.211e-05/0.4933, allocations: 80.14 kB / 457.7 MB, free: 37.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.4933, allocations: 0.625 kB / 457.7 MB, free: 37.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.4934, allocations: 13.81 kB / 457.7 MB, free: 37.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.862e-05/0.4934, allocations: 310.8 kB / 458 MB, free: 37.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.4935, allocations: 3.969 kB / 458 MB, free: 37.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.657e-06/0.4935, allocations: 3.875 kB / 458 MB, free: 37.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.546e-05/0.4935, allocations: 14.08 kB / 458 MB, free: 37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4935, allocations: 0.5 kB / 458 MB, free: 37 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.22e-05/0.4936, allocations: 32.95 kB / 458 MB, free: 36.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.4936, allocations: 9.344 kB / 458 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4936, allocations: 0.5625 kB / 458 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.4936, allocations: 0.9062 kB / 458 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.89e-05/0.4937, allocations: 2.812 kB / 458.1 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4937, allocations: 2.25 kB / 458.1 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.247e-05/0.4937, allocations: 4.641 kB / 458.1 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.4937, allocations: 5.125 kB / 458.1 MB, free: 36.97 MB / 382.1 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.649e-05/0.4938, allocations: 112 kB / 458.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-06/0.4938, allocations: 3.938 kB / 458.2 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.486e-05/0.4939, allocations: 40.05 kB / 458.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.4939, allocations: 0 / 458.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4939, allocations: 2.625 kB / 458.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4939, allocations: 1.344 kB / 458.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.928e-05/0.4939, allocations: 143.9 kB / 458.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.494, allocations: 0 / 458.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.568e-05/0.494, allocations: 8.938 kB / 458.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.494, allocations: 7.875 kB / 458.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.494, allocations: 1.438 kB / 458.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.494, allocations: 3.438 kB / 458.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.494, allocations: 0.7188 kB / 458.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.223e-05/0.4941, allocations: 63.17 kB / 458.4 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.4941, allocations: 80.23 kB / 458.5 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.4941, allocations: 3.938 kB / 458.5 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-06/0.4941, allocations: 1.641 kB / 458.5 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.4941, allocations: 0 / 458.5 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.4941, allocations: 2.594 kB / 458.5 MB, free: 36.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.562e-05/0.4942, allocations: 76.56 kB / 458.6 MB, free: 36.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4942, allocations: 2.719 kB / 458.6 MB, free: 36.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002072/0.4944, allocations: 7.156 kB / 458.6 MB, free: 36.39 MB / 382.1 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.0001275/0.4945, allocations: 103.6 kB / 458.7 MB, free: 36.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.651e-05/0.4946, allocations: 6.312 kB / 458.7 MB, free: 36.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4946, allocations: 5.438 kB / 458.7 MB, free: 36.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.412e-06/0.4946, allocations: 0 / 458.7 MB, free: 36.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.4948, allocations: 6.125 kB / 458.7 MB, free: 36.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001515/0.4949, allocations: 82.5 kB / 458.8 MB, free: 36.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.495, allocations: 0.6692 MB / 459.5 MB, free: 35.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.262e-05/0.4951, allocations: 13.66 kB / 459.5 MB, free: 35.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.065e-05/0.4951, allocations: 7.438 kB / 459.5 MB, free: 35.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4951, allocations: 0 / 459.5 MB, free: 35.52 MB / 382.1 MB Notification: Performance of Templates: time 0.002234/0.4973, allocations: 289.3 kB / 459.8 MB, free: 35.49 MB / 382.1 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)