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.007622/0.007622, allocations: 102 kB / 15.73 MB, free: 6.477 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.001753/0.001753, allocations: 195.6 kB / 16.67 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.399/1.399, allocations: 205.1 MB / 222.5 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008385/0.008385, allocations: 1.916 MB / 271.8 MB, free: 3.316 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.001454/0.001454, allocations: 63.91 kB / 377.7 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07755/0.07901, allocations: 47.13 MB / 424.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.003067/0.08212, allocations: 1.436 MB / 426.3 MB, free: 272 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004319/0.08258, allocations: 123.8 kB / 426.4 MB, free: 144 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.777e-05/0.08265, allocations: 0 / 426.4 MB, free: 144 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.08277, allocations: 7.922 kB / 426.4 MB, free: 136 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.08297, allocations: 16.25 kB / 426.4 MB, free: 120 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.08311, allocations: 23.97 kB / 426.5 MB, free: 96 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1697/0.2529, allocations: 0.7412 MB / 427.2 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005207/0.2534, allocations: 408.5 kB / 427.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003253/0.2538, allocations: 366.7 kB / 428 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006394/0.2544, allocations: 0.5525 MB / 428.5 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.2546, allocations: 94.19 kB / 428.6 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.2547, allocations: 98.28 kB / 428.7 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.255, allocations: 265.8 kB / 429 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004394/0.2555, allocations: 421.5 kB / 429.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009447/0.2564, allocations: 1.005 MB / 430.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2564, allocations: 1.156 kB / 430.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2564, allocations: 0 / 430.4 MB, free: 9.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.2565, allocations: 0 / 430.4 MB, free: 9.891 MB / 318.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.002974/0.2594, allocations: 1.42 MB / 431.8 MB, free: 9.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2595, allocations: 14.78 kB / 431.8 MB, free: 9.102 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001293/0.2596, allocations: 104 kB / 431.9 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.2598, allocations: 85.56 kB / 432 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006358/0.2604, allocations: 0.524 MB / 432.5 MB, free: 8.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.895e-05/0.2605, allocations: 62.44 kB / 432.6 MB, free: 8.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.2606, allocations: 60.45 kB / 432.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/0.2629, allocations: 1.245 MB / 433.9 MB, free: 8.211 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.2629, allocations: 1.219 kB / 433.9 MB, free: 8.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.853e-05/0.263, allocations: 21.78 kB / 433.9 MB, free: 8.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.263, allocations: 12.91 kB / 433.9 MB, free: 8.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00603/0.269, allocations: 3.173 MB / 437.1 MB, free: 7.684 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003781/0.2728, allocations: 2.405 MB / 439.5 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/0.2757, allocations: 1.7 MB / 441.2 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003237/0.279, allocations: 2.05 MB / 443.3 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.319e-05/0.2791, allocations: 8.125 kB / 443.3 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001926/0.281, allocations: 1.305 MB / 444.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.856e-06/0.281, allocations: 0 / 444.6 MB, free: 4.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.005012/0.286, allocations: 2.864 MB / 447.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.2861, allocations: 88.05 kB / 447.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005978/0.2867, allocations: 0.511 MB / 448 MB, free: 2.395 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.193e-05/0.2868, allocations: 58.06 kB / 448.1 MB, free: 2.344 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.287, allocations: 279.5 kB / 448.4 MB, free: 2.098 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.2872, allocations: 291.1 kB / 448.6 MB, free: 1.863 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002935/0.2875, allocations: 165 kB / 448.8 MB, free: 1.773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2876, allocations: 392.8 kB / 449.2 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.2889, allocations: 0.7337 MB / 449.9 MB, free: 1.047 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.2904, allocations: 1.024 MB / 451 MB, free: 316 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002922/0.2933, allocations: 1.795 MB / 452.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-05/0.2933, allocations: 3.938 kB / 452.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003424/0.2968, allocations: 1.828 MB / 454.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.2968, allocations: 11.94 kB / 454.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.2968, allocations: 15.94 kB / 454.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.2968, allocations: 12 kB / 454.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009355/0.2978, allocations: 239.6 kB / 454.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.858e-05/0.2978, allocations: 23.94 kB / 454.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006953/0.2985, allocations: 152.6 kB / 455 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.924e-05/0.2986, allocations: 43.98 kB / 455.1 MB, free: 12.1 MB / 334.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.0006292/0.2993, allocations: 400.8 kB / 455.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.2994, allocations: 75.14 kB / 455.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.2997, allocations: 127.2 kB / 455.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.2997, allocations: 12 kB / 455.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.858e-05/0.2998, allocations: 0 / 455.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.2998, allocations: 9.797 kB / 455.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.3013, allocations: 1.101 MB / 456.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3014, allocations: 0 / 456.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007459/0.3021, allocations: 191.7 kB / 457 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.3021, allocations: 4 kB / 457 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.299e-05/0.3022, allocations: 19.98 kB / 457 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.3022, allocations: 4 kB / 457 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3022, allocations: 3.938 kB / 457 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003504/0.3057, allocations: 2.058 MB / 459.1 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.3059, allocations: 144.1 kB / 459.2 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.306, allocations: 19.98 kB / 459.2 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006035/0.3066, allocations: 123.8 kB / 459.3 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008634/0.3075, allocations: 448.3 kB / 459.8 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.925e-05/0.3076, allocations: 31.98 kB / 459.8 MB, free: 7.293 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004107/0.308, allocations: 387 kB / 460.2 MB, free: 6.914 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.308, allocations: 0 / 460.2 MB, free: 6.914 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006891/0.3087, allocations: 227.7 kB / 460.4 MB, free: 6.691 MB / 334.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.003968/0.3127, allocations: 2.639 MB / 463 MB, free: 4.027 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003287/0.316, allocations: 1.908 MB / 465 MB, free: 2.117 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.316, allocations: 1.562 kB / 465 MB, free: 2.117 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00173/0.3177, allocations: 1.066 MB / 466 MB, free: 1.051 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.3181, allocations: 61.86 kB / 466.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/0.3333, allocations: 10.21 MB / 476.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005953/0.3339, allocations: 1.063 MB / 477.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007425/0.3346, allocations: 320.6 kB / 477.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004906/0.3351, allocations: 243.4 kB / 477.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3351, allocations: 0 / 477.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03736/0.3725, allocations: 16.7 MB / 494.6 MB, free: 4.027 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.421/8.794, allocations: 12.02 kB / 494.6 MB, free: 4.016 MB / 366.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)