Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002123/0.002123, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2318/0.2318, allocations: 46.91 MB / 357.1 MB, free: 10.34 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 63.91 kB / 0.4909 GB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1315, allocations: 66 MB / 0.5554 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 1.09/1.222, allocations: 357.8 MB / 0.9048 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.152/1.374, allocations: 104.5 MB / 1.007 GB, free: 15.57 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01662/1.39, allocations: 426.2 kB / 1.007 GB, free: 15.39 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.02474/1.415, allocations: 5.166 MB / 1.012 GB, free: 11.82 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.06691/1.482, allocations: 18.16 MB / 1.03 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.07255/1.555, allocations: 26.03 MB / 1.055 GB, free: 4.16 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.04962/1.604, allocations: 34.06 MB / 1.089 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01424/1.618, allocations: 6.877 MB / 1.095 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.9442/2.563, allocations: 201.8 MB / 1.292 GB, free: 6.562 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1394/2.702, allocations: 68.7 MB / 1.36 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.007676/2.71, allocations: 1.152 MB / 1.361 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04019/2.75, allocations: 12 MB / 1.372 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.01428/2.764, allocations: 5.805 MB / 1.378 GB, free: 15 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0247/2.789, allocations: 8.439 MB / 1.386 GB, free: 6.621 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.06642/2.855, allocations: 27.93 MB / 1.414 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/2.855, allocations: 0 / 1.414 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.346e-06/2.855, allocations: 0 / 1.414 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.001091/2.856, allocations: 4 kB / 1.414 GB, free: 11.94 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.06582/2.922, allocations: 18.05 MB / 1.431 GB, free: 9.969 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/2.922, allocations: 8.031 kB / 1.431 GB, free: 9.961 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008602/2.931, allocations: 1.867 MB / 1.433 GB, free: 8.117 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03787/2.969, allocations: 4.59 MB / 1.438 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02308/2.992, allocations: 7.823 MB / 1.445 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002513/2.994, allocations: 1.216 MB / 1.446 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006679/3.001, allocations: 1.164 MB / 1.448 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07627/3.077, allocations: 24.5 MB / 1.471 GB, free: 420 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006972/3.078, allocations: 55.5 kB / 1.472 GB, free: 396 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.643/3.721, allocations: 0.5483 MB / 1.472 GB, free: 0.4938 GB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002311/3.723, allocations: 1.513 MB / 1.474 GB, free: 0.4938 GB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0651/3.788, allocations: 22.55 MB / 1.496 GB, free: 0.4897 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.126/3.914, allocations: 107.8 MB / 1.601 GB, free: 409.6 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03513/3.949, allocations: 14.42 MB / 1.615 GB, free: 395.1 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01349/3.963, allocations: 5.856 MB / 1.621 GB, free: 389.3 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03212/3.995, allocations: 17.6 MB / 1.638 GB, free: 370.1 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/3.995, allocations: 162.7 kB / 1.638 GB, free: 370 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=798): time 1.12e-05/3.995, allocations: 3.984 kB / 1.638 GB, free: 370 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: 7.071232418995351] Failed to read output from testmodel.py, exit status != 0: ['time', 'pipeAV_B2.state_a.h', 'pipeAV_B2.state_b.h', 'pipeAV_B3.state_a.h', 'pipeAV_B3.state_b.h', 'pipeAV_B4.state_a.h', 'pipeAV_B4.state_b.h', 'pipeA_VB2.state_a.h', 'pipeA_VB2.state_b.h', 'pipeA_VB3.state_a.h', 'pipeA_VB3.state_b.h', 'pipeA_VB4.state_a.h', 'pipeA_VB4.state_b.h', 'pipeAV_VB2.state_a.h', 'pipeAV_VB2.state_b.h', 'pipeAV_VB3.state_a.h', 'pipeAV_VB3.state_b.h', 'pipeAV_VB4.state_a.h', 'pipeAV_VB4.state_b.h', 'pipeA_V_B2.state_a.h', 'pipeA_V_B2.state_b.h', 'pipeA_V_B3.state_a.h', 'pipeA_V_B3.state_b.h', 'pipeA_V_B4.state_a.h', 'pipeA_V_B4.state_b.h'] 4.194567598999129 4.210131935 1.3512506549999999 Calling exit ...