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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3078/0.3078, allocations: 54.39 MB / 61.67 MB, free: 11.07 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.001122/0.001122, allocations: 191.6 kB / 75.37 MB, free: 1.512 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.429/1.429, allocations: 194.2 MB / 283.2 MB, free: 3.539 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.001765/0.001765, allocations: 120.2 kB / 341.3 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.866e-06/8.896e-06, allocations: 4 kB / 404.9 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.127, allocations: 57.65 MB / 462.6 MB, free: 1.969 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3369/0.464, allocations: 85.92 MB / 0.5357 GB, free: 11.37 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.4642, allocations: 73.39 kB / 0.5357 GB, free: 11.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.005235/0.4695, allocations: 1.444 MB / 0.5371 GB, free: 10.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.4695, allocations: 0 / 0.5371 GB, free: 10.12 MB / 378.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.000392/0.4699, allocations: 361.6 kB / 0.5375 GB, free: 9.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.47, allocations: 15.97 kB / 0.5375 GB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.47, allocations: 4.969 kB / 0.5375 GB, free: 9.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.4702, allocations: 178.9 kB / 0.5377 GB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.4702, allocations: 0 / 0.5377 GB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.4702, allocations: 4 kB / 0.5377 GB, free: 9.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.166e-05/0.4703, allocations: 21.38 kB / 0.5377 GB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.4704, allocations: 45.06 kB / 0.5377 GB, free: 9.426 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.4705, allocations: 4 kB / 0.5377 GB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.4705, allocations: 0 / 0.5377 GB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.4705, allocations: 0 / 0.5377 GB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.4709, allocations: 252 kB / 0.538 GB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.81e-05/0.471, allocations: 22.58 kB / 0.538 GB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.471, allocations: 17.55 kB / 0.538 GB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004693/0.4715, allocations: 0.5505 MB / 0.5386 GB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.4715, allocations: 34.5 kB / 0.5386 GB, free: 8.383 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.4715, allocations: 0 / 0.5386 GB, free: 8.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002384/0.4718, allocations: 56.78 kB / 0.5386 GB, free: 8.328 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.4718, allocations: 55.44 kB / 0.5387 GB, free: 8.262 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.708e-05/0.4719, allocations: 96.7 kB / 0.5388 GB, free: 8.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.4719, allocations: 25.7 kB / 0.5388 GB, free: 8.133 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.472, allocations: 92.03 kB / 0.5389 GB, free: 8.039 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.472, allocations: 11.09 kB / 0.5389 GB, free: 8.031 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.472, allocations: 0 / 0.5389 GB, free: 8.031 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4721, allocations: 314.8 kB / 0.5392 GB, free: 7.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.4721, allocations: 1.25 kB / 0.5392 GB, free: 7.715 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.74e-05/0.4722, allocations: 11.77 kB / 0.5392 GB, free: 7.707 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.049e-05/0.4722, allocations: 10.17 kB / 0.5392 GB, free: 7.699 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4722, allocations: 0 / 0.5392 GB, free: 7.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.836e-05/0.4723, allocations: 41.95 kB / 0.5393 GB, free: 7.656 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.4723, allocations: 7.906 kB / 0.5393 GB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.4723, allocations: 0 / 0.5393 GB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.4724, allocations: 11.92 kB / 0.5393 GB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.4725, allocations: 4 kB / 0.5393 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.4725, allocations: 0 / 0.5393 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.741e-05/0.4725, allocations: 9.406 kB / 0.5393 GB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.4725, allocations: 0 / 0.5393 GB, free: 7.625 MB / 378.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 6.108e-05/0.4726, allocations: 101 kB / 0.5394 GB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.4726, allocations: 11.89 kB / 0.5394 GB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.4728, allocations: 54.77 kB / 0.5395 GB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4728, allocations: 0 / 0.5395 GB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.4728, allocations: 0 / 0.5395 GB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4728, allocations: 32 / 0.5395 GB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.473, allocations: 151.9 kB / 0.5396 GB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.473, allocations: 0 / 0.5396 GB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.4731, allocations: 7.938 kB / 0.5396 GB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4731, allocations: 4 kB / 0.5396 GB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.4731, allocations: 4 kB / 0.5396 GB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4731, allocations: 3.938 kB / 0.5396 GB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4731, allocations: 0 / 0.5396 GB, free: 7.258 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001494/0.4732, allocations: 147.6 kB / 0.5398 GB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.4733, allocations: 77.61 kB / 0.5398 GB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.4733, allocations: 7.984 kB / 0.5398 GB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.689e-05/0.4734, allocations: 3.906 kB / 0.5399 GB, free: 7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.4734, allocations: 4.875 kB / 0.5399 GB, free: 6.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.4734, allocations: 0 / 0.5399 GB, free: 6.996 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.715e-05/0.4735, allocations: 86.28 kB / 0.5399 GB, free: 6.914 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000219/0.4737, allocations: 19.92 kB / 0.54 GB, free: 6.895 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 () * 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.0001517/0.4739, allocations: 107.2 kB / 0.5401 GB, free: 6.777 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.96e-05/0.474, allocations: 16.19 kB / 0.5401 GB, free: 6.766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.474, allocations: 0 / 0.5401 GB, free: 6.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.337e-05/0.474, allocations: 10.31 kB / 0.5401 GB, free: 6.758 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.4741, allocations: 0.625 kB / 0.5401 GB, free: 6.758 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/0.4744, allocations: 71.56 kB / 0.5402 GB, free: 6.668 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.4747, allocations: 0.7004 MB / 0.5408 GB, free: 5.941 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4747, allocations: 0 / 0.5408 GB, free: 5.941 MB / 378.7 MB Notification: Performance of Templates: time 0.002294/0.477, allocations: 456.3 kB / 0.5413 GB, free: 5.508 MB / 378.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)