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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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/MEV 1.1.1/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009539/0.0009541, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000883/0.0008831, allocations: 180.2 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.00765/0.00765, allocations: 1.916 MB / 273.3 MB, free: 3.289 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004705, allocations: 19.98 kB / 332.2 MB, free: 32.99 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06953/0.07001, allocations: 48.1 MB / 380.3 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.00135/0.0714, allocations: 1.152 MB / 381.4 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002861/0.07169, allocations: 125.6 kB / 381.5 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.07174, allocations: 0 / 381.5 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.657e-05/0.07184, allocations: 11.92 kB / 381.5 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.07196, allocations: 4.375 kB / 381.5 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.865e-05/0.07207, allocations: 19.92 kB / 381.6 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000598/0.07268, allocations: 0.698 MB / 382.3 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00046/0.07314, allocations: 380.7 kB / 382.6 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.07336, allocations: 254.9 kB / 382.9 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004549/0.07382, allocations: 486.7 kB / 383.4 MB, free: 13.71 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.856e-05/0.07391, allocations: 52 kB / 383.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.894e-05/0.07399, allocations: 48 kB / 383.5 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.07416, allocations: 207.4 kB / 383.7 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002997/0.07447, allocations: 371.6 kB / 384 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005186/0.075, allocations: 0.7214 MB / 384.7 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.07501, allocations: 0 / 384.7 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.07502, allocations: 0 / 384.7 MB, free: 12.32 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.07503, allocations: 0 / 384.7 MB, free: 12.32 MB / 286.1 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.003678/0.07871, allocations: 1.887 MB / 386.6 MB, free: 10.38 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.07875, allocations: 8.031 kB / 386.6 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.07889, allocations: 80 kB / 386.7 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006386/0.07954, allocations: 0.5249 MB / 387.2 MB, free: 9.73 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.513e-05/0.07963, allocations: 57.42 kB / 387.3 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.07975, allocations: 63.92 kB / 387.4 MB, free: 9.609 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/0.08208, allocations: 1.322 MB / 388.7 MB, free: 8.285 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.0821, allocations: 0 / 388.7 MB, free: 8.285 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-05/0.08219, allocations: 23.98 kB / 388.7 MB, free: 8.262 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.0822, allocations: 12 kB / 388.7 MB, free: 8.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006069/0.08828, allocations: 3.341 MB / 392.1 MB, free: 4.902 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004582/0.09287, allocations: 2.903 MB / 395 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003584/0.09647, allocations: 1.881 MB / 396.8 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003915/0.1004, allocations: 2.297 MB / 399.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.886e-05/0.1005, allocations: 8.656 kB / 399.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00231/0.1028, allocations: 1.382 MB / 400.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 2.254e-06/0.1028, allocations: 0 / 400.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=99): time 0.005652/0.1084, allocations: 3.107 MB / 403.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.1085, allocations: 92.36 kB / 403.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005115/0.109, allocations: 0.5135 MB / 404.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.518e-05/0.1091, allocations: 61.67 kB / 404.3 MB, free: 8.551 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.1093, allocations: 277.2 kB / 404.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.1096, allocations: 292 kB / 404.9 MB, free: 7.984 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.1097, allocations: 77.69 kB / 404.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1099, allocations: 394.7 kB / 405.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/0.1114, allocations: 0.8255 MB / 406.1 MB, free: 6.684 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.1132, allocations: 1.11 MB / 407.3 MB, free: 5.449 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/0.1165, allocations: 1.944 MB / 409.2 MB, free: 3.375 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.1166, allocations: 4 kB / 409.2 MB, free: 3.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003656/0.1202, allocations: 2 MB / 411.2 MB, free: 1.363 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1203, allocations: 8 kB / 411.2 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.1203, allocations: 11.98 kB / 411.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.1203, allocations: 16 kB / 411.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.1213, allocations: 283.5 kB / 411.5 MB, free: 1.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.069e-05/0.1214, allocations: 23.92 kB / 411.5 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000718/0.1221, allocations: 199.2 kB / 411.7 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.387e-05/0.1222, allocations: 40 kB / 411.8 MB, free: 0.793 MB / 302.1 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,sequencer.generators[20].offTime,$PRE.sequencer.generators[20].offTime,sequencer.generators[19].offTime,$PRE.sequencer.generators[19].offTime,sequencer.generators[18].offTime,$PRE.sequencer.generators[18].offTime,sequencer.generators[17].offTime,$PRE.sequencer.generators[17].offTime,sequencer.generators[16].offTime,$PRE.sequencer.generators[16].offTime,sequencer.generators[15].offTime,$PRE.sequencer.generators[15].offTime,sequencer.generators[14].offTime,$PRE.sequencer.generators[14].offTime,sequencer.generators[13].offTime,$PRE.sequencer.generators[13].offTime,sequencer.generators[12].offTime,$PRE.sequencer.generators[12].offTime,sequencer.generators[11].offTime,$PRE.sequencer.generators[11].offTime,sequencer.generators[10].offTime,$PRE.sequencer.generators[10].offTime,sequencer.generators[9].offTime,$PRE.sequencer.generators[9].offTime,sequencer.generators[8].offTime,$PRE.sequencer.generators[8].offTime,sequencer.generators[7].offTime,$PRE.sequencer.generators[7].offTime,sequencer.generators[6].offTime,$PRE.sequencer.generators[6].offTime,sequencer.generators[5].offTime,$PRE.sequencer.generators[5].offTime,sequencer.generators[4].offTime,$PRE.sequencer.generators[4].offTime,sequencer.generators[3].offTime,$PRE.sequencer.generators[3].offTime,sequencer.generators[2].offTime,$PRE.sequencer.generators[2].offTime,sequencer.generators[1].offTime,$PRE.sequencer.generators[1].offTime) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004409/0.1226, allocations: 393.3 kB / 412.2 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.1227, allocations: 71.16 kB / 412.2 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003746/0.1231, allocations: 135.2 kB / 412.4 MB, free: 200 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.1231, allocations: 8 kB / 412.4 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1231, allocations: 0 / 412.4 MB, free: 192 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.1231, allocations: 3.984 kB / 412.4 MB, free: 188 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.1244, allocations: 1.105 MB / 413.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1244, allocations: 0 / 413.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008837/0.1253, allocations: 235.7 kB / 413.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.1253, allocations: 4 kB / 413.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.263e-05/0.1254, allocations: 19.98 kB / 413.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.1254, allocations: 8 kB / 413.7 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1254, allocations: 0 / 413.7 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003869/0.1293, allocations: 2.226 MB / 416 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.1294, allocations: 156.1 kB / 416.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-05/0.1295, allocations: 19.98 kB / 416.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007291/0.1302, allocations: 159.8 kB / 416.3 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008719/0.1311, allocations: 452.3 kB / 416.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-05/0.1312, allocations: 27.98 kB / 416.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003806/0.1316, allocations: 387 kB / 417.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1316, allocations: 0 / 417.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005523/0.1321, allocations: 227.5 kB / 417.4 MB, free: 11.1 MB / 318.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001714/0.1323, allocations: 143.1 kB / 417.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003656/0.136, allocations: 2.065 MB / 419.6 MB, free: 8.887 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.136, allocations: 1 kB / 419.6 MB, free: 8.887 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001982/0.138, allocations: 1.205 MB / 420.8 MB, free: 7.684 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.1383, allocations: 49.95 kB / 420.8 MB, free: 7.633 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/0.1423, allocations: 2.748 MB / 423.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005902/0.1429, allocations: 1.06 MB / 424.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003699/0.1433, allocations: 55.42 kB / 424.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1433, allocations: 0 / 424.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of Templates: time 0.1565/0.2998, allocations: 12.08 MB / 436.8 MB, free: 50.99 MB / 318.1 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)