Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.00138, allocations: 109 kB / 18.49 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 216.7 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2268/0.2268, allocations: 46.92 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002471/0.002471, allocations: 75.88 kB / 0.4917 GB, free: 7.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1374, allocations: 66.05 MB / 0.5562 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 1.126/1.264, allocations: 357.8 MB / 0.9056 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.1228/1.387, allocations: 104.5 MB / 1.008 GB, free: 15.38 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01259/1.399, allocations: 425.4 kB / 1.008 GB, free: 15.2 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01675/1.416, allocations: 5.155 MB / 1.013 GB, free: 11.61 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.06149/1.477, allocations: 18.16 MB / 1.031 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.07369/1.551, allocations: 26.02 MB / 1.056 GB, free: 3.727 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.05357/1.605, allocations: 34.07 MB / 1.09 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01533/1.62, allocations: 6.873 MB / 1.096 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.9101/2.53, allocations: 201.8 MB / 1.293 GB, free: 6.086 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1394/2.669, allocations: 68.69 MB / 1.36 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.007441/2.677, allocations: 1.159 MB / 1.361 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0413/2.718, allocations: 11.99 MB / 1.373 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.01266/2.731, allocations: 5.812 MB / 1.379 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.02535/2.756, allocations: 8.441 MB / 1.387 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.07044/2.827, allocations: 27.93 MB / 1.414 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/2.827, allocations: 0 / 1.414 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.894e-06/2.827, allocations: 0 / 1.414 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0008941/2.828, allocations: 0 / 1.414 GB, free: 11.41 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3720 * Number of variables: 3720 Notification: Performance of Generate backend data structure: time 0.06243/2.89, allocations: 18.05 MB / 1.432 GB, free: 9.441 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/2.89, allocations: 8.031 kB / 1.432 GB, free: 9.434 MB / 0.92 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004669/2.89, allocations: 342.5 kB / 1.432 GB, free: 9.098 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007448/2.898, allocations: 1.863 MB / 1.434 GB, free: 7.258 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03722/2.935, allocations: 4.6 MB / 1.439 GB, free: 2.648 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0229/2.958, allocations: 7.826 MB / 1.446 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002087/2.96, allocations: 1.205 MB / 1.447 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005636/2.966, allocations: 1.167 MB / 1.449 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7686/3.734, allocations: 24.5 MB / 1.473 GB, free: 0.492 GB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005952/3.735, allocations: 54.5 kB / 1.473 GB, free: 0.492 GB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00422/3.739, allocations: 0.553 MB / 1.473 GB, free: 0.492 GB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002469/3.742, allocations: 1.514 MB / 1.475 GB, free: 0.492 GB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06592/3.808, allocations: 22.54 MB / 1.497 GB, free: 499.3 MB / 0.9513 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1299/3.937, allocations: 107.8 MB / 1.602 GB, free: 407.4 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03635/3.974, allocations: 14.42 MB / 1.616 GB, free: 393 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01296/3.987, allocations: 5.847 MB / 1.622 GB, free: 387.1 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03094/4.018, allocations: 17.6 MB / 1.639 GB, free: 368 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/4.018, allocations: 172.7 kB / 1.639 GB, free: 367.8 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=798): time 9.417e-06/4.018, allocations: 0 / 1.639 GB, free: 367.8 MB / 0.9513 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeAV_B4.mediums[2].h 2: pipeAV_B4.mediums[1].h 3: pipeAV_B4.mediums[3].h 4: pipeAV_B4.mediums[4].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeAV_B2.mediums[2].h 2: pipeAV_B2.mediums[1].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeAV_B3.mediums[2].h 2: pipeAV_B3.mediums[1].h 3: pipeAV_B3.mediums[3].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeA_VB4.mediums[1].h 2: pipeA_VB4.mediums[3].h 3: pipeA_VB4.mediums[2].h 4: pipeA_VB4.mediums[4].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeA_VB2.mediums[2].h 2: pipeA_VB2.mediums[1].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeA_VB3.mediums[2].h 2: pipeA_VB3.mediums[3].h 3: pipeA_VB3.mediums[1].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeAV_VB4.mediums[1].h 2: pipeAV_VB4.mediums[2].h 3: pipeAV_VB4.mediums[3].h 4: pipeAV_VB4.mediums[4].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeAV_VB2.mediums[2].h 2: pipeAV_VB2.mediums[1].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeAV_VB3.mediums[2].h 2: pipeAV_VB3.mediums[1].h 3: pipeAV_VB3.mediums[3].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeA_V_B4.mediums[1].h 2: pipeA_V_B4.mediums[3].h 3: pipeA_V_B4.mediums[2].h 4: pipeA_V_B4.mediums[4].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeA_V_B2.mediums[2].h 2: pipeA_V_B2.mediums[1].h Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipeA_V_B3.mediums[1].h 2: pipeA_V_B3.mediums[2].h 3: pipeA_V_B3.mediums[3].h Please use -d=bltdump for more information. Internal error: BackendDAEEXT.setAssignment failed because m=95>91=arrayLength(ass2) Error: Internal error It is not possible to select continuous time states because Number of Equations 8 greater than number of States 0 to select from. Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.951365953020286] Failed to read output from testmodel.py, exit status != 0: ['time', 'pipeAV_B2.state_a.h', 'pipeAV_B2.state_b.h', 'pipeAV_B3.state_a.h', 'pipeAV_B3.state_b.h', 'pipeAV_B4.state_a.h', 'pipeAV_B4.state_b.h', 'pipeA_VB2.state_a.h', 'pipeA_VB2.state_b.h', 'pipeA_VB3.state_a.h', 'pipeA_VB3.state_b.h', 'pipeA_VB4.state_a.h', 'pipeA_VB4.state_b.h', 'pipeAV_VB2.state_a.h', 'pipeAV_VB2.state_b.h', 'pipeAV_VB3.state_a.h', 'pipeAV_VB3.state_b.h', 'pipeAV_VB4.state_a.h', 'pipeAV_VB4.state_b.h', 'pipeA_V_B2.state_a.h', 'pipeA_V_B2.state_b.h', 'pipeA_V_B3.state_a.h', 'pipeA_V_B3.state_b.h', 'pipeA_V_B4.state_a.h', 'pipeA_V_B4.state_b.h'] 4.2171765139792114 4.226032148 1.396905119 Calling exit ...