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.000804/0.000804, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 13.93 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.0008/0.0008, allocations: 169.9 kB / 22.46 MB, free: 2.094 MB / 18.57 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 0.8097/0.8097, allocations: 158.6 MB / 184.2 MB, free: 3.047 MB / 170.7 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.005538/0.005538, allocations: 1.436 MB / 237.9 MB, free: 13.94 MB / 234.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestSequencer,fileNamePrefix="MEV_MEV_Test_TestSequencer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 352.5 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.828e-05, allocations: 6.219 kB / 352.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002087/0.002106, allocations: 1.428 MB / 353.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003318/0.002437, allocations: 121.7 kB / 354 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.191e-05/0.002489, allocations: 0 / 354 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.002607, allocations: 15.81 kB / 354 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.002767, allocations: 12.36 kB / 354 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.002896, allocations: 23.91 kB / 354.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005175/0.003413, allocations: 0.7677 MB / 354.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003096/0.003723, allocations: 225 kB / 355 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004115/0.004134, allocations: 499.1 kB / 355.5 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000511/0.004645, allocations: 0.5457 MB / 356.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.004778, allocations: 96 kB / 356.2 MB, free: 12.17 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.791e-05/0.004876, allocations: 95.94 kB / 356.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.005035, allocations: 271.2 kB / 356.5 MB, free: 11.81 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.005279, allocations: 287.2 kB / 356.8 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005251/0.005804, allocations: 1.087 MB / 357.9 MB, free: 10.44 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.005806, allocations: 0 / 357.9 MB, free: 10.44 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.005808, allocations: 4 kB / 357.9 MB, free: 10.44 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.005817, allocations: 0 / 357.9 MB, free: 10.44 MB / 282.7 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.001506/0.007323, allocations: 1.382 MB / 359.3 MB, free: 9.023 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.007359, allocations: 11.98 kB / 359.3 MB, free: 9.012 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.966e-05/0.007439, allocations: 98.7 kB / 359.4 MB, free: 8.906 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.392e-05/0.007523, allocations: 92.36 kB / 359.5 MB, free: 8.816 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.007929, allocations: 495.2 kB / 360 MB, free: 8.305 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.007971, allocations: 61.66 kB / 360 MB, free: 8.242 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.008028, allocations: 52.38 kB / 360.1 MB, free: 8.191 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.009156, allocations: 1.244 MB / 361.3 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.009168, allocations: 192 / 361.3 MB, free: 6.941 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.965e-05/0.009218, allocations: 27.92 kB / 361.3 MB, free: 6.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.009227, allocations: 16 kB / 361.4 MB, free: 6.898 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002733/0.01196, allocations: 3.158 MB / 364.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.01391, allocations: 2.22 MB / 366.7 MB, free: 1.473 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.01555, allocations: 1.588 MB / 368.3 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002131/0.01768, allocations: 1.885 MB / 370.2 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.01772, allocations: 8.656 kB / 370.2 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/0.01898, allocations: 1.3 MB / 371.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=99): time 2.104e-06/0.01898, allocations: 0 / 371.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=99): time 0.003237/0.02222, allocations: 2.877 MB / 374.4 MB, free: 9.785 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.02227, allocations: 88.33 kB / 374.5 MB, free: 9.688 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.02261, allocations: 0.5135 MB / 375 MB, free: 9.168 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/0.02267, allocations: 57.69 kB / 375.1 MB, free: 9.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.02279, allocations: 285.4 kB / 375.3 MB, free: 8.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.02295, allocations: 301.6 kB / 375.6 MB, free: 8.523 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.02312, allocations: 166.7 kB / 375.8 MB, free: 8.355 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.02335, allocations: 390.8 kB / 376.2 MB, free: 7.965 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008232/0.02417, allocations: 0.7396 MB / 376.9 MB, free: 7.223 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009347/0.0251, allocations: 1.025 MB / 377.9 MB, free: 6.074 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.02712, allocations: 1.787 MB / 379.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/0.02713, allocations: 4 kB / 379.7 MB, free: 4.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001966/0.02909, allocations: 1.832 MB / 381.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.02911, allocations: 12 kB / 381.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.02912, allocations: 8 kB / 381.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.02914, allocations: 16 kB / 381.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.02962, allocations: 251.5 kB / 381.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.02964, allocations: 15.94 kB / 381.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.02998, allocations: 163.4 kB / 382 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-05/0.03002, allocations: 36 kB / 382 MB, free: 1.816 MB / 298.7 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.0003054/0.03033, allocations: 393.3 kB / 382.4 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.0304, allocations: 71.52 kB / 382.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.03053, allocations: 131.2 kB / 382.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.03054, allocations: 11.98 kB / 382.6 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.03055, allocations: 4 kB / 382.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.03055, allocations: 7.984 kB / 382.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007679/0.03132, allocations: 0.9369 MB / 383.6 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.03132, allocations: 4 kB / 383.6 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.03172, allocations: 195.6 kB / 383.8 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.03172, allocations: 0 / 383.8 MB, free: 24 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.03176, allocations: 23.98 kB / 383.8 MB, free: 0 / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/0.03177, allocations: 4.047 kB / 383.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.03177, allocations: 0 / 383.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.0339, allocations: 2.074 MB / 385.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.03396, allocations: 83.27 kB / 386 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.815e-05/0.03402, allocations: 19.94 kB / 386 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/0.03434, allocations: 115.8 kB / 386.1 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004726/0.03481, allocations: 464.3 kB / 386.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/0.03485, allocations: 31.92 kB / 386.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005109/0.03537, allocations: 383 kB / 387 MB, free: 12.83 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03537, allocations: 0 / 387 MB, free: 12.83 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003743/0.03574, allocations: 227.7 kB / 387.2 MB, free: 12.61 MB / 314.7 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.002386/0.03813, allocations: 2.658 MB / 389.8 MB, free: 9.918 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00196/0.04009, allocations: 1.808 MB / 391.6 MB, free: 8.117 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.04009, allocations: 4.562 kB / 391.7 MB, free: 8.113 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.04112, allocations: 0.9697 MB / 392.6 MB, free: 7.141 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.04136, allocations: 52.61 kB / 392.7 MB, free: 7.094 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009724/0.05108, allocations: 10.22 MB / 402.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.05134, allocations: 468.2 kB / 403.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003936/0.05173, allocations: 312.7 kB / 403.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.05204, allocations: 244.4 kB / 403.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.05204, allocations: 0 / 403.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.07583, allocations: 17.78 MB / 421.7 MB, free: 9.625 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.285/7.361, allocations: 4.062 kB / 421.7 MB, free: 9.621 MB / 346.7 MB " [Timeout remaining time 653] (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 sys.exit(0), Time elapsed: 9.114690688438714] Failed to read output from testmodel.py, exit status != 0: 7.448987811803818 7.615851075 7.608047194 Calling exit ...