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.001371/0.001371, allocations: 110 kB / 20.43 MB, free: 1.453 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.002237/0.002237, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.52/1.52, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2274/0.2274, allocations: 46.92 MB / 360.8 MB, free: 4.176 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003356/0.003356, allocations: 75.88 kB / 0.4962 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3593, allocations: 66.08 MB / 0.5608 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.6588/1.018, allocations: 361.2 MB / 0.9135 GB, free: 2.332 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.6444/1.663, allocations: 104.8 MB / 1.016 GB, free: 368 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01383/1.676, allocations: 424.2 kB / 1.016 GB, free: 368 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01666/1.693, allocations: 5.161 MB / 1.021 GB, free: 356 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.056/1.749, allocations: 18.42 MB / 1.039 GB, free: 60 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.06705/1.816, allocations: 27.37 MB / 1.066 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.05001/1.866, allocations: 34.88 MB / 1.1 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01527/1.881, allocations: 6.5 MB / 1.106 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4548/2.336, allocations: 198 MB / 1.3 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.635/2.971, allocations: 68.78 MB / 1.367 GB, free: 230 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.009522/2.981, allocations: 1.155 MB / 1.368 GB, free: 230 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04781/3.028, allocations: 12.05 MB / 1.38 GB, free: 230 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.01283/3.041, allocations: 5.831 MB / 1.386 GB, free: 230 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.02871/3.07, allocations: 8.456 MB / 1.394 GB, free: 229.8 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.07243/3.142, allocations: 27.93 MB / 1.421 GB, free: 226.3 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/3.142, allocations: 3.719 kB / 1.421 GB, free: 226.3 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.124e-06/3.142, allocations: 0 / 1.421 GB, free: 226.3 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.001025/3.143, allocations: 0 / 1.421 GB, free: 226.3 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.05859/3.202, allocations: 17.97 MB / 1.439 GB, free: 219.5 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/3.202, allocations: 10.22 kB / 1.439 GB, free: 219.5 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008737/3.211, allocations: 1.865 MB / 1.44 GB, free: 219 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0369/3.248, allocations: 4.589 MB / 1.445 GB, free: 217.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02639/3.274, allocations: 7.667 MB / 1.452 GB, free: 213.6 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002429/3.277, allocations: 1.21 MB / 1.454 GB, free: 212.9 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006335/3.283, allocations: 1.167 MB / 1.455 GB, free: 212.2 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06765/3.351, allocations: 24.51 MB / 1.479 GB, free: 193 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004944/3.351, allocations: 55.78 kB / 1.479 GB, free: 193 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004482/3.356, allocations: 0.5491 MB / 1.479 GB, free: 192.9 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001547/3.357, allocations: 1.515 MB / 1.481 GB, free: 191.5 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05398/3.411, allocations: 22.54 MB / 1.503 GB, free: 174.3 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.1266/3.538, allocations: 106.4 MB / 1.607 GB, free: 61.35 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03424/3.572, allocations: 14.41 MB / 1.621 GB, free: 46.85 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01143/3.583, allocations: 5.854 MB / 1.626 GB, free: 40.95 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02737/3.611, allocations: 8.874 MB / 1.635 GB, free: 32.17 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/3.611, allocations: 171.2 kB / 1.635 GB, free: 32 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=798): time 1.014e-05/3.611, allocations: 0 / 1.635 GB, free: 32 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.886029106004571] 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.151093481996213 4.160323943 1.014982966 Calling exit ...