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.00144/0.00144, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001719/0.00172, allocations: 177.3 kB / 15.94 MB, free: 228 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.781/1.781, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01228/0.01228, allocations: 1.924 MB / 272.3 MB, free: 3.414 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.0005251/0.0005252, allocations: 12.22 kB / 331 MB, free: 33.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08956/0.09009, allocations: 48.09 MB / 379 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.001471/0.09161, allocations: 1.14 MB / 380.2 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003284/0.09196, allocations: 120.9 kB / 380.3 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.09202, allocations: 4 kB / 380.3 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.09214, allocations: 7.938 kB / 380.3 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.09226, allocations: 19.92 kB / 380.3 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.09238, allocations: 15.98 kB / 380.4 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004605/0.09285, allocations: 423.6 kB / 380.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004125/0.09327, allocations: 361.8 kB / 381.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.09347, allocations: 227.2 kB / 381.3 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004171/0.09389, allocations: 458.6 kB / 381.8 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8e-05/0.09398, allocations: 51.94 kB / 381.8 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.634e-05/0.09408, allocations: 56 kB / 381.9 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.09425, allocations: 195.4 kB / 382.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.09438, allocations: 129.3 kB / 382.2 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000531/0.09492, allocations: 0.7098 MB / 382.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.09493, allocations: 0 / 382.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.09494, allocations: 4 kB / 382.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.09496, allocations: 0 / 382.9 MB, free: 13.23 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.003588/0.09855, allocations: 1.898 MB / 384.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.0986, allocations: 12.02 kB / 384.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.09876, allocations: 106.4 kB / 384.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.09891, allocations: 83.05 kB / 385 MB, free: 11.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008036/0.09972, allocations: 0.4967 MB / 385.5 MB, free: 10.53 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.0998, allocations: 65.22 kB / 385.6 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.09991, allocations: 59.95 kB / 385.6 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.1022, allocations: 1.31 MB / 386.9 MB, free: 9.094 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1022, allocations: 4 kB / 387 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.859e-05/0.1023, allocations: 23.98 kB / 387 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.1023, allocations: 12 kB / 387 MB, free: 9.055 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005619/0.108, allocations: 3.341 MB / 390.3 MB, free: 5.707 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004947/0.1129, allocations: 2.895 MB / 393.2 MB, free: 2.758 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/0.1163, allocations: 1.885 MB / 395.1 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.916e-05/0.1164, allocations: 8.656 kB / 395.1 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002314/0.1187, allocations: 1.374 MB / 396.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 2.896e-06/0.1187, allocations: 8 kB / 396.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=99): time 0.005499/0.1242, allocations: 3.091 MB / 399.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.1243, allocations: 88.38 kB / 399.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005331/0.1249, allocations: 0.5096 MB / 400.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.23e-05/0.125, allocations: 57.69 kB / 400.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.1252, allocations: 281.2 kB / 400.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.1254, allocations: 296.1 kB / 400.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.1255, allocations: 16 kB / 400.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1256, allocations: 386.8 kB / 401.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.1271, allocations: 0.8177 MB / 402 MB, free: 9.895 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.1288, allocations: 1.099 MB / 403.1 MB, free: 8.668 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.1304, allocations: 0.8892 MB / 404 MB, free: 7.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.1304, allocations: 4 kB / 404 MB, free: 7.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003778/0.1342, allocations: 1.992 MB / 406 MB, free: 5.777 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.1342, allocations: 8 kB / 406 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/0.1343, allocations: 16 kB / 406 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/0.1343, allocations: 12 kB / 406 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.1354, allocations: 295.5 kB / 406.3 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.149e-05/0.1354, allocations: 23.92 kB / 406.3 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007804/0.1362, allocations: 199.2 kB / 406.5 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.159e-05/0.1363, allocations: 40 kB / 406.6 MB, free: 5.195 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.0006173/0.1369, allocations: 385.3 kB / 407 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.137, allocations: 79.09 kB / 407 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.1373, allocations: 131.2 kB / 407.2 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.1373, allocations: 8 kB / 407.2 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.1373, allocations: 3.984 kB / 407.2 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.659e-06/0.1374, allocations: 3.984 kB / 407.2 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.1387, allocations: 1.108 MB / 408.3 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1387, allocations: 0 / 408.3 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008241/0.1395, allocations: 239.7 kB / 408.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.1396, allocations: 4 kB / 408.5 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.194e-05/0.1396, allocations: 23.92 kB / 408.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.1396, allocations: 4 kB / 408.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1396, allocations: 0 / 408.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003713/0.1434, allocations: 2.219 MB / 410.8 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.1435, allocations: 148.1 kB / 410.9 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.1436, allocations: 23.92 kB / 410.9 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006941/0.1443, allocations: 163.8 kB / 411.1 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007779/0.1451, allocations: 448.3 kB / 411.5 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.74e-05/0.1452, allocations: 27.98 kB / 411.6 MB, free: 108 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003963/0.1456, allocations: 383 kB / 411.9 MB, free: 15.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1456, allocations: 4 kB / 411.9 MB, free: 15.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006375/0.1462, allocations: 219.7 kB / 412.2 MB, free: 15.51 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.00409/0.1503, allocations: 2.802 MB / 415 MB, free: 12.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003983/0.1543, allocations: 2.062 MB / 417 MB, free: 10.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1544, allocations: 0 / 417 MB, free: 10.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00197/0.1564, allocations: 1.154 MB / 418.2 MB, free: 9.469 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.1566, allocations: 33.97 kB / 418.2 MB, free: 9.438 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2342/0.3909, allocations: 13.36 MB / 431.6 MB, free: 53.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007692/0.3917, allocations: 1.072 MB / 432.6 MB, free: 52.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009292/0.3926, allocations: 329.2 kB / 433 MB, free: 52.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004278/0.3931, allocations: 233 kB / 433.2 MB, free: 52.42 MB / 318.1 MB Notification: Performance of SimCode: time 1.353e-06/0.3931, allocations: 3.875 kB / 433.2 MB, free: 52.42 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.4191, allocations: 14.55 MB / 447.7 MB, free: 43.48 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.4194, allocations: 134.5 kB / 447.9 MB, free: 43.26 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.205/2.624, allocations: 0 / 447.9 MB, free: 43.26 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: