Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice.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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice") translateModel(Annex60.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3222/0.3222, allocations: 54.41 MB / 61.89 MB, free: 13.76 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.001338/0.001338, allocations: 183.8 kB / 75.61 MB, free: 0.7773 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.685/1.685, allocations: 194.3 MB / 283.5 MB, free: 14.86 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.001724/0.001724, allocations: 109.2 kB / 341.6 MB, free: 4.051 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.758e-05/2.759e-05, allocations: 0 / 405.5 MB, free: 4.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.4338, allocations: 57.65 MB / 463.1 MB, free: 51.75 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.5715, allocations: 86 MB / 0.5363 GB, free: 15.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.5719, allocations: 74.34 kB / 0.5363 GB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00553/0.5774, allocations: 1.751 MB / 0.5381 GB, free: 13.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5774, allocations: 0 / 0.5381 GB, free: 13.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.5774, allocations: 0 / 0.5381 GB, free: 13.39 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003743/0.5778, allocations: 364 kB / 0.5384 GB, free: 12.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.5779, allocations: 8.031 kB / 0.5384 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.5779, allocations: 10.34 kB / 0.5384 GB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.5781, allocations: 176.3 kB / 0.5386 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.5781, allocations: 0 / 0.5386 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.5781, allocations: 9.734 kB / 0.5386 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.407e-05/0.5782, allocations: 19.95 kB / 0.5386 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.517e-05/0.5783, allocations: 41.69 kB / 0.5387 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.5783, allocations: 2.688 kB / 0.5387 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.5783, allocations: 0 / 0.5387 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.5783, allocations: 5.75 kB / 0.5387 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.5788, allocations: 255.2 kB / 0.5389 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.472e-05/0.5789, allocations: 24.27 kB / 0.5389 GB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.299e-05/0.5789, allocations: 12.92 kB / 0.5389 GB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000562/0.5795, allocations: 0.5566 MB / 0.5395 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.5795, allocations: 30.56 kB / 0.5395 GB, free: 11.63 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.5795, allocations: 0 / 0.5395 GB, free: 11.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002638/0.5798, allocations: 50.56 kB / 0.5396 GB, free: 11.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.5798, allocations: 53.47 kB / 0.5396 GB, free: 11.51 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.544e-05/0.58, allocations: 100.1 kB / 0.5397 GB, free: 11.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.58, allocations: 25.7 kB / 0.5397 GB, free: 11.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.535e-05/0.5801, allocations: 97.78 kB / 0.5398 GB, free: 11.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.5801, allocations: 7.938 kB / 0.5398 GB, free: 11.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.5801, allocations: 1.531 kB / 0.5398 GB, free: 11.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5803, allocations: 310.8 kB / 0.5401 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.795e-05/0.5803, allocations: 4 kB / 0.5401 GB, free: 10.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.878e-05/0.5803, allocations: 14.59 kB / 0.5401 GB, free: 10.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.323e-05/0.5804, allocations: 7.984 kB / 0.5402 GB, free: 10.94 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5804, allocations: 0 / 0.5402 GB, free: 10.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.9e-05/0.5805, allocations: 49.56 kB / 0.5402 GB, free: 10.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.5805, allocations: 4.656 kB / 0.5402 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.5805, allocations: 5.203 kB / 0.5402 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.5806, allocations: 3.984 kB / 0.5402 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.5807, allocations: 8 kB / 0.5402 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.5807, allocations: 96 / 0.5402 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.5807, allocations: 8 kB / 0.5402 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.5807, allocations: 0 / 0.5402 GB, free: 10.86 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 (2): * Single equations (assignments): 2 * 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 7.894e-05/0.5808, allocations: 111.5 kB / 0.5403 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.5808, allocations: 15.94 kB / 0.5404 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.581, allocations: 51.09 kB / 0.5404 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.581, allocations: 0 / 0.5404 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.581, allocations: 0 / 0.5404 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.581, allocations: 32 / 0.5404 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.5812, allocations: 148.7 kB / 0.5405 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.5812, allocations: 0 / 0.5405 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.5813, allocations: 4 kB / 0.5405 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.5813, allocations: 0 / 0.5405 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.5813, allocations: 7.891 kB / 0.5406 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.5813, allocations: 0 / 0.5406 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.5813, allocations: 4 kB / 0.5406 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.5815, allocations: 151.4 kB / 0.5407 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.5815, allocations: 77.11 kB / 0.5408 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.5815, allocations: 3.984 kB / 0.5408 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.744e-05/0.5816, allocations: 7.953 kB / 0.5408 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.5816, allocations: 0 / 0.5408 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.5817, allocations: 4 kB / 0.5408 GB, free: 10.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.166e-05/0.5817, allocations: 83.28 kB / 0.5409 GB, free: 10.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5817, allocations: 0 / 0.5409 GB, free: 10.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002133/0.5819, allocations: 11.98 kB / 0.5409 GB, free: 10.12 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 (2): * Single equations (assignments): 2 * 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.0001709/0.5821, allocations: 115.3 kB / 0.541 GB, free: 9.992 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.315e-05/0.5822, allocations: 15.94 kB / 0.541 GB, free: 9.977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5822, allocations: 0 / 0.541 GB, free: 9.977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.894e-05/0.5823, allocations: 4 kB / 0.541 GB, free: 9.973 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.5824, allocations: 4 kB / 0.541 GB, free: 9.969 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.5827, allocations: 80.38 kB / 0.5411 GB, free: 9.871 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.583, allocations: 0.6847 MB / 0.5418 GB, free: 9.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.594e-05/0.5831, allocations: 4 kB / 0.5418 GB, free: 9.156 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/0.5831, allocations: 7.438 kB / 0.5418 GB, free: 9.152 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5831, allocations: 0 / 0.5418 GB, free: 9.152 MB / 394.7 MB Notification: Performance of Templates: time 0.002439/0.5855, allocations: 368.2 kB / 0.5421 GB, free: 8.82 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.Splice.pipe 2>&1)