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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 118.9 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 211.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 207.6 MB / 230.5 MB, free: 4.031 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008667/0.008667, allocations: 1.954 MB / 284.3 MB, free: 14.36 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(MEV.Test.TestSequencer,fileNamePrefix="MEV_MEV_Test_TestSequencer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestSequencer,fileNamePrefix="MEV_MEV_Test_TestSequencer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 67.91 kB / 397.3 MB, free: 8.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2475, allocations: 49.66 MB / 447 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002384/0.2499, allocations: 1.431 MB / 448.4 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003589/0.2502, allocations: 129.7 kB / 448.5 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-05/0.2503, allocations: 5.375 kB / 448.5 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.2504, allocations: 11.83 kB / 448.5 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.2505, allocations: 14.36 kB / 448.5 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.2507, allocations: 17.42 kB / 448.6 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007967/0.2515, allocations: 0.7433 MB / 449.3 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004827/0.2519, allocations: 330 kB / 449.6 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003896/0.2523, allocations: 378.4 kB / 450 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007478/0.2531, allocations: 0.5523 MB / 450.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002589/0.2533, allocations: 94.25 kB / 450.6 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.2535, allocations: 94.81 kB / 450.7 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.2538, allocations: 273.6 kB / 451 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000485/0.2543, allocations: 407 kB / 451.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.2555, allocations: 1.017 MB / 452.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2555, allocations: 0 / 452.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2555, allocations: 0 / 452.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.276e-05/0.2555, allocations: 0 / 452.4 MB, free: 5.703 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.003189/0.2587, allocations: 1.444 MB / 453.9 MB, free: 4.895 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.2588, allocations: 12.52 kB / 453.9 MB, free: 4.891 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.971e-05/0.2588, allocations: 19.09 kB / 453.9 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.2589, allocations: 100.6 kB / 454 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.2591, allocations: 89.44 kB / 454.1 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00072/0.2598, allocations: 0.5327 MB / 454.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.72e-05/0.2599, allocations: 59.23 kB / 454.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.26, allocations: 59.33 kB / 454.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.2623, allocations: 1.244 MB / 456 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.2624, allocations: 4 kB / 456 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.11e-05/0.2624, allocations: 25.48 kB / 456 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.2625, allocations: 12.44 kB / 456 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005157/0.2676, allocations: 3.169 MB / 459.2 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003513/0.2711, allocations: 2.404 MB / 461.6 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002958/0.2741, allocations: 1.596 MB / 463.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003642/0.2777, allocations: 1.894 MB / 465.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.873e-05/0.2778, allocations: 4.656 kB / 465.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002257/0.28, allocations: 1.3 MB / 466.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=99): time 2.745e-06/0.2801, allocations: 0 / 466.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=99): time 0.005784/0.2858, allocations: 2.865 MB / 469.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/0.2859, allocations: 80.39 kB / 469.3 MB, free: 10.51 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000724/0.2866, allocations: 0.5174 MB / 469.8 MB, free: 9.984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.2867, allocations: 57.69 kB / 469.9 MB, free: 9.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.287, allocations: 281.5 kB / 470.2 MB, free: 9.641 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003748/0.2874, allocations: 309.5 kB / 470.5 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003089/0.2877, allocations: 162.7 kB / 470.6 MB, free: 9.172 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.2879, allocations: 394.7 kB / 471 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.2895, allocations: 0.7435 MB / 471.8 MB, free: 8.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/0.2912, allocations: 1.028 MB / 472.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003391/0.2946, allocations: 1.787 MB / 474.6 MB, free: 4.969 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.2946, allocations: 4 kB / 474.6 MB, free: 4.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003726/0.2984, allocations: 1.836 MB / 476.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.2984, allocations: 8 kB / 476.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.2984, allocations: 8 kB / 476.4 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.602e-05/0.2984, allocations: 19.98 kB / 476.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.2995, allocations: 239.6 kB / 476.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.388e-05/0.2995, allocations: 23.92 kB / 476.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007496/0.3002, allocations: 159.5 kB / 476.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.177e-05/0.3003, allocations: 40 kB / 476.9 MB, free: 2.633 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.0006834/0.301, allocations: 393.2 kB / 477.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.3012, allocations: 71.56 kB / 477.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004015/0.3016, allocations: 131.2 kB / 477.5 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.3016, allocations: 8 kB / 477.5 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.3016, allocations: 4 kB / 477.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.3016, allocations: 7.969 kB / 477.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.3032, allocations: 1.112 MB / 478.6 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3032, allocations: 4 kB / 478.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008367/0.3041, allocations: 191.7 kB / 478.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3041, allocations: 4 kB / 478.8 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.473e-05/0.3041, allocations: 20 kB / 478.8 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.451e-06/0.3041, allocations: 4 kB / 478.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3041, allocations: 0 / 478.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004076/0.3082, allocations: 2.07 MB / 480.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.3084, allocations: 156.5 kB / 481.1 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.3085, allocations: 15.98 kB / 481.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000707/0.3092, allocations: 123.8 kB / 481.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009931/0.3102, allocations: 452.3 kB / 481.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.044e-05/0.3103, allocations: 27.98 kB / 481.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000515/0.3108, allocations: 383 kB / 482 MB, free: 13.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3108, allocations: 0 / 482 MB, free: 13.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007533/0.3115, allocations: 227.7 kB / 482.3 MB, free: 13.17 MB / 350.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.004464/0.316, allocations: 2.647 MB / 484.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003692/0.3197, allocations: 1.807 MB / 486.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3197, allocations: 0 / 486.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00189/0.3216, allocations: 0.9672 MB / 487.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.322, allocations: 57.95 kB / 487.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.3387, allocations: 10.23 MB / 498 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007534/0.3395, allocations: 1.056 MB / 499 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008158/0.3403, allocations: 316.7 kB / 499.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005472/0.3408, allocations: 239.4 kB / 499.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3408, allocations: 0 / 499.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04195/0.3828, allocations: 16.82 MB / 0.5043 GB, free: 10.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.09/9.473, allocations: 4.062 kB / 0.5043 GB, free: 10.56 MB / 382.1 MB " [Timeout remaining time 650] (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 --stepSize=0.02 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestSequencer.fmu > MEV_MEV.Test.TestSequencer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.759935703012161] Failed to read output from testmodel.py, exit status != 0: 9.603367519041058 9.626062395 9.366461795 Calling exit ...