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.3007/0.3007, allocations: 55.01 MB / 69.96 MB, free: 8.672 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.001127/0.001127, allocations: 192 kB / 83.98 MB, free: 10.84 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.572/1.572, allocations: 194.4 MB / 292.3 MB, free: 3.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001794/0.001794, allocations: 115.8 kB / 350.7 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003905, allocations: 12 kB / 418.9 MB, free: 37.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1301, allocations: 57.66 MB / 476.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4649/0.5951, allocations: 85.65 MB / 0.549 GB, free: 3.637 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.5954, allocations: 77.14 kB / 0.5491 GB, free: 3.594 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003215/0.5986, allocations: 1.2 MB / 0.5503 GB, free: 2.523 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5986, allocations: 0 / 0.5503 GB, free: 2.523 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.5986, allocations: 0 / 0.5503 GB, free: 2.523 MB / 362.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.000217/0.5989, allocations: 343.5 kB / 0.5506 GB, free: 2.148 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5989, allocations: 8.031 kB / 0.5506 GB, free: 2.141 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.5989, allocations: 0 / 0.5506 GB, free: 2.141 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.661e-05/0.599, allocations: 159.1 kB / 0.5507 GB, free: 1.945 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.599, allocations: 0.8125 kB / 0.5507 GB, free: 1.945 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.5991, allocations: 3.938 kB / 0.5507 GB, free: 1.941 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.175e-05/0.5992, allocations: 37.64 kB / 0.5508 GB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.5992, allocations: 0 / 0.5508 GB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.5992, allocations: 0 / 0.5508 GB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.5992, allocations: 0 / 0.5508 GB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.391e-05/0.5992, allocations: 6.75 kB / 0.5508 GB, free: 1.895 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.5993, allocations: 145.7 kB / 0.5509 GB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.935e-05/0.5994, allocations: 17.77 kB / 0.5509 GB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003749/0.5998, allocations: 0.5623 MB / 0.5515 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.5998, allocations: 31.44 kB / 0.5515 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.5998, allocations: 11.98 kB / 0.5515 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001512/0.6, allocations: 41.12 kB / 0.5516 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.6, allocations: 51.41 kB / 0.5516 GB, free: 0.832 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.848e-05/0.6, allocations: 85 kB / 0.5517 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/0.6, allocations: 25.7 kB / 0.5517 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.632e-05/0.6001, allocations: 80.14 kB / 0.5518 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.6001, allocations: 0 / 0.5518 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.6001, allocations: 0 / 0.5518 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.697e-05/0.6002, allocations: 323 kB / 0.5521 GB, free: 312 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/0.6002, allocations: 2.625 kB / 0.5521 GB, free: 312 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-06/0.6002, allocations: 3.938 kB / 0.5521 GB, free: 308 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.929e-05/0.6002, allocations: 4 kB / 0.5521 GB, free: 304 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6003, allocations: 0 / 0.5521 GB, free: 304 kB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.056e-05/0.6003, allocations: 33.42 kB / 0.5522 GB, free: 268 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.6003, allocations: 4 kB / 0.5522 GB, free: 264 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.6003, allocations: 0 / 0.5522 GB, free: 264 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.6004, allocations: 0 / 0.5522 GB, free: 264 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.535e-05/0.6004, allocations: 12.03 kB / 0.5522 GB, free: 252 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6004, allocations: 3.953 kB / 0.5522 GB, free: 248 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.097e-05/0.6004, allocations: 0 / 0.5522 GB, free: 248 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.6004, allocations: 3.984 kB / 0.5522 GB, free: 244 kB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.82e-05/0.6005, allocations: 113 kB / 0.5523 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-06/0.6005, allocations: 2.438 kB / 0.5523 GB, free: 124 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.54e-05/0.6006, allocations: 44.72 kB / 0.5523 GB, free: 76 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.6006, allocations: 0 / 0.5523 GB, free: 76 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6006, allocations: 0 / 0.5523 GB, free: 76 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.6007, allocations: 11.94 kB / 0.5523 GB, free: 64 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.6008, allocations: 145 kB / 0.5525 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.6008, allocations: 0 / 0.5525 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.345e-05/0.6008, allocations: 0 / 0.5525 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-06/0.6008, allocations: 0 / 0.5525 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.6008, allocations: 4 kB / 0.5525 GB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6008, allocations: 0 / 0.5525 GB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.6008, allocations: 0 / 0.5525 GB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.15e-05/0.6009, allocations: 68.05 kB / 0.5526 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.601, allocations: 81.11 kB / 0.5526 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.601, allocations: 0 / 0.5526 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.087e-05/0.601, allocations: 2.578 kB / 0.5526 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.601, allocations: 0 / 0.5526 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.601, allocations: 0 / 0.5526 GB, free: 15.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.046e-05/0.6011, allocations: 75.28 kB / 0.5527 GB, free: 15.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6011, allocations: 32 / 0.5527 GB, free: 15.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002013/0.6013, allocations: 23.92 kB / 0.5527 GB, free: 15.59 MB / 378.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 (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.000173/0.6015, allocations: 99.25 kB / 0.5528 GB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.119e-05/0.6015, allocations: 7 kB / 0.5528 GB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6016, allocations: 0 / 0.5528 GB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.871e-06/0.6016, allocations: 3.938 kB / 0.5528 GB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001006/0.6017, allocations: 15.08 kB / 0.5528 GB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.6019, allocations: 83.31 kB / 0.5529 GB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.6022, allocations: 0.6731 MB / 0.5536 GB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.124e-05/0.6022, allocations: 0 / 0.5536 GB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.276e-05/0.6022, allocations: 7.438 kB / 0.5536 GB, free: 14.65 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.6022, allocations: 0 / 0.5536 GB, free: 14.65 MB / 378.7 MB Notification: Performance of Templates: time 0.002216/0.6044, allocations: 278.1 kB / 0.5539 GB, free: 14.39 MB / 378.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)