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.00124/0.00124, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001506/0.001506, allocations: 192.6 kB / 16.14 MB, free: 6.688 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.353/1.353, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.0082/0.0082, allocations: 1.932 MB / 271.3 MB, free: 3.543 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.001377/0.001377, allocations: 59.91 kB / 329.3 MB, free: 33.16 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07522/0.07661, allocations: 47.14 MB / 376.4 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002464/0.07912, allocations: 1.491 MB / 377.9 MB, free: 476 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003108/0.07945, allocations: 117 kB / 378 MB, free: 356 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.0795, allocations: 0 / 378 MB, free: 356 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.07963, allocations: 11.92 kB / 378 MB, free: 344 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.07977, allocations: 12.3 kB / 378 MB, free: 332 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001092/0.07988, allocations: 23.92 kB / 378.1 MB, free: 308 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005791/0.08047, allocations: 0.6941 MB / 378.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004565/0.08094, allocations: 392.6 kB / 379.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.08117, allocations: 298.9 kB / 379.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000471/0.08165, allocations: 0.5262 MB / 379.9 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.08177, allocations: 68 kB / 380 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.08189, allocations: 60 kB / 380.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000193/0.08208, allocations: 227.5 kB / 380.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.08242, allocations: 393.8 kB / 380.7 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006881/0.08312, allocations: 0.9387 MB / 381.6 MB, free: 12.72 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.08313, allocations: 4 kB / 381.6 MB, free: 12.72 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.08314, allocations: 0 / 381.6 MB, free: 12.72 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.08315, allocations: 0 / 381.6 MB, free: 12.72 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.002805/0.08596, allocations: 1.434 MB / 383.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.08601, allocations: 8.031 kB / 383.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.08614, allocations: 106.6 kB / 383.2 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.08629, allocations: 83.98 kB / 383.3 MB, free: 11.03 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000651/0.08695, allocations: 0.5208 MB / 383.8 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.899e-05/0.08702, allocations: 69.22 kB / 383.8 MB, free: 10.4 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.613e-05/0.08713, allocations: 52 kB / 383.9 MB, free: 10.35 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.08925, allocations: 1.24 MB / 385.1 MB, free: 9.109 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.08928, allocations: 0 / 385.1 MB, free: 9.109 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.264e-05/0.08937, allocations: 27.98 kB / 385.2 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.08938, allocations: 12 kB / 385.2 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005391/0.09478, allocations: 3.181 MB / 388.3 MB, free: 5.883 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003619/0.09841, allocations: 2.408 MB / 390.8 MB, free: 3.418 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002957/0.1014, allocations: 1.693 MB / 392.5 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003241/0.1046, allocations: 2.098 MB / 394.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.959e-05/0.1047, allocations: 8.656 kB / 394.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002014/0.1067, allocations: 1.296 MB / 395.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 2.284e-06/0.1067, allocations: 0 / 395.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=99): time 0.004875/0.1116, allocations: 2.865 MB / 398.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.1117, allocations: 84.38 kB / 398.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.1122, allocations: 0.5096 MB / 399.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.216e-05/0.1123, allocations: 61.69 kB / 399.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.1125, allocations: 281.1 kB / 399.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.1127, allocations: 292 kB / 399.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.113, allocations: 162.7 kB / 400.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1132, allocations: 394.7 kB / 400.5 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.1145, allocations: 0.7357 MB / 401.2 MB, free: 8.891 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/0.116, allocations: 1.028 MB / 402.2 MB, free: 7.738 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002852/0.1189, allocations: 1.787 MB / 404 MB, free: 5.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.1189, allocations: 4 kB / 404 MB, free: 5.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003128/0.122, allocations: 1.832 MB / 405.9 MB, free: 3.977 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.1221, allocations: 15.94 kB / 405.9 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.1221, allocations: 8 kB / 405.9 MB, free: 3.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.1221, allocations: 15.94 kB / 405.9 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009004/0.123, allocations: 243.6 kB / 406.1 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.391e-05/0.123, allocations: 23.91 kB / 406.2 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/0.1236, allocations: 155.2 kB / 406.3 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.1237, allocations: 43.94 kB / 406.4 MB, free: 3.48 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.0004497/0.1242, allocations: 393.3 kB / 406.7 MB, free: 3.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.1243, allocations: 75.14 kB / 406.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.1246, allocations: 135.2 kB / 406.9 MB, free: 2.879 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.1246, allocations: 8 kB / 407 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1246, allocations: 0 / 407 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.1246, allocations: 7.969 kB / 407 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.1258, allocations: 1.097 MB / 408.1 MB, free: 1.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1258, allocations: 0 / 408.1 MB, free: 1.715 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007263/0.1266, allocations: 191.7 kB / 408.2 MB, free: 1.527 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.1266, allocations: 8 kB / 408.3 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.66e-05/0.1267, allocations: 23.98 kB / 408.3 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.1267, allocations: 4 kB / 408.3 MB, free: 1.492 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1267, allocations: 3.938 kB / 408.3 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00326/0.1299, allocations: 2.054 MB / 410.3 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.593e-05/0.1301, allocations: 148.1 kB / 410.5 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.1302, allocations: 19.98 kB / 410.5 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005766/0.1307, allocations: 123.8 kB / 410.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008058/0.1316, allocations: 444.3 kB / 411.1 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.076e-05/0.1316, allocations: 31.98 kB / 411.1 MB, free: 14.64 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003631/0.132, allocations: 399 kB / 411.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.132, allocations: 3.938 kB / 411.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005636/0.1326, allocations: 215.7 kB / 411.7 MB, free: 14.04 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.003646/0.1362, allocations: 2.638 MB / 414.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003125/0.1394, allocations: 1.905 MB / 416.2 MB, free: 9.469 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1394, allocations: 0 / 416.2 MB, free: 9.469 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00165/0.141, allocations: 1.072 MB / 417.3 MB, free: 8.395 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1414, allocations: 53.89 kB / 417.4 MB, free: 8.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1525/0.2939, allocations: 10.71 MB / 428.1 MB, free: 53.62 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/0.2944, allocations: 1.063 MB / 429.1 MB, free: 52.93 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000851/0.2953, allocations: 329.5 kB / 429.5 MB, free: 52.92 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004148/0.2957, allocations: 234.3 kB / 429.7 MB, free: 52.82 MB / 318.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2957, allocations: 0 / 429.7 MB, free: 52.82 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1512/0.4469, allocations: 15.17 MB / 444.9 MB, free: 44.71 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/0.4471, allocations: 153.8 kB / 445 MB, free: 44.45 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.347, allocations: 0 / 445 MB, free: 44.45 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)