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.001825/0.001825, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002301/0.002301, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 7.742 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.2406/0.2406, allocations: 46.96 MB / 360.9 MB, free: 4.031 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.002077/0.002077, allocations: 75.88 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.365, allocations: 66.04 MB / 0.5606 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.7602/1.125, allocations: 324.2 MB / 0.8772 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.1484/1.274, allocations: 95.54 MB / 0.9705 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01079/1.284, allocations: 428.1 kB / 0.9709 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01559/1.3, allocations: 4.667 MB / 0.9754 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.05878/1.359, allocations: 18.42 MB / 0.9934 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.5725/1.931, allocations: 26.44 MB / 1.019 GB, free: 21.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.04918/1.98, allocations: 34.69 MB / 1.053 GB, free: 21.63 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01632/1.997, allocations: 6.738 MB / 1.06 GB, free: 37.28 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4107/2.407, allocations: 198.1 MB / 1.253 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1533/2.561, allocations: 68.81 MB / 1.32 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.006592/2.567, allocations: 1.156 MB / 1.321 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0388/2.606, allocations: 11.31 MB / 1.333 GB, free: 11.36 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01201/2.618, allocations: 5.836 MB / 1.338 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.5483/3.166, allocations: 7.033 MB / 1.345 GB, free: 194.8 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.07418/3.241, allocations: 27.99 MB / 1.372 GB, free: 193.2 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/3.241, allocations: 0 / 1.372 GB, free: 193.2 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.926e-06/3.241, allocations: 1.625 kB / 1.372 GB, free: 193.2 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0011/3.242, allocations: 0 / 1.372 GB, free: 193.2 MB / 0.92 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.07319/3.315, allocations: 17.96 MB / 1.39 GB, free: 187.2 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/3.315, allocations: 9.25 kB / 1.39 GB, free: 187.2 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01191/3.327, allocations: 1.868 MB / 1.392 GB, free: 187.1 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03861/3.366, allocations: 4.59 MB / 1.396 GB, free: 186.3 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02797/3.394, allocations: 7.675 MB / 1.404 GB, free: 184.8 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002803/3.396, allocations: 1.21 MB / 1.405 GB, free: 184.8 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007604/3.404, allocations: 1.172 MB / 1.406 GB, free: 184.8 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08485/3.489, allocations: 28.44 MB / 1.434 GB, free: 176.7 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001087/3.49, allocations: 48.53 kB / 1.434 GB, free: 176.7 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007824/3.498, allocations: 0.5543 MB / 1.434 GB, free: 176.7 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002134/3.5, allocations: 1.517 MB / 1.436 GB, free: 176.7 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06549/3.565, allocations: 22.45 MB / 1.458 GB, free: 176.6 MB / 0.92 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.142/3.707, allocations: 75.96 MB / 1.532 GB, free: 122.1 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03715/3.744, allocations: 14.36 MB / 1.546 GB, free: 110.8 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01347/3.758, allocations: 5.847 MB / 1.552 GB, free: 104.9 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03086/3.789, allocations: 8.857 MB / 1.56 GB, free: 96.08 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/3.789, allocations: 176.2 kB / 1.561 GB, free: 95.92 MB / 0.92 GB Notification: Performance of pre-optimization done (n=798): time 1.162e-05/3.789, allocations: 0 / 1.561 GB, free: 95.92 MB / 0.92 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.719711523968726] 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'] 3.990269999951124 4.000816427 0.757197998 Calling exit ...