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.0008171/0.0008171, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008242/0.0008242, allocations: 174 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9294/0.9294, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2654/0.2654, allocations: 34.25 MB / 294.9 MB, free: 0.6914 MB / 266.7 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 2.314e-06/2.314e-06, allocations: 0 / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.765e-05, allocations: 4.531 kB / 442.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.7436/0.7436, allocations: 321.3 MB / 0.7456 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.08612/0.8297, allocations: 95.61 MB / 0.839 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01206/0.8418, allocations: 424.1 kB / 0.8394 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.01269/0.8545, allocations: 4.743 MB / 0.844 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.04158/0.8961, allocations: 18.9 MB / 0.8625 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.4309/1.327, allocations: 29.3 MB / 0.8911 GB, free: 16.24 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0412/1.368, allocations: 33.84 MB / 0.9241 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01259/1.381, allocations: 6.661 MB / 0.9306 GB, free: 26.64 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2464/1.627, allocations: 202.1 MB / 1.128 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.517/2.144, allocations: 68.12 MB / 1.194 GB, free: 171.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.006655/2.151, allocations: 1.155 MB / 1.196 GB, free: 171.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02825/2.179, allocations: 11.41 MB / 1.207 GB, free: 171.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.01035/2.189, allocations: 6.049 MB / 1.213 GB, free: 171.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.01641/2.206, allocations: 5.999 MB / 1.219 GB, free: 171.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.04556/2.251, allocations: 29.64 MB / 1.247 GB, free: 170.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/2.251, allocations: 9.781 kB / 1.247 GB, free: 170.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.935e-06/2.251, allocations: 0 / 1.247 GB, free: 170.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.001007/2.252, allocations: 0 / 1.247 GB, free: 170.2 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.03615/2.289, allocations: 17.8 MB / 1.265 GB, free: 164.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/2.289, allocations: 11.16 kB / 1.265 GB, free: 164.2 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002034/2.291, allocations: 1.87 MB / 1.267 GB, free: 164.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01786/2.308, allocations: 4.587 MB / 1.271 GB, free: 163.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01592/2.324, allocations: 7.678 MB / 1.279 GB, free: 160.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001124/2.326, allocations: 1.21 MB / 1.28 GB, free: 160.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00292/2.328, allocations: 1.172 MB / 1.281 GB, free: 160.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03687/2.365, allocations: 28.44 MB / 1.309 GB, free: 136.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002435/2.366, allocations: 51.5 kB / 1.309 GB, free: 136.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001353/2.367, allocations: 0.5612 MB / 1.309 GB, free: 136.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000981/2.368, allocations: 1.517 MB / 1.311 GB, free: 135.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03334/2.401, allocations: 22.45 MB / 1.333 GB, free: 118.7 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.07691/2.478, allocations: 75.77 MB / 1.407 GB, free: 43.02 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02028/2.498, allocations: 14.38 MB / 1.421 GB, free: 28.54 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006777/2.505, allocations: 5.858 MB / 1.427 GB, free: 22.65 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01487/2.52, allocations: 8.853 MB / 1.435 GB, free: 13.82 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/2.52, allocations: 174.8 kB / 1.435 GB, free: 13.65 MB / 0.823 GB Notification: Performance of pre-optimization done (n=798): time 9.198e-06/2.52, allocations: 0 / 1.435 GB, free: 13.65 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 657] [Calling sys.exit(0), Time elapsed: 4.8045366341248155] 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'] 2.886266798712313 2.895678975 0.642253719 Calling exit ...