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.001282/0.001282, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001416/0.001416, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.459/1.459, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2297/0.2297, allocations: 46.88 MB / 357.4 MB, free: 10.49 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.002268/0.002268, allocations: 79.86 kB / 0.4912 GB, free: 8.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1337, allocations: 65.99 MB / 0.5557 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 1.037/1.17, allocations: 357.8 MB / 0.9051 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.1193/1.29, allocations: 104.5 MB / 1.007 GB, free: 15.75 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01251/1.302, allocations: 306.9 kB / 1.007 GB, free: 15.57 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01588/1.318, allocations: 5.155 MB / 1.013 GB, free: 12.2 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0575/1.375, allocations: 18.17 MB / 1.03 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.07187/1.447, allocations: 26.03 MB / 1.056 GB, free: 4.789 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.05993/1.507, allocations: 34.04 MB / 1.089 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02074/1.528, allocations: 6.877 MB / 1.096 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.9101/2.438, allocations: 201.6 MB / 1.293 GB, free: 7.82 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1415/2.58, allocations: 68.71 MB / 1.36 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00633/2.586, allocations: 1.152 MB / 1.361 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03584/2.622, allocations: 11.99 MB / 1.372 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.01281/2.635, allocations: 5.814 MB / 1.378 GB, free: 312 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.02264/2.657, allocations: 8.444 MB / 1.386 GB, free: 7.918 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.06022/2.718, allocations: 27.92 MB / 1.414 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/2.718, allocations: 0 / 1.414 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.174e-06/2.718, allocations: 0 / 1.414 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0009354/2.718, allocations: 0 / 1.414 GB, free: 13.24 MB / 0.9044 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.05916/2.778, allocations: 18.05 MB / 1.431 GB, free: 11.27 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/2.778, allocations: 8.031 kB / 1.431 GB, free: 11.27 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006284/2.784, allocations: 1.869 MB / 1.433 GB, free: 9.422 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03762/2.822, allocations: 4.592 MB / 1.438 GB, free: 4.82 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02413/2.846, allocations: 7.832 MB / 1.445 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002079/2.848, allocations: 1.211 MB / 1.446 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004894/2.853, allocations: 1.162 MB / 1.448 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07174/2.924, allocations: 24.51 MB / 1.472 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004712/2.925, allocations: 50.19 kB / 1.472 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004194/2.929, allocations: 0.5489 MB / 1.472 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.5927/3.522, allocations: 1.515 MB / 1.474 GB, free: 0.4932 GB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06188/3.584, allocations: 22.54 MB / 1.496 GB, free: 0.4893 GB / 0.9513 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.1293/3.713, allocations: 107.8 MB / 1.601 GB, free: 409.9 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0355/3.748, allocations: 14.41 MB / 1.615 GB, free: 396.2 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01119/3.76, allocations: 5.864 MB / 1.621 GB, free: 390.3 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02964/3.789, allocations: 17.6 MB / 1.638 GB, free: 371.2 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002583/3.79, allocations: 170.1 kB / 1.638 GB, free: 371 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=798): time 1.416e-05/3.79, allocations: 4 kB / 1.638 GB, free: 371 MB / 0.9513 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.653030009940267] Failed to read output from testmodel.py, exit status != 0: 3.9853202872909606 3.99461409 1.274525663 Calling exit ...