Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.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.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker") translateModel(Annex60.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker") [: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.2906/0.2906, allocations: 54.4 MB / 61.68 MB, free: 11.16 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.001626/0.001626, allocations: 189.3 kB / 75.38 MB, free: 1.508 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.675/1.675, allocations: 194.2 MB / 283.2 MB, free: 3.492 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.001731/0.001731, allocations: 120.2 kB / 341.3 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.205e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1331, allocations: 57.64 MB / 462.6 MB, free: 1.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3609/0.494, allocations: 85.97 MB / 0.5357 GB, free: 11.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.4944, allocations: 69.34 kB / 0.5358 GB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.006163/0.5006, allocations: 1.563 MB / 0.5373 GB, free: 9.707 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.5006, allocations: 0 / 0.5373 GB, free: 9.707 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007393/0.5013, allocations: 480.8 kB / 0.5377 GB, free: 9.188 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.5014, allocations: 11.97 kB / 0.5378 GB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/0.5015, allocations: 7.906 kB / 0.5378 GB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.5018, allocations: 210.1 kB / 0.538 GB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.5019, allocations: 4.75 kB / 0.538 GB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.5019, allocations: 4 kB / 0.538 GB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001747/0.5021, allocations: 62.14 kB / 0.538 GB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.5023, allocations: 107.7 kB / 0.5381 GB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.5023, allocations: 0 / 0.5381 GB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.5023, allocations: 0 / 0.5381 GB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.5024, allocations: 0 / 0.5381 GB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007122/0.5031, allocations: 347.1 kB / 0.5385 GB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.5033, allocations: 90.88 kB / 0.5386 GB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.5034, allocations: 75.28 kB / 0.5386 GB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.5035, allocations: 0 / 0.5386 GB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.5037, allocations: 104.8 kB / 0.5387 GB, free: 8.211 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.472e-06/0.5037, allocations: 0 / 0.5387 GB, free: 8.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003495/0.5041, allocations: 147.5 kB / 0.5389 GB, free: 8.086 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/0.5041, allocations: 88.36 kB / 0.5389 GB, free: 7.984 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.5043, allocations: 119.1 kB / 0.5391 GB, free: 7.871 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.5043, allocations: 38.5 kB / 0.5391 GB, free: 7.828 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.709e-05/0.5044, allocations: 91.61 kB / 0.5392 GB, free: 7.738 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.5044, allocations: 31.98 kB / 0.5392 GB, free: 7.711 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.5044, allocations: 0 / 0.5392 GB, free: 7.711 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5046, allocations: 323.1 kB / 0.5395 GB, free: 7.391 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.995e-05/0.5047, allocations: 52.48 kB / 0.5396 GB, free: 7.355 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.39e-05/0.5048, allocations: 47.86 kB / 0.5396 GB, free: 7.324 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.987e-05/0.5049, allocations: 49.09 kB / 0.5397 GB, free: 7.289 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5049, allocations: 3.938 kB / 0.5397 GB, free: 7.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002734/0.5052, allocations: 174.7 kB / 0.5398 GB, free: 7.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.5052, allocations: 4 kB / 0.5398 GB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.5052, allocations: 0 / 0.5398 GB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.5052, allocations: 0 / 0.5398 GB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.5054, allocations: 27.97 kB / 0.5399 GB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5054, allocations: 0 / 0.5399 GB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.5056, allocations: 39.89 kB / 0.5399 GB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.5057, allocations: 7.906 kB / 0.5399 GB, free: 7.062 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: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001356/0.5058, allocations: 149.8 kB / 0.5401 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.5059, allocations: 7.906 kB / 0.5401 GB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.968e-05/0.5059, allocations: 11.75 kB / 0.5401 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.5059, allocations: 192 / 0.5401 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5059, allocations: 0 / 0.5401 GB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.5059, allocations: 11.83 kB / 0.5401 GB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.5061, allocations: 178.9 kB / 0.5403 GB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5061, allocations: 0 / 0.5403 GB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.5063, allocations: 31.91 kB / 0.5403 GB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5063, allocations: 0 / 0.5403 GB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.5063, allocations: 0 / 0.5403 GB, free: 6.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5063, allocations: 8 kB / 0.5403 GB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5063, allocations: 3.906 kB / 0.5403 GB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002888/0.5066, allocations: 184.6 kB / 0.5405 GB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.5067, allocations: 92.92 kB / 0.5406 GB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.5067, allocations: 0 / 0.5406 GB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.5069, allocations: 35.95 kB / 0.5406 GB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.507, allocations: 34.58 kB / 0.5406 GB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.5071, allocations: 7.938 kB / 0.5406 GB, free: 6.297 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.342e-05/0.5071, allocations: 101.5 kB / 0.5407 GB, free: 6.207 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002127/0.5074, allocations: 24 kB / 0.5408 GB, free: 6.184 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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001362/0.5075, allocations: 96.38 kB / 0.5409 GB, free: 6.078 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000318/0.5078, allocations: 206.3 kB / 0.541 GB, free: 5.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5078, allocations: 0.75 kB / 0.541 GB, free: 5.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.508, allocations: 144.1 kB / 0.5412 GB, free: 5.801 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.5082, allocations: 10.03 kB / 0.5412 GB, free: 5.793 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005179/0.5087, allocations: 218.7 kB / 0.5414 GB, free: 5.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003665/0.5091, allocations: 0.7192 MB / 0.5421 GB, free: 4.844 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5091, allocations: 0 / 0.5421 GB, free: 4.844 MB / 378.7 MB Notification: Performance of Templates: time 0.004078/0.5132, allocations: 1.568 MB / 0.5436 GB, free: 3.289 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)