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.001084/0.001083, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001101/0.0011, allocations: 188.9 kB / 16.25 MB, free: 6.148 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.262/1.262, allocations: 205.1 MB / 222.1 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008124/0.008124, allocations: 1.931 MB / 271.4 MB, free: 3.348 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.001312/0.001312, allocations: 68.27 kB / 329.4 MB, free: 33.04 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07671/0.07803, allocations: 47.14 MB / 376.6 MB, free: 1.855 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002717/0.08078, allocations: 1.499 MB / 378.1 MB, free: 344 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003541/0.08115, allocations: 117 kB / 378.2 MB, free: 224 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.626e-05/0.08121, allocations: 0 / 378.2 MB, free: 224 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.08136, allocations: 11.94 kB / 378.2 MB, free: 212 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.08152, allocations: 16.3 kB / 378.2 MB, free: 196 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001277/0.08165, allocations: 23.97 kB / 378.2 MB, free: 172 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007475/0.08241, allocations: 0.737 MB / 379 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005176/0.08294, allocations: 404.6 kB / 379.4 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.08325, allocations: 370.9 kB / 379.7 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005677/0.08383, allocations: 0.5497 MB / 380.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.08396, allocations: 96 kB / 380.4 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.08409, allocations: 92 kB / 380.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002291/0.08432, allocations: 263.5 kB / 380.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003692/0.0847, allocations: 429.8 kB / 381.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008044/0.08551, allocations: 0.9777 MB / 382.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.08552, allocations: 4 kB / 382.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.08553, allocations: 0 / 382.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.08554, allocations: 0 / 382.1 MB, free: 12.27 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.003003/0.08855, allocations: 1.43 MB / 383.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.08861, allocations: 11.89 kB / 383.6 MB, free: 10.78 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.08876, allocations: 102.7 kB / 383.7 MB, free: 10.67 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.08892, allocations: 87.98 kB / 383.8 MB, free: 10.58 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006733/0.0896, allocations: 0.517 MB / 384.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.496e-05/0.08968, allocations: 73.16 kB / 384.3 MB, free: 9.953 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.0898, allocations: 56 kB / 384.4 MB, free: 9.898 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.09207, allocations: 1.236 MB / 385.6 MB, free: 8.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.09209, allocations: 0 / 385.6 MB, free: 8.66 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-05/0.09218, allocations: 23.98 kB / 385.7 MB, free: 8.637 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.0922, allocations: 15.94 kB / 385.7 MB, free: 8.621 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005509/0.09772, allocations: 3.177 MB / 388.8 MB, free: 5.438 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003747/0.1015, allocations: 2.419 MB / 391.3 MB, free: 2.961 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003135/0.1046, allocations: 1.693 MB / 393 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003428/0.1081, allocations: 2.1 MB / 395.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.294e-05/0.1082, allocations: 8.656 kB / 395.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002121/0.1103, allocations: 1.3 MB / 396.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 3.376e-06/0.1103, allocations: 0 / 396.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=99): time 0.005259/0.1156, allocations: 2.861 MB / 399.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.1157, allocations: 84.38 kB / 399.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005827/0.1163, allocations: 0.5135 MB / 399.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-05/0.1164, allocations: 61.69 kB / 399.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.1166, allocations: 277.1 kB / 400.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/0.1168, allocations: 292 kB / 400.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.1171, allocations: 170.7 kB / 400.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.1173, allocations: 390.7 kB / 401 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/0.1187, allocations: 0.7357 MB / 401.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.1203, allocations: 1.028 MB / 402.8 MB, free: 7.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002953/0.1232, allocations: 1.787 MB / 404.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.1233, allocations: 4 kB / 404.5 MB, free: 5.355 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003378/0.1266, allocations: 1.828 MB / 406.4 MB, free: 3.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.1267, allocations: 8 kB / 406.4 MB, free: 3.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.1267, allocations: 8 kB / 406.4 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.669e-05/0.1267, allocations: 16.06 kB / 406.4 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009595/0.1277, allocations: 247.5 kB / 406.6 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/0.1277, allocations: 19.94 kB / 406.7 MB, free: 3.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006777/0.1284, allocations: 155.2 kB / 406.8 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.378e-05/0.1285, allocations: 47.92 kB / 406.9 MB, free: 3.027 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.0005687/0.1291, allocations: 393.3 kB / 407.2 MB, free: 2.633 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.1292, allocations: 71.14 kB / 407.3 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.1295, allocations: 131.2 kB / 407.4 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.1295, allocations: 8 kB / 407.5 MB, free: 2.426 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.1295, allocations: 4 kB / 407.5 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.1295, allocations: 7.969 kB / 407.5 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.1309, allocations: 1.097 MB / 408.6 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1309, allocations: 0 / 408.6 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008337/0.1318, allocations: 191.7 kB / 408.8 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.1318, allocations: 4 kB / 408.8 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.21e-05/0.1319, allocations: 23.98 kB / 408.8 MB, free: 1.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.1319, allocations: 4 kB / 408.8 MB, free: 1.047 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1319, allocations: 3.938 kB / 408.8 MB, free: 1.043 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003622/0.1355, allocations: 2.058 MB / 410.8 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.1357, allocations: 148.1 kB / 411 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.1358, allocations: 19.98 kB / 411 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006171/0.1364, allocations: 123.8 kB / 411.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009028/0.1373, allocations: 448.3 kB / 411.6 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.377e-05/0.1374, allocations: 31.98 kB / 411.6 MB, free: 14.19 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003958/0.1378, allocations: 390.9 kB / 412 MB, free: 13.8 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1378, allocations: 0 / 412 MB, free: 13.8 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006678/0.1385, allocations: 223.7 kB / 412.2 MB, free: 13.59 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.1425, allocations: 2.642 MB / 414.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004439/0.147, allocations: 2.421 MB / 417.3 MB, free: 8.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.147, allocations: 0 / 417.3 MB, free: 8.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00183/0.1488, allocations: 1.071 MB / 418.3 MB, free: 7.426 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.1493, allocations: 57.89 kB / 418.4 MB, free: 7.367 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1614/0.3107, allocations: 10.71 MB / 429.1 MB, free: 53.33 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.3113, allocations: 1.06 MB / 430.2 MB, free: 52.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008089/0.3121, allocations: 311.8 kB / 430.5 MB, free: 52.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004418/0.3125, allocations: 245.9 kB / 430.7 MB, free: 52.41 MB / 318.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3125, allocations: 0 / 430.7 MB, free: 52.41 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.3414, allocations: 15.57 MB / 446.3 MB, free: 43.64 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/0.3416, allocations: 150 kB / 446.4 MB, free: 43.38 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.104/2.446, allocations: 3.984 kB / 446.4 MB, free: 43.38 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)