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: "" <> buildModelFMU(MEV.Test.TestSequencer,fileNamePrefix="MEV_MEV_Test_TestSequencer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestSequencer,fileNamePrefix="MEV_MEV_Test_TestSequencer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00754/0.00754, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.272/1.272, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007567/0.007567, allocations: 1.924 MB / 272.7 MB, free: 3.281 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.0005109/0.000511, allocations: 20.2 kB / 331.6 MB, free: 32.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.075/0.07552, allocations: 48.09 MB / 379.7 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.001708/0.07727, allocations: 1.16 MB / 380.9 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003735/0.07767, allocations: 125 kB / 381 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.681e-05/0.07774, allocations: 0 / 381 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.07786, allocations: 3.938 kB / 381 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.07802, allocations: 12.3 kB / 381 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001323/0.07816, allocations: 27.98 kB / 381 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006866/0.07886, allocations: 0.694 MB / 381.7 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005512/0.07942, allocations: 388.6 kB / 382.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003636/0.07979, allocations: 251 kB / 382.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005188/0.08032, allocations: 487 kB / 382.8 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.882e-05/0.08042, allocations: 48 kB / 382.9 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.955e-05/0.08052, allocations: 51.94 kB / 382.9 MB, free: 13.49 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.08069, allocations: 203.5 kB / 383.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004004/0.0811, allocations: 375.6 kB / 383.5 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008126/0.08192, allocations: 0.915 MB / 384.4 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.08193, allocations: 4 kB / 384.4 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.08194, allocations: 0 / 384.4 MB, free: 12 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.08196, allocations: 0 / 384.4 MB, free: 12 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.003833/0.0858, allocations: 1.887 MB / 386.3 MB, free: 10.06 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.08585, allocations: 12.03 kB / 386.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000152/0.08601, allocations: 102.7 kB / 386.4 MB, free: 9.938 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.08616, allocations: 83.98 kB / 386.5 MB, free: 9.855 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006664/0.08684, allocations: 0.5209 MB / 387 MB, free: 9.297 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.058e-05/0.08692, allocations: 65.22 kB / 387.1 MB, free: 9.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.08705, allocations: 52 kB / 387.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.08935, allocations: 1.326 MB / 388.4 MB, free: 7.852 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.08938, allocations: 0 / 388.4 MB, free: 7.852 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.112e-05/0.08946, allocations: 23.98 kB / 388.5 MB, free: 7.828 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.08949, allocations: 19.94 kB / 388.5 MB, free: 7.809 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006047/0.09554, allocations: 3.337 MB / 391.8 MB, free: 4.465 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005499/0.1011, allocations: 2.899 MB / 394.7 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003516/0.1046, allocations: 1.889 MB / 396.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003907/0.1085, allocations: 2.3 MB / 398.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.179e-05/0.1086, allocations: 8.656 kB / 398.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002449/0.1111, allocations: 1.386 MB / 400.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 2.915e-06/0.1111, allocations: 0 / 400.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=99): time 0.005575/0.1167, allocations: 3.111 MB / 403.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.1168, allocations: 88.38 kB / 403.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005354/0.1173, allocations: 0.5096 MB / 404 MB, free: 8.176 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.338e-05/0.1174, allocations: 57.69 kB / 404.1 MB, free: 8.113 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.1176, allocations: 277.2 kB / 404.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.1178, allocations: 292 kB / 404.6 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.118, allocations: 85.67 kB / 404.7 MB, free: 7.457 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1181, allocations: 390.7 kB / 405.1 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.1197, allocations: 0.8177 MB / 405.9 MB, free: 6.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.1214, allocations: 1.114 MB / 407 MB, free: 5.012 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003201/0.1246, allocations: 1.952 MB / 409 MB, free: 2.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.1246, allocations: 4 kB / 409 MB, free: 2.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003534/0.1281, allocations: 1.996 MB / 411 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.1282, allocations: 11.94 kB / 411 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.1282, allocations: 12 kB / 411 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.1282, allocations: 12 kB / 411 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.1292, allocations: 283.6 kB / 411.3 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.1293, allocations: 19.92 kB / 411.3 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000709/0.13, allocations: 199.2 kB / 411.5 MB, free: 404 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.168e-05/0.13, allocations: 43.94 kB / 411.5 MB, free: 360 kB / 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.0004717/0.1305, allocations: 389.3 kB / 411.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.1306, allocations: 67.16 kB / 412 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00037/0.131, allocations: 135.2 kB / 412.1 MB, free: 15.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.131, allocations: 12 kB / 412.1 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.131, allocations: 8 kB / 412.1 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.1311, allocations: 3.984 kB / 412.1 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.1323, allocations: 1.097 MB / 413.2 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1324, allocations: 0 / 413.2 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000841/0.1332, allocations: 231.7 kB / 413.5 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.1332, allocations: 8 kB / 413.5 MB, free: 14.35 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/0.1333, allocations: 23.92 kB / 413.5 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1333, allocations: 4 kB / 413.5 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1333, allocations: 3.938 kB / 413.5 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003741/0.137, allocations: 2.222 MB / 415.7 MB, free: 12.08 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.1372, allocations: 152.1 kB / 415.9 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.199e-05/0.1373, allocations: 16 kB / 415.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007011/0.138, allocations: 163.8 kB / 416 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008557/0.1388, allocations: 452.3 kB / 416.5 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.989e-05/0.1389, allocations: 27.98 kB / 416.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003804/0.1393, allocations: 391 kB / 416.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1393, allocations: 0 / 416.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000548/0.1398, allocations: 227.6 kB / 417.1 MB, free: 10.66 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.004039/0.1439, allocations: 2.81 MB / 419.9 MB, free: 7.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003492/0.1474, allocations: 2.065 MB / 422 MB, free: 5.762 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1474, allocations: 0 / 422 MB, free: 5.762 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001843/0.1493, allocations: 1.151 MB / 423.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.1496, allocations: 53.89 kB / 423.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1699/0.3195, allocations: 11.14 MB / 434.3 MB, free: 50.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006259/0.3202, allocations: 1.062 MB / 435.4 MB, free: 50.08 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009166/0.3211, allocations: 329.4 kB / 435.7 MB, free: 50.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004305/0.3216, allocations: 232.8 kB / 435.9 MB, free: 49.89 MB / 318.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3216, allocations: 0 / 435.9 MB, free: 49.89 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6929/1.014, allocations: 14.87 MB / 450.8 MB, free: 40.16 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/1.015, allocations: 149.1 kB / 451 MB, free: 39.9 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/3.433, allocations: 0 / 451 MB, free: 39.9 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestSequencer_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestSequencer.fmu > MEV_MEV.Test.TestSequencer.pipe 2>&1)