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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001517/0.001517, allocations: 117.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001627/0.001627, allocations: 200.6 kB / 18.72 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2264/0.2264, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB 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.002233/0.002233, allocations: 75.88 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.343, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.678/1.021, allocations: 355.4 MB / 0.8777 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1359/1.157, allocations: 104.4 MB / 0.9796 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01099/1.168, allocations: 306.1 kB / 0.9799 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.01483/1.183, allocations: 5.079 MB / 0.9849 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.5227/1.706, allocations: 17.93 MB / 1.002 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.06367/1.769, allocations: 25.98 MB / 1.028 GB, free: 8.996 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.04333/1.813, allocations: 34.02 MB / 1.061 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01515/1.828, allocations: 7.638 MB / 1.068 GB, free: 24.21 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5145/2.343, allocations: 200.8 MB / 1.265 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1678/2.51, allocations: 67.88 MB / 1.331 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.006167/2.517, allocations: 1.156 MB / 1.332 GB, free: 184 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.9315/3.448, allocations: 11.92 MB / 1.344 GB, free: 232.1 MB / 0.9357 GB Notification: Performance of NFScalarize.scalarize: time 0.009565/3.458, allocations: 5.705 MB / 1.349 GB, free: 232.1 MB / 0.9357 GB Notification: Performance of NFVerifyModel.verify: time 0.02466/3.482, allocations: 8.446 MB / 1.357 GB, free: 232 MB / 0.9357 GB Notification: Performance of NFConvertDAE.convert: time 0.06405/3.547, allocations: 27.91 MB / 1.385 GB, free: 228.6 MB / 0.9357 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/3.547, allocations: 3.969 kB / 1.385 GB, free: 228.6 MB / 0.9357 GB Notification: Performance of FrontEnd: time 2.014e-06/3.547, allocations: 0 / 1.385 GB, free: 228.6 MB / 0.9357 GB Notification: Performance of Transformations before backend: time 0.001002/3.548, allocations: 3.344 kB / 1.385 GB, free: 228.6 MB / 0.9357 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.06307/3.611, allocations: 18.04 MB / 1.402 GB, free: 222.4 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/3.611, allocations: 9.969 kB / 1.402 GB, free: 222.4 MB / 0.9357 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008987/3.62, allocations: 1.873 MB / 1.404 GB, free: 222.2 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03582/3.656, allocations: 4.59 MB / 1.409 GB, free: 221.4 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01979/3.675, allocations: 7.835 MB / 1.416 GB, free: 218.7 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00219/3.678, allocations: 1.204 MB / 1.417 GB, free: 218.6 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006749/3.684, allocations: 1.173 MB / 1.419 GB, free: 218.6 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0619/3.746, allocations: 24.51 MB / 1.443 GB, free: 206.9 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004803/3.747, allocations: 50.94 kB / 1.443 GB, free: 206.9 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004085/3.751, allocations: 0.5476 MB / 1.443 GB, free: 206.7 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001362/3.752, allocations: 1.519 MB / 1.445 GB, free: 205.4 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05218/3.805, allocations: 22.54 MB / 1.467 GB, free: 189.1 MB / 0.9357 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.1257/3.93, allocations: 107.8 MB / 1.572 GB, free: 79.41 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03581/3.966, allocations: 14.73 MB / 1.586 GB, free: 64.61 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01251/3.979, allocations: 6.034 MB / 1.592 GB, free: 58.52 MB / 0.9357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03002/4.009, allocations: 17.6 MB / 1.609 GB, free: 38.82 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/4.009, allocations: 171 kB / 1.61 GB, free: 38.66 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=798): time 1.027e-05/4.009, allocations: 0 / 1.61 GB, free: 38.66 MB / 0.9357 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!