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.001002/0.001002, allocations: 84.34 kB / 20.67 MB, free: 3.887 MB / 18.57 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.00103/0.00103, allocations: 156.9 kB / 23.94 MB, free: 0.6133 MB / 18.57 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 0.8694/0.8694, allocations: 177.1 MB / 204.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2721/0.2721, allocations: 34.87 MB / 295.6 MB, free: 476 kB / 266.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 444 MB, free: 43.28 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.04e-05, allocations: 3.641 kB / 444 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.3886/0.3886, allocations: 321.3 MB / 0.7474 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.07619/0.4648, allocations: 95.62 MB / 0.8408 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007841/0.4727, allocations: 420.2 kB / 0.8412 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.009394/0.4821, allocations: 4.739 MB / 0.8458 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.03238/0.5144, allocations: 18.9 MB / 0.8643 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.3569/0.8713, allocations: 29.31 MB / 0.8929 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02973/0.9011, allocations: 33.84 MB / 0.9259 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.011/0.9121, allocations: 6.668 MB / 0.9324 GB, free: 26.16 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2609/1.173, allocations: 202.1 MB / 1.13 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3992/1.572, allocations: 68.12 MB / 1.196 GB, free: 170.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.005084/1.577, allocations: 1.155 MB / 1.197 GB, free: 170.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02524/1.603, allocations: 11.41 MB / 1.209 GB, free: 170.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.00855/1.611, allocations: 6.056 MB / 1.214 GB, free: 170.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.01253/1.624, allocations: 5.997 MB / 1.22 GB, free: 170.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0408/1.664, allocations: 29.65 MB / 1.249 GB, free: 169.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.664, allocations: 2.625 kB / 1.249 GB, free: 169.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.633e-06/1.664, allocations: 5.781 kB / 1.249 GB, free: 169.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0007302/1.665, allocations: 0 / 1.249 GB, free: 169.4 MB / 0.823 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.03834/1.703, allocations: 17.8 MB / 1.267 GB, free: 163.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.704, allocations: 11.06 kB / 1.267 GB, free: 163.3 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007646/1.711, allocations: 1.866 MB / 1.269 GB, free: 163.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02257/1.734, allocations: 4.595 MB / 1.273 GB, free: 161.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0144/1.748, allocations: 7.678 MB / 1.28 GB, free: 159 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001123/1.749, allocations: 1.201 MB / 1.282 GB, free: 158.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003246/1.752, allocations: 1.172 MB / 1.283 GB, free: 158 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04024/1.793, allocations: 28.44 MB / 1.311 GB, free: 133.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002746/1.793, allocations: 54.66 kB / 1.311 GB, free: 133.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002255/1.795, allocations: 0.5519 MB / 1.311 GB, free: 133.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001037/1.796, allocations: 1.517 MB / 1.313 GB, free: 132.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03567/1.832, allocations: 22.45 MB / 1.335 GB, free: 115.2 MB / 0.823 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.07988/1.912, allocations: 75.77 MB / 1.409 GB, free: 39.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02134/1.933, allocations: 14.4 MB / 1.423 GB, free: 25.02 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007756/1.941, allocations: 5.845 MB / 1.428 GB, free: 19.12 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01477/1.956, allocations: 8.845 MB / 1.437 GB, free: 10.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/1.956, allocations: 170.9 kB / 1.437 GB, free: 10.14 MB / 0.823 GB Notification: Performance of pre-optimization done (n=798): time 9.518e-06/1.956, allocations: 0 / 1.437 GB, free: 10.14 MB / 0.823 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 658] [Calling sys.exit(0), Time elapsed: 4.327043095603585]