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.001075/0.001075, allocations: 108 kB / 15.6 MB, free: 132 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.001093/0.001093, allocations: 192 kB / 16.53 MB, free: 6.391 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.393/1.393, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008505/0.008505, allocations: 1.931 MB / 271.7 MB, free: 3.371 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.00205/0.00205, allocations: 72.11 kB / 329.8 MB, free: 32.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07767/0.07974, allocations: 47.13 MB / 377 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002796/0.08257, allocations: 1.43 MB / 378.4 MB, free: 220 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003686/0.08297, allocations: 119.8 kB / 378.5 MB, free: 96 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.858e-05/0.08304, allocations: 3.938 kB / 378.5 MB, free: 92 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.08316, allocations: 7.938 kB / 378.5 MB, free: 84 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.08332, allocations: 16.3 kB / 378.5 MB, free: 68 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.08346, allocations: 23.91 kB / 378.6 MB, free: 44 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007145/0.08419, allocations: 0.7369 MB / 379.3 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005266/0.08472, allocations: 404.6 kB / 379.7 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003989/0.08513, allocations: 362.9 kB / 380.1 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000681/0.08582, allocations: 0.5609 MB / 380.6 MB, free: 13.99 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002332/0.08606, allocations: 92 kB / 380.7 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.08625, allocations: 96 kB / 380.8 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002798/0.08653, allocations: 267.2 kB / 381.1 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000472/0.08701, allocations: 417.9 kB / 381.5 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000882/0.0879, allocations: 0.9857 MB / 382.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.08792, allocations: 0 / 382.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.08792, allocations: 0 / 382.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.873e-05/0.08796, allocations: 0 / 382.5 MB, free: 12.14 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.003558/0.09152, allocations: 1.434 MB / 383.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.09157, allocations: 11.89 kB / 383.9 MB, free: 10.65 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/0.09179, allocations: 80 kB / 384 MB, free: 10.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007348/0.09253, allocations: 0.5249 MB / 384.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.618e-05/0.09261, allocations: 61.61 kB / 384.6 MB, free: 9.945 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.09274, allocations: 56.36 kB / 384.6 MB, free: 9.891 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002359/0.0951, allocations: 1.244 MB / 385.9 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.09513, allocations: 0 / 385.9 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.92e-05/0.09521, allocations: 20 kB / 385.9 MB, free: 8.621 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.09524, allocations: 16 kB / 385.9 MB, free: 8.605 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005887/0.1011, allocations: 3.177 MB / 389.1 MB, free: 5.426 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004202/0.1053, allocations: 2.412 MB / 391.5 MB, free: 2.957 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003491/0.1089, allocations: 1.701 MB / 393.2 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003792/0.1127, allocations: 2.107 MB / 395.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.58e-05/0.1127, allocations: 8.656 kB / 395.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002221/0.115, allocations: 1.292 MB / 396.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 3.707e-06/0.115, allocations: 0 / 396.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=99): time 0.005603/0.1206, allocations: 2.861 MB / 399.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/0.1207, allocations: 84.38 kB / 399.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007228/0.1214, allocations: 0.5174 MB / 400.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.11e-05/0.1215, allocations: 61.69 kB / 400.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.1218, allocations: 281.1 kB / 400.4 MB, free: 9.988 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003254/0.1221, allocations: 288 kB / 400.7 MB, free: 9.703 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/0.1224, allocations: 162.7 kB / 400.8 MB, free: 9.539 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.1226, allocations: 390.8 kB / 401.2 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.1242, allocations: 0.7357 MB / 401.9 MB, free: 8.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/0.1259, allocations: 1.028 MB / 403 MB, free: 7.258 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003328/0.1293, allocations: 1.787 MB / 404.8 MB, free: 5.344 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.1293, allocations: 0 / 404.8 MB, free: 5.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003651/0.1329, allocations: 1.847 MB / 406.6 MB, free: 3.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.133, allocations: 8.625 kB / 406.6 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.133, allocations: 15.98 kB / 406.6 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.133, allocations: 12 kB / 406.6 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.1341, allocations: 239.6 kB / 406.9 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-05/0.1341, allocations: 23.92 kB / 406.9 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007681/0.1349, allocations: 151.2 kB / 407.1 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.185e-05/0.135, allocations: 40 kB / 407.1 MB, free: 3.008 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.0005255/0.1355, allocations: 389.3 kB / 407.5 MB, free: 2.617 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.1356, allocations: 71.16 kB / 407.5 MB, free: 2.547 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.1359, allocations: 135.2 kB / 407.7 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.1359, allocations: 12 kB / 407.7 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.1359, allocations: 3.938 kB / 407.7 MB, free: 2.398 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.136, allocations: 7.922 kB / 407.7 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.1373, allocations: 1.097 MB / 408.8 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.1373, allocations: 0 / 408.8 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008686/0.1382, allocations: 191.7 kB / 409 MB, free: 1.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/0.1382, allocations: 8 kB / 409 MB, free: 1.047 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.316e-05/0.1383, allocations: 19.98 kB / 409 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.1383, allocations: 4 kB / 409 MB, free: 1.023 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.1383, allocations: 0 / 409 MB, free: 1.023 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003849/0.1422, allocations: 2.062 MB / 411.1 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.1423, allocations: 152.1 kB / 411.2 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.1424, allocations: 16 kB / 411.2 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007365/0.1432, allocations: 119.8 kB / 411.4 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008797/0.1441, allocations: 452.3 kB / 411.8 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-05/0.1442, allocations: 28 kB / 411.8 MB, free: 14.17 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004157/0.1446, allocations: 387 kB / 412.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.1446, allocations: 0 / 412.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006123/0.1452, allocations: 231.5 kB / 412.4 MB, free: 13.57 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.0001865/0.1454, allocations: 135.1 kB / 412.6 MB, free: 13.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00454/0.1499, allocations: 2.424 MB / 415 MB, free: 11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.15, allocations: 0 / 415 MB, free: 11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001916/0.1519, allocations: 1.072 MB / 416.1 MB, free: 9.926 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.1522, allocations: 57.89 kB / 416.1 MB, free: 9.867 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004157/0.1564, allocations: 2.446 MB / 418.6 MB, free: 7.391 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005819/0.157, allocations: 1.059 MB / 419.6 MB, free: 6.305 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007485/0.1578, allocations: 316.7 kB / 419.9 MB, free: 5.992 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.1581, allocations: 55.44 kB / 420 MB, free: 5.938 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1581, allocations: 0 / 420 MB, free: 5.938 MB / 318.1 MB Notification: Performance of Templates: time 0.1458/0.3039, allocations: 10.01 MB / 430 MB, free: 53.48 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)