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.002504/0.002503, allocations: 108 kB / 15.61 MB, free: 152 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.003387/0.003387, allocations: 194.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.225/3.225, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.02376/0.02376, allocations: 1.935 MB / 271.7 MB, free: 3.336 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.003051/0.003052, allocations: 71.83 kB / 329.9 MB, free: 32.72 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2529, allocations: 47.14 MB / 377.1 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.007949/0.261, allocations: 1.434 MB / 378.5 MB, free: 88 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006487/0.2617, allocations: 115.8 kB / 378.6 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.262, allocations: 0 / 378.6 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.2625, allocations: 11.92 kB / 378.6 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005212/0.263, allocations: 16.25 kB / 378.7 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.2637, allocations: 23.97 kB / 378.7 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.2651, allocations: 0.7368 MB / 379.4 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007532/0.2659, allocations: 408.6 kB / 379.8 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000818/0.2667, allocations: 366.9 kB / 380.2 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.2684, allocations: 0.5494 MB / 380.7 MB, free: 13.87 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005147/0.269, allocations: 99.94 kB / 380.8 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002881/0.2693, allocations: 92 kB / 380.9 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003562/0.2697, allocations: 267.3 kB / 381.2 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.2708, allocations: 421.8 kB / 381.6 MB, free: 13 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.2732, allocations: 0.9777 MB / 382.6 MB, free: 12.02 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.2732, allocations: 0 / 382.6 MB, free: 12.02 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.2732, allocations: 4 kB / 382.6 MB, free: 12.02 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.655e-05/0.2732, allocations: 0 / 382.6 MB, free: 12.02 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.006005/0.2792, allocations: 1.434 MB / 384 MB, free: 10.54 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001451/0.2794, allocations: 11.89 kB / 384 MB, free: 10.52 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005591/0.28, allocations: 102.7 kB / 384.1 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/0.2803, allocations: 80 kB / 384.2 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.2816, allocations: 0.5247 MB / 384.7 MB, free: 9.773 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002184/0.2819, allocations: 69.59 kB / 384.8 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004072/0.2824, allocations: 52.38 kB / 384.8 MB, free: 9.652 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004374/0.2868, allocations: 1.244 MB / 386.1 MB, free: 8.402 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.2869, allocations: 0 / 386.1 MB, free: 8.402 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.287, allocations: 24 kB / 386.1 MB, free: 8.379 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.287, allocations: 15.98 kB / 386.1 MB, free: 8.363 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009099/0.2961, allocations: 3.181 MB / 389.3 MB, free: 5.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007851/0.3041, allocations: 2.408 MB / 391.7 MB, free: 2.715 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005318/0.3094, allocations: 1.697 MB / 393.4 MB, free: 1.008 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005369/0.3149, allocations: 2.103 MB / 395.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.291e-05/0.315, allocations: 8.656 kB / 395.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003815/0.3188, allocations: 1.3 MB / 396.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 7.875e-06/0.3188, allocations: 4 kB / 396.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=99): time 0.01995/0.3388, allocations: 2.857 MB / 399.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002326/0.3392, allocations: 88.39 kB / 399.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.3405, allocations: 0.5135 MB / 400.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.3407, allocations: 57.69 kB / 400.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/0.3411, allocations: 281.1 kB / 400.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008149/0.3419, allocations: 292 kB / 400.9 MB, free: 9.461 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/0.343, allocations: 162.7 kB / 401 MB, free: 9.297 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0007124/0.3438, allocations: 390.7 kB / 401.4 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/0.346, allocations: 0.7396 MB / 402.2 MB, free: 8.164 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002829/0.3489, allocations: 1.025 MB / 403.2 MB, free: 7.016 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005286/0.3543, allocations: 1.791 MB / 405 MB, free: 5.098 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.012e-05/0.3544, allocations: 4 kB / 405 MB, free: 5.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.006012/0.3604, allocations: 1.828 MB / 406.8 MB, free: 3.258 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.747e-05/0.3606, allocations: 12 kB / 406.8 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.13e-05/0.3607, allocations: 8 kB / 406.8 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.021e-05/0.3608, allocations: 15.98 kB / 406.8 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.3623, allocations: 243.6 kB / 407.1 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.801e-05/0.3623, allocations: 19.92 kB / 407.1 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.3635, allocations: 155.2 kB / 407.3 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002466/0.3638, allocations: 43.94 kB / 407.3 MB, free: 2.77 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.001196/0.365, allocations: 385.3 kB / 407.7 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/0.3653, allocations: 79.08 kB / 407.8 MB, free: 2.305 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.3657, allocations: 131.2 kB / 407.9 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.3657, allocations: 8 kB / 407.9 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.947e-05/0.3657, allocations: 0 / 407.9 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-05/0.3658, allocations: 11.91 kB / 407.9 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002987/0.3688, allocations: 1.101 MB / 409 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.3688, allocations: 3.938 kB / 409 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.3699, allocations: 191.8 kB / 409.2 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-05/0.37, allocations: 4 kB / 409.2 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003906/0.3704, allocations: 20 kB / 409.2 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.027e-05/0.3705, allocations: 3.938 kB / 409.2 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.3705, allocations: 4 kB / 409.2 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006992/0.3775, allocations: 2.058 MB / 411.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/0.378, allocations: 152.1 kB / 411.4 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005448/0.3786, allocations: 19.98 kB / 411.5 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.3797, allocations: 115.8 kB / 411.6 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001328/0.381, allocations: 452.3 kB / 412 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003574/0.3814, allocations: 31.98 kB / 412 MB, free: 13.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009368/0.3824, allocations: 387 kB / 412.4 MB, free: 13.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.273e-06/0.3824, allocations: 3.938 kB / 412.4 MB, free: 13.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001075/0.3835, allocations: 223.7 kB / 412.6 MB, free: 13.33 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.006787/0.3903, allocations: 2.642 MB / 415.3 MB, free: 10.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.007391/0.3978, allocations: 2.42 MB / 417.7 MB, free: 8.234 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3978, allocations: 0 / 417.7 MB, free: 8.234 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003255/0.4011, allocations: 1.072 MB / 418.8 MB, free: 7.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005609/0.4017, allocations: 57.08 kB / 418.8 MB, free: 7.105 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4653/0.867, allocations: 10.49 MB / 429.3 MB, free: 53.19 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002816/0.8699, allocations: 1.06 MB / 430.4 MB, free: 52.45 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00329/0.8733, allocations: 311.2 kB / 430.7 MB, free: 52.45 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/0.8747, allocations: 246.3 kB / 430.9 MB, free: 52.27 MB / 318.1 MB Notification: Performance of SimCode: time 2.955e-06/0.8747, allocations: 0 / 430.9 MB, free: 52.27 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/0.9843, allocations: 16.44 MB / 447.4 MB, free: 42.59 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.35/16.33, allocations: 12.03 kB / 447.4 MB, free: 42.58 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)