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.005971/0.005971, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001305/0.001305, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.39/1.39, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008769/0.008769, allocations: 1.939 MB / 271.8 MB, free: 3.246 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.002094/0.002094, allocations: 72.23 kB / 377.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08256/0.08467, allocations: 47.13 MB / 424.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002523/0.08723, allocations: 1.428 MB / 426.3 MB, free: 264 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003465/0.0876, allocations: 127.8 kB / 426.4 MB, free: 132 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.199e-05/0.08765, allocations: 0 / 426.4 MB, free: 132 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.8e-05/0.08776, allocations: 11.94 kB / 426.4 MB, free: 120 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.08789, allocations: 16.3 kB / 426.5 MB, free: 104 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001072/0.088, allocations: 15.92 kB / 426.5 MB, free: 88 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1533/0.2413, allocations: 0.7412 MB / 427.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004664/0.2418, allocations: 403.7 kB / 427.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/0.2421, allocations: 365 kB / 428 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005738/0.2427, allocations: 0.5555 MB / 428.5 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.2429, allocations: 93.72 kB / 428.6 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.243, allocations: 93.56 kB / 428.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.2433, allocations: 267 kB / 429 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003735/0.2437, allocations: 420.6 kB / 429.4 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008208/0.2445, allocations: 1.012 MB / 430.4 MB, free: 9.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2445, allocations: 0.6562 kB / 430.4 MB, free: 9.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2445, allocations: 1.188 kB / 430.4 MB, free: 9.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.2445, allocations: 0 / 430.4 MB, free: 9.875 MB / 318.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.002988/0.2475, allocations: 1.445 MB / 431.8 MB, free: 9.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2476, allocations: 13.95 kB / 431.9 MB, free: 9.059 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.2477, allocations: 100.5 kB / 431.9 MB, free: 8.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.2479, allocations: 89.22 kB / 432 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/0.2485, allocations: 0.5339 MB / 432.6 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.877e-05/0.2485, allocations: 63.41 kB / 432.6 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.2487, allocations: 61.03 kB / 432.7 MB, free: 8.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.251, allocations: 1.247 MB / 433.9 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.251, allocations: 2.438 kB / 433.9 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-05/0.2511, allocations: 24.2 kB / 434 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.2511, allocations: 13.84 kB / 434 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006358/0.2575, allocations: 3.171 MB / 437.1 MB, free: 7.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00382/0.2613, allocations: 2.401 MB / 439.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/0.2645, allocations: 1.701 MB / 441.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003367/0.2679, allocations: 2.063 MB / 443.3 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.464e-05/0.268, allocations: 11.56 kB / 443.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002012/0.27, allocations: 1.294 MB / 444.6 MB, free: 4.109 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 3.326e-06/0.27, allocations: 0 / 444.6 MB, free: 4.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.005195/0.2752, allocations: 2.857 MB / 447.5 MB, free: 2.711 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.2753, allocations: 91.97 kB / 447.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005185/0.2758, allocations: 0.5118 MB / 448.1 MB, free: 2.336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.043e-05/0.2759, allocations: 62.53 kB / 448.1 MB, free: 2.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.2761, allocations: 280.6 kB / 448.4 MB, free: 2.035 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.2763, allocations: 310.2 kB / 448.7 MB, free: 1.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/0.2765, allocations: 165.5 kB / 448.9 MB, free: 1.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.2766, allocations: 385.8 kB / 449.3 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.278, allocations: 0.7375 MB / 450 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/0.2795, allocations: 1.024 MB / 451 MB, free: 236 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00341/0.2829, allocations: 1.793 MB / 452.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.916e-05/0.283, allocations: 7.938 kB / 452.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003946/0.2869, allocations: 1.828 MB / 454.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.2869, allocations: 11.94 kB / 454.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.287, allocations: 12 kB / 454.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/0.287, allocations: 16.09 kB / 454.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.2881, allocations: 243.6 kB / 454.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/0.2881, allocations: 19.92 kB / 454.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008234/0.2889, allocations: 155.5 kB / 455.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.223e-05/0.289, allocations: 36 kB / 455.1 MB, free: 12.02 MB / 334.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.0006859/0.2897, allocations: 406.5 kB / 455.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.2899, allocations: 71.58 kB / 455.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.2903, allocations: 135.2 kB / 455.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.2903, allocations: 8 kB / 455.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/0.2903, allocations: 0 / 455.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.2903, allocations: 7.984 kB / 455.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.2919, allocations: 1.101 MB / 456.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2919, allocations: 0 / 456.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008977/0.2928, allocations: 191.7 kB / 457 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.2928, allocations: 4 kB / 457 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-05/0.2929, allocations: 23.98 kB / 457.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.2929, allocations: 0 / 457.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2929, allocations: 0 / 457.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004191/0.2971, allocations: 2.066 MB / 459.1 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.2973, allocations: 156.4 kB / 459.3 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.2974, allocations: 20 kB / 459.3 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007744/0.2982, allocations: 123.8 kB / 459.4 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009566/0.2992, allocations: 448.3 kB / 459.9 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.573e-05/0.2993, allocations: 28 kB / 459.9 MB, free: 7.203 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004801/0.2997, allocations: 391 kB / 460.3 MB, free: 6.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2997, allocations: 0 / 460.3 MB, free: 6.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007106/0.3005, allocations: 227.7 kB / 460.5 MB, free: 6.598 MB / 334.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.004697/0.3052, allocations: 2.644 MB / 463.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.004002/0.3092, allocations: 1.905 MB / 465 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3092, allocations: 0 / 465 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002084/0.3113, allocations: 1.07 MB / 466.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.3117, allocations: 53.86 kB / 466.2 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/0.3291, allocations: 10.24 MB / 476.4 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/0.3299, allocations: 1.067 MB / 477.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000846/0.3307, allocations: 312.7 kB / 477.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005184/0.3312, allocations: 243.4 kB / 478 MB, free: 4.68 MB / 350.1 MB Notification: Performance of SimCode: time 5.72e-07/0.3313, allocations: 0 / 478 MB, free: 4.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0426/0.3739, allocations: 16.71 MB / 494.7 MB, free: 3.906 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.125/9.499, allocations: 11.98 kB / 494.7 MB, free: 3.895 MB / 366.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)