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-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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.0006962/0.0006963, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007325/0.0007324, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.165/1.165, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.008242/0.008242, allocations: 1.924 MB / 272.3 MB, free: 3.629 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.0004654/0.0004654, allocations: 19.94 kB / 331 MB, free: 33.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07009/0.07057, allocations: 48.09 MB / 379.1 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.00159/0.0722, allocations: 1.14 MB / 380.2 MB, free: 15.97 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003333/0.07257, allocations: 132.7 kB / 380.4 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.554e-05/0.07263, allocations: 0 / 380.4 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.7e-05/0.07274, allocations: 3.938 kB / 380.4 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.07288, allocations: 19.92 kB / 380.4 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.07302, allocations: 11.98 kB / 380.4 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006519/0.07368, allocations: 0.6705 MB / 381.1 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004953/0.07418, allocations: 353.8 kB / 381.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000334/0.07453, allocations: 247.1 kB / 381.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004682/0.07501, allocations: 466.5 kB / 382.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.07512, allocations: 48 kB / 382.2 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.158e-05/0.07522, allocations: 52 kB / 382.2 MB, free: 14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.07538, allocations: 195.3 kB / 382.4 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.07553, allocations: 141.2 kB / 382.5 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000561/0.0761, allocations: 0.7098 MB / 383.2 MB, free: 12.95 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.07611, allocations: 4 kB / 383.2 MB, free: 12.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.07612, allocations: 0 / 383.2 MB, free: 12.95 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.051e-05/0.07615, allocations: 0 / 383.2 MB, free: 12.95 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.003407/0.07956, allocations: 1.894 MB / 385.1 MB, free: 11 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.0796, allocations: 8.031 kB / 385.1 MB, free: 10.99 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00018/0.07979, allocations: 106.5 kB / 385.2 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.07996, allocations: 79.06 kB / 385.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006295/0.0806, allocations: 0.4967 MB / 385.8 MB, free: 10.26 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.304e-05/0.08067, allocations: 61.28 kB / 385.9 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.336e-05/0.08077, allocations: 59.95 kB / 385.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.08289, allocations: 1.322 MB / 387.3 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.08291, allocations: 4 kB / 387.3 MB, free: 8.812 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.77e-05/0.08299, allocations: 20 kB / 387.3 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.08301, allocations: 16 kB / 387.3 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005333/0.08835, allocations: 3.337 MB / 390.6 MB, free: 5.434 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004313/0.09267, allocations: 2.891 MB / 393.5 MB, free: 2.488 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003272/0.09596, allocations: 1.889 MB / 395.4 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003569/0.09954, allocations: 2.479 MB / 397.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.954e-05/0.09961, allocations: 8.656 kB / 397.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001999/0.1016, allocations: 1.378 MB / 399.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 2.515e-06/0.1016, allocations: 0 / 399.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=99): time 0.004922/0.1066, allocations: 3.099 MB / 402.4 MB, free: 9.602 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.1066, allocations: 84.38 kB / 402.5 MB, free: 9.508 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005058/0.1071, allocations: 0.5174 MB / 403 MB, free: 8.984 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.603e-05/0.1072, allocations: 57.69 kB / 403 MB, free: 8.922 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.1074, allocations: 281.2 kB / 403.3 MB, free: 8.641 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.1076, allocations: 292 kB / 403.6 MB, free: 8.352 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.1077, allocations: 16 kB / 403.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1079, allocations: 386.8 kB / 404 MB, free: 7.949 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.1092, allocations: 0.8177 MB / 404.8 MB, free: 7.133 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.1107, allocations: 1.11 MB / 405.9 MB, free: 5.898 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.1122, allocations: 0.8853 MB / 406.8 MB, free: 5.012 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.1122, allocations: 7.938 kB / 406.8 MB, free: 5.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003214/0.1154, allocations: 1.992 MB / 408.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1154, allocations: 8 kB / 408.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.1154, allocations: 8 kB / 408.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.1155, allocations: 19.98 kB / 408.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008829/0.1164, allocations: 283.6 kB / 409.1 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.506e-05/0.1164, allocations: 19.94 kB / 409.1 MB, free: 2.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006113/0.117, allocations: 207.2 kB / 409.3 MB, free: 2.469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-05/0.1171, allocations: 40 kB / 409.4 MB, free: 2.43 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,$PRE.sequencer.generators[1].offTime,sequencer.generators[1].offTime,$PRE.sequencer.generators[2].offTime,sequencer.generators[2].offTime,$PRE.sequencer.generators[3].offTime,sequencer.generators[3].offTime,$PRE.sequencer.generators[4].offTime,sequencer.generators[4].offTime,$PRE.sequencer.generators[5].offTime,sequencer.generators[5].offTime,$PRE.sequencer.generators[6].offTime,sequencer.generators[6].offTime,$PRE.sequencer.generators[7].offTime,sequencer.generators[7].offTime,$PRE.sequencer.generators[8].offTime,sequencer.generators[8].offTime,$PRE.sequencer.generators[9].offTime,sequencer.generators[9].offTime,$PRE.sequencer.generators[10].offTime,sequencer.generators[10].offTime,$PRE.sequencer.generators[11].offTime,sequencer.generators[11].offTime,$PRE.sequencer.generators[12].offTime,sequencer.generators[12].offTime,$PRE.sequencer.generators[13].offTime,sequencer.generators[13].offTime,$PRE.sequencer.generators[14].offTime,sequencer.generators[14].offTime,$PRE.sequencer.generators[15].offTime,sequencer.generators[15].offTime,$PRE.sequencer.generators[16].offTime,sequencer.generators[16].offTime,$PRE.sequencer.generators[17].offTime,sequencer.generators[17].offTime,$PRE.sequencer.generators[18].offTime,sequencer.generators[18].offTime,$PRE.sequencer.generators[19].offTime,sequencer.generators[19].offTime,$PRE.sequencer.generators[20].offTime,sequencer.generators[20].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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004053/0.1175, allocations: 389.3 kB / 409.8 MB, free: 2.039 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.1176, allocations: 67.16 kB / 409.8 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.1179, allocations: 131.2 kB / 410 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.1179, allocations: 12 kB / 410 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.118, allocations: 0 / 410 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.118, allocations: 7.984 kB / 410 MB, free: 1.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.1191, allocations: 1.109 MB / 411.1 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1191, allocations: 0 / 411.1 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007325/0.1199, allocations: 235.7 kB / 411.3 MB, free: 440 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.1199, allocations: 4 kB / 411.3 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.28e-05/0.12, allocations: 23.98 kB / 411.3 MB, free: 412 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.12, allocations: 4 kB / 411.3 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.12, allocations: 0 / 411.3 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0034/0.1234, allocations: 2.215 MB / 413.6 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1235, allocations: 152.1 kB / 413.7 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.931e-05/0.1236, allocations: 19.95 kB / 413.7 MB, free: 13.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005762/0.1242, allocations: 163.8 kB / 413.9 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007644/0.125, allocations: 448.3 kB / 414.3 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-05/0.125, allocations: 27.98 kB / 414.4 MB, free: 13.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003551/0.1254, allocations: 387 kB / 414.7 MB, free: 12.97 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1254, allocations: 0 / 414.7 MB, free: 12.97 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005553/0.126, allocations: 223.6 kB / 414.9 MB, free: 12.75 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003758/0.1297, allocations: 2.806 MB / 417.8 MB, free: 9.918 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003173/0.1329, allocations: 2.058 MB / 419.8 MB, free: 7.867 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1329, allocations: 4.188 kB / 419.8 MB, free: 7.863 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.1346, allocations: 1.142 MB / 421 MB, free: 6.719 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.135, allocations: 61.91 kB / 421 MB, free: 6.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1457/0.2807, allocations: 7.469 MB / 428.5 MB, free: 53 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006675/0.2814, allocations: 1.06 MB / 429.5 MB, free: 52.3 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001126/0.2826, allocations: 329.5 kB / 429.9 MB, free: 52.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005652/0.2832, allocations: 236.2 kB / 430.1 MB, free: 52.29 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2832, allocations: 0.9688 kB / 430.1 MB, free: 52.29 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.3078, allocations: 14.59 MB / 444.7 MB, free: 46 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001141/0.308, allocations: 138.4 kB / 444.8 MB, free: 45.75 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/2.028, allocations: 8 kB / 444.8 MB, free: 45.75 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/linux/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) Environment - environmentSimulation: