Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck.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.001354/0.001354, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.001661/0.001661, allocations: 215 kB / 23.74 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 230.6 MB / 257.5 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2192/0.2192, allocations: 46.93 MB / 360.9 MB, free: 4.246 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 71.89 kB / 0.4962 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3589, allocations: 66.04 MB / 0.5607 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.6567/1.016, allocations: 361.2 MB / 0.9134 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.5796/1.595, allocations: 104.8 MB / 1.016 GB, free: 400 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01103/1.606, allocations: 420.7 kB / 1.016 GB, free: 400 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0149/1.621, allocations: 5.167 MB / 1.021 GB, free: 388 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.04654/1.668, allocations: 18.42 MB / 1.039 GB, free: 104 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.06232/1.73, allocations: 27.36 MB / 1.066 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.04355/1.774, allocations: 34.88 MB / 1.1 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01354/1.787, allocations: 6.513 MB / 1.106 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4579/2.245, allocations: 198 MB / 1.3 GB, free: 1.809 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6301/2.875, allocations: 68.77 MB / 1.367 GB, free: 230.3 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.007705/2.883, allocations: 1.159 MB / 1.368 GB, free: 230.3 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04405/2.927, allocations: 12.04 MB / 1.38 GB, free: 230.3 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.01333/2.94, allocations: 5.839 MB / 1.386 GB, free: 230.3 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.02858/2.969, allocations: 8.453 MB / 1.394 GB, free: 230.1 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.06969/3.038, allocations: 27.93 MB / 1.421 GB, free: 226.6 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/3.038, allocations: 0 / 1.421 GB, free: 226.6 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.204e-06/3.038, allocations: 5.531 kB / 1.421 GB, free: 226.6 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.00105/3.039, allocations: 0 / 1.421 GB, free: 226.6 MB / 0.9512 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.0591/3.099, allocations: 17.97 MB / 1.439 GB, free: 219.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/3.099, allocations: 7.5 kB / 1.439 GB, free: 219.8 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008127/3.107, allocations: 1.876 MB / 1.44 GB, free: 219.3 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03404/3.141, allocations: 4.591 MB / 1.445 GB, free: 217.5 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02291/3.164, allocations: 7.665 MB / 1.452 GB, free: 213.9 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002054/3.166, allocations: 1.213 MB / 1.454 GB, free: 213.1 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005891/3.172, allocations: 1.165 MB / 1.455 GB, free: 212.4 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06535/3.237, allocations: 24.5 MB / 1.479 GB, free: 193.3 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008199/3.238, allocations: 55.88 kB / 1.479 GB, free: 193.2 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005975/3.244, allocations: 0.5454 MB / 1.479 GB, free: 193.1 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001592/3.245, allocations: 1.519 MB / 1.481 GB, free: 191.8 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07169/3.317, allocations: 22.55 MB / 1.503 GB, free: 174.7 MB / 0.9512 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.1387/3.456, allocations: 106.4 MB / 1.607 GB, free: 61.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03668/3.492, allocations: 14.4 MB / 1.621 GB, free: 47.23 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01147/3.504, allocations: 5.854 MB / 1.626 GB, free: 41.34 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02773/3.532, allocations: 8.873 MB / 1.635 GB, free: 32.56 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/3.532, allocations: 171.1 kB / 1.635 GB, free: 32.4 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=798): time 3.308e-05/3.532, allocations: 0 / 1.635 GB, free: 32.4 MB / 0.9512 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.699459707131609] 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.105683960951865 4.116617876 1.075257499 Calling exit ...