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.001397/0.001397, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001558/0.001558, allocations: 221.2 kB / 22.92 MB, free: 5.535 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.291/1.291, allocations: 230.2 MB / 256.1 MB, free: 8.766 MB / 206.1 MB " [Timeout remaining time 179] 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.1985/0.1985, allocations: 46.89 MB / 359.3 MB, free: 5 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.00212/0.00212, allocations: 79.86 kB / 0.494 GB, free: 9.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2737, allocations: 65.98 MB / 0.5584 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.546/0.8197, allocations: 361.2 MB / 0.9111 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.4896/1.309, allocations: 104.8 MB / 1.013 GB, free: 384 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01027/1.32, allocations: 303.1 kB / 1.014 GB, free: 384 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01286/1.332, allocations: 5.158 MB / 1.019 GB, free: 372 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.03966/1.372, allocations: 18.17 MB / 1.037 GB, free: 100 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.05421/1.426, allocations: 26.03 MB / 1.062 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.03995/1.466, allocations: 34.09 MB / 1.095 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01314/1.479, allocations: 6.495 MB / 1.102 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4363/1.916, allocations: 201.7 MB / 1.299 GB, free: 0.8828 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5058/2.421, allocations: 68.73 MB / 1.366 GB, free: 231.7 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.005796/2.427, allocations: 1.155 MB / 1.367 GB, free: 231.7 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03284/2.46, allocations: 11.99 MB / 1.378 GB, free: 231.7 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.009318/2.469, allocations: 5.825 MB / 1.384 GB, free: 231.7 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.01756/2.487, allocations: 8.444 MB / 1.392 GB, free: 231.5 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.04222/2.529, allocations: 27.93 MB / 1.42 GB, free: 228 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/2.529, allocations: 3.969 kB / 1.42 GB, free: 228 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.204e-06/2.529, allocations: 0 / 1.42 GB, free: 228 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0006151/2.53, allocations: 0 / 1.42 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.04263/2.572, allocations: 18.04 MB / 1.437 GB, free: 219.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/2.572, allocations: 15.94 kB / 1.437 GB, free: 219.8 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004945/2.577, allocations: 1.866 MB / 1.439 GB, free: 219.3 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03211/2.61, allocations: 4.592 MB / 1.444 GB, free: 217.5 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/2.624, allocations: 7.834 MB / 1.451 GB, free: 213.1 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001113/2.625, allocations: 1.206 MB / 1.452 GB, free: 212.4 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003292/2.628, allocations: 1.168 MB / 1.454 GB, free: 211.6 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04794/2.676, allocations: 24.5 MB / 1.478 GB, free: 192.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002618/2.676, allocations: 52.81 kB / 1.478 GB, free: 192.5 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002178/2.678, allocations: 0.555 MB / 1.478 GB, free: 192.4 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001151/2.68, allocations: 1.518 MB / 1.48 GB, free: 191 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04525/2.725, allocations: 22.54 MB / 1.502 GB, free: 174.1 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.09976/2.825, allocations: 107.8 MB / 1.607 GB, free: 59.44 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03367/2.858, allocations: 14.42 MB / 1.621 GB, free: 44.93 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01069/2.869, allocations: 5.843 MB / 1.627 GB, free: 39.04 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02808/2.897, allocations: 17.6 MB / 1.644 GB, free: 19.35 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/2.897, allocations: 174.7 kB / 1.644 GB, free: 19.18 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=798): time 9.548e-06/2.897, allocations: 0 / 1.644 GB, free: 19.18 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 657] [Calling sys.exit(0), Time elapsed: 5.589524747003452]