Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestSequencer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(MEV.Test.TestSequencer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSequencer") translateModel(MEV.Test.TestSequencer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSequencer") [: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/Complex 3.2.3+maint.om/package.mo): time 0.002234/0.002234, allocations: 180.2 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007297/0.007297, allocations: 1.921 MB / 9.79 MB, free: 464 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.01/1.01, allocations: 205.2 MB / 215.9 MB, free: 11.08 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008049/0.0008049, allocations: 87.22 kB / 264.4 MB, free: 10.83 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.021e-06/6.062e-06, allocations: 4 kB / 318.5 MB, free: 4.645 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1694, allocations: 48.05 MB / 366.6 MB, free: 45.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07427/0.2437, allocations: 74.29 MB / 440.9 MB, free: 8.809 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001595/0.2439, allocations: 59.97 kB / 440.9 MB, free: 8.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02224/0.2661, allocations: 7.958 MB / 448.9 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.507e-05/0.2662, allocations: 20 kB / 448.9 MB, free: 0.8008 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00347/0.2697, allocations: 1.748 MB / 450.7 MB, free: 14.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.2697, allocations: 8.031 kB / 450.7 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.2699, allocations: 86.95 kB / 450.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007897/0.2707, allocations: 0.5161 MB / 451.3 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.906e-05/0.2708, allocations: 35.98 kB / 451.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.2709, allocations: 39.98 kB / 451.3 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00383/0.2748, allocations: 2.365 MB / 453.7 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.2763, allocations: 1.03 MB / 454.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.2763, allocations: 4 kB / 454.7 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/0.2764, allocations: 3.938 kB / 454.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.2764, allocations: 12 kB / 454.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005075/0.2815, allocations: 2.916 MB / 457.7 MB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.2833, allocations: 1.397 MB / 459.1 MB, free: 6.477 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002988/0.2863, allocations: 2.243 MB / 461.3 MB, free: 4.234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.482e-05/0.2864, allocations: 12.66 kB / 461.3 MB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001209/0.2876, allocations: 0.9185 MB / 462.3 MB, free: 3.297 MB / 346.7 MB Notification: Performance of pre-optimization done (n=99): time 3.747e-06/0.2876, allocations: 1.688 kB / 462.3 MB, free: 3.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=99): time 0.002137/0.2897, allocations: 1.568 MB / 463.8 MB, free: 1.719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.2898, allocations: 92.38 kB / 463.9 MB, free: 1.613 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005565/0.2904, allocations: 445.1 kB / 464.3 MB, free: 1.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-05/0.2905, allocations: 45.67 kB / 464.4 MB, free: 1.129 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.2906, allocations: 205.2 kB / 464.6 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/0.2909, allocations: 284 kB / 464.9 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.2909, allocations: 0 / 464.9 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2911, allocations: 382.8 kB / 465.2 MB, free: 264 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006989/0.2918, allocations: 0.572 MB / 465.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008836/0.2927, allocations: 0.851 MB / 466.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007763/0.2935, allocations: 0.6432 MB / 467.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.2935, allocations: 4 kB / 467.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002031/0.2955, allocations: 1.443 MB / 468.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2955, allocations: 4 kB / 468.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.2956, allocations: 8.906 kB / 468.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.2956, allocations: 20 kB / 468.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.2967, allocations: 299.6 kB / 469.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.601e-05/0.2967, allocations: 24.69 kB / 469.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007485/0.2975, allocations: 187.3 kB / 469.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.324e-05/0.2976, allocations: 40 kB / 469.3 MB, free: 12.04 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 60 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.sequencer.generators[1].offTime,sequencer.generators[1].offTime,$PRE.sequencer.generators[2].offTime,sequencer.generators[2].offTime,$PRE.sequencer.generators[3].offTime,sequencer.generators[3].offTime,$PRE.sequencer.generators[4].offTime,sequencer.generators[4].offTime,$PRE.sequencer.generators[5].offTime,sequencer.generators[5].offTime,$PRE.sequencer.generators[6].offTime,sequencer.generators[6].offTime,$PRE.sequencer.generators[7].offTime,sequencer.generators[7].offTime,$PRE.sequencer.generators[8].offTime,sequencer.generators[8].offTime,$PRE.sequencer.generators[9].offTime,sequencer.generators[9].offTime,$PRE.sequencer.generators[10].offTime,sequencer.generators[10].offTime,$PRE.sequencer.generators[11].offTime,sequencer.generators[11].offTime,$PRE.sequencer.generators[12].offTime,sequencer.generators[12].offTime,$PRE.sequencer.generators[13].offTime,sequencer.generators[13].offTime,$PRE.sequencer.generators[14].offTime,sequencer.generators[14].offTime,$PRE.sequencer.generators[15].offTime,sequencer.generators[15].offTime,$PRE.sequencer.generators[16].offTime,sequencer.generators[16].offTime,$PRE.sequencer.generators[17].offTime,sequencer.generators[17].offTime,$PRE.sequencer.generators[18].offTime,sequencer.generators[18].offTime,$PRE.sequencer.generators[19].offTime,sequencer.generators[19].offTime,$PRE.sequencer.generators[20].offTime,sequencer.generators[20].offTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 119 * 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 0.0002735/0.2978, allocations: 180.6 kB / 469.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.298, allocations: 67.16 kB / 469.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.2983, allocations: 119.2 kB / 469.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.2983, allocations: 8 kB / 469.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.2983, allocations: 7.938 kB / 469.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.2983, allocations: 7.984 kB / 469.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.2996, allocations: 1.018 MB / 470.7 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.2997, allocations: 7.906 kB / 470.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008574/0.3005, allocations: 243.7 kB / 471 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-05/0.3005, allocations: 4 kB / 471 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.685e-05/0.3006, allocations: 11.98 kB / 471 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.3006, allocations: 8 kB / 471 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3007, allocations: 0 / 471 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002078/0.3027, allocations: 1.627 MB / 472.6 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.3029, allocations: 148.1 kB / 472.8 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.303, allocations: 11.89 kB / 472.8 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006803/0.3037, allocations: 163.9 kB / 472.9 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007381/0.3045, allocations: 320.6 kB / 473.3 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.407e-05/0.3045, allocations: 27.98 kB / 473.3 MB, free: 8.004 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0003734/0.3049, allocations: 363.1 kB / 473.6 MB, free: 7.648 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006144/0.3055, allocations: 187.7 kB / 473.8 MB, free: 7.465 MB / 362.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: 40 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sequencer.generators[1].offTime,sequencer.generators[2].offTime,sequencer.generators[3].offTime,sequencer.generators[4].offTime,sequencer.generators[5].offTime,sequencer.generators[6].offTime,sequencer.generators[7].offTime,sequencer.generators[8].offTime,sequencer.generators[9].offTime,sequencer.generators[10].offTime,sequencer.generators[11].offTime,sequencer.generators[12].offTime,sequencer.generators[13].offTime,sequencer.generators[14].offTime,sequencer.generators[15].offTime,sequencer.generators[16].offTime,sequencer.generators[17].offTime,sequencer.generators[18].offTime,sequencer.generators[19].offTime,sequencer.generators[20].offTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.0001809/0.3057, allocations: 135 kB / 473.9 MB, free: 7.324 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002009/0.3077, allocations: 1.563 MB / 475.5 MB, free: 5.766 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3078, allocations: 3.938 kB / 475.5 MB, free: 5.762 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.3089, allocations: 0.9175 MB / 476.4 MB, free: 4.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.3092, allocations: 33.8 kB / 476.5 MB, free: 4.809 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004353/0.3135, allocations: 2.155 MB / 478.6 MB, free: 2.621 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.3145, allocations: 1.13 MB / 479.8 MB, free: 1.461 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.3146, allocations: 0 / 479.8 MB, free: 1.461 MB / 362.7 MB Notification: Performance of Templates: time 0.017/0.3316, allocations: 10.99 MB / 490.7 MB, free: 6.508 MB / 378.7 MB make -j1 -f MEV_MEV.Test.TestSequencer.makefile (rm -f MEV_MEV.Test.TestSequencer.pipe ; mkfifo MEV_MEV.Test.TestSequencer.pipe ; head -c 1048576 < MEV_MEV.Test.TestSequencer.pipe >> ../files/MEV_MEV.Test.TestSequencer.sim & ./MEV_MEV.Test.TestSequencer -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestSequencer.pipe 2>&1)