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.00138/0.00138, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001424/0.001424, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.548/1.548, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2488/0.2488, allocations: 46.89 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") [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.002372/0.002372, allocations: 80.05 kB / 0.4968 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3929, allocations: 65.99 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.7789/1.172, allocations: 361.2 MB / 0.9139 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.7509/1.923, allocations: 104.8 MB / 1.016 GB, free: 368 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0149/1.938, allocations: 304.4 kB / 1.017 GB, free: 368 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01701/1.955, allocations: 5.161 MB / 1.022 GB, free: 356 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.05555/2.01, allocations: 18.17 MB / 1.039 GB, free: 76 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.07515/2.085, allocations: 26.04 MB / 1.065 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.05666/2.142, allocations: 34.09 MB / 1.098 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01824/2.16, allocations: 6.503 MB / 1.104 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.512/2.672, allocations: 201.7 MB / 1.301 GB, free: 0.75 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7411/3.413, allocations: 68.71 MB / 1.368 GB, free: 231.7 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.008324/3.422, allocations: 1.155 MB / 1.37 GB, free: 231.7 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04389/3.466, allocations: 12 MB / 1.381 GB, free: 231.7 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.01363/3.479, allocations: 5.823 MB / 1.387 GB, free: 231.7 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.02993/3.509, allocations: 8.447 MB / 1.395 GB, free: 231.5 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.08414/3.593, allocations: 27.93 MB / 1.422 GB, free: 228 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/3.593, allocations: 0 / 1.422 GB, free: 228 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.415e-06/3.593, allocations: 0.75 kB / 1.422 GB, free: 228 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.001147/3.594, allocations: 0 / 1.422 GB, free: 228 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.08944/3.684, allocations: 18.05 MB / 1.44 GB, free: 219.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/3.684, allocations: 10.73 kB / 1.44 GB, free: 219.8 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05796/3.742, allocations: 4.587 MB / 1.445 GB, free: 218 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02325/3.765, allocations: 7.832 MB / 1.452 GB, free: 214 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001986/3.767, allocations: 1.209 MB / 1.453 GB, free: 213.3 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005763/3.773, allocations: 1.169 MB / 1.455 GB, free: 212.5 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06709/3.84, allocations: 24.5 MB / 1.479 GB, free: 193.4 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006596/3.841, allocations: 52.53 kB / 1.479 GB, free: 193.4 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006558/3.847, allocations: 0.5519 MB / 1.479 GB, free: 193.2 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001714/3.849, allocations: 1.517 MB / 1.481 GB, free: 191.9 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05316/3.902, allocations: 22.54 MB / 1.503 GB, free: 175.5 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.1233/4.025, allocations: 107.8 MB / 1.608 GB, free: 61.19 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0362/4.062, allocations: 14.41 MB / 1.622 GB, free: 46.68 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01159/4.073, allocations: 5.853 MB / 1.628 GB, free: 40.77 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03172/4.105, allocations: 17.6 MB / 1.645 GB, free: 21.09 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/4.105, allocations: 179.5 kB / 1.645 GB, free: 20.92 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=798): time 1.003e-05/4.105, allocations: 0 / 1.645 GB, free: 20.92 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 655] [Calling sys.exit(0), Time elapsed: 7.4168644761666656] Failed to read output from testmodel.py, exit status != 0: 4.64789808774367 4.657680354 1.061402419 Calling exit ...