Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001365/0.001365, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.001614/0.001614, allocations: 205 kB / 21.45 MB, free: 1.629 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.478/1.478, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2385/0.2385, allocations: 46.92 MB / 357.7 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 83.86 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1308, allocations: 66.04 MB / 0.5562 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 1.07/1.201, allocations: 357.8 MB / 0.9056 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.1247/1.326, allocations: 104.5 MB / 1.008 GB, free: 15.5 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01261/1.338, allocations: 426.1 kB / 1.008 GB, free: 15.32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0164/1.355, allocations: 5.156 MB / 1.013 GB, free: 11.73 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.06116/1.416, allocations: 18.16 MB / 1.031 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.07276/1.489, allocations: 26.04 MB / 1.056 GB, free: 3.977 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0511/1.54, allocations: 34.05 MB / 1.09 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01652/1.556, allocations: 6.881 MB / 1.096 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.8891/2.445, allocations: 201.8 MB / 1.293 GB, free: 6.402 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1398/2.585, allocations: 68.71 MB / 1.36 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.008085/2.593, allocations: 1.152 MB / 1.362 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03728/2.631, allocations: 11.99 MB / 1.373 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.01291/2.644, allocations: 5.806 MB / 1.379 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.02248/2.666, allocations: 8.444 MB / 1.387 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0649/2.731, allocations: 27.93 MB / 1.414 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/2.731, allocations: 0 / 1.414 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.314e-06/2.731, allocations: 0 / 1.414 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0008761/2.732, allocations: 0 / 1.414 GB, free: 11.7 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.06237/2.794, allocations: 18.05 MB / 1.432 GB, free: 9.742 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/2.794, allocations: 12.03 kB / 1.432 GB, free: 9.73 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008888/2.803, allocations: 1.871 MB / 1.434 GB, free: 7.883 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03811/2.841, allocations: 4.588 MB / 1.438 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02233/2.864, allocations: 7.826 MB / 1.446 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002266/2.866, allocations: 1.206 MB / 1.447 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004932/2.871, allocations: 1.17 MB / 1.448 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07707/2.948, allocations: 24.5 MB / 1.472 GB, free: 188 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006274/2.948, allocations: 57.47 kB / 1.472 GB, free: 164 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.5872/3.536, allocations: 0.5551 MB / 1.473 GB, free: 0.4941 GB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002363/3.538, allocations: 1.511 MB / 1.474 GB, free: 0.4941 GB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0632/3.601, allocations: 22.55 MB / 1.496 GB, free: 0.4896 GB / 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.1311/3.732, allocations: 107.8 MB / 1.602 GB, free: 409.3 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0362/3.769, allocations: 14.41 MB / 1.616 GB, free: 394.8 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01118/3.78, allocations: 5.864 MB / 1.621 GB, free: 388.9 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03021/3.81, allocations: 17.6 MB / 1.639 GB, free: 369.8 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/3.81, allocations: 176.6 kB / 1.639 GB, free: 369.6 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=798): time 1.018e-05/3.81, allocations: 0 / 1.639 GB, free: 369.6 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.847914225887507] 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.013933864887804 4.024161264 1.290551413 Calling exit ...