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.001351/0.001351, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001601/0.001601, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.38/1.38, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.2255/0.2255, allocations: 46.92 MB / 361.6 MB, free: 4.176 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 79.88 kB / 0.497 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3102, allocations: 66.09 MB / 0.5615 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.6827/0.9929, allocations: 361.2 MB / 0.9143 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.6199/1.613, allocations: 104.8 MB / 1.017 GB, free: 368 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01321/1.626, allocations: 423.8 kB / 1.017 GB, free: 368 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01427/1.64, allocations: 5.165 MB / 1.022 GB, free: 356 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.04649/1.687, allocations: 18.42 MB / 1.04 GB, free: 64 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0709/1.758, allocations: 27.37 MB / 1.067 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.05311/1.811, allocations: 34.89 MB / 1.101 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01462/1.825, allocations: 6.507 MB / 1.107 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4391/2.265, allocations: 198 MB / 1.301 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6239/2.888, allocations: 68.77 MB / 1.368 GB, free: 229.9 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.007098/2.896, allocations: 1.153 MB / 1.369 GB, free: 229.9 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04135/2.937, allocations: 12.05 MB / 1.381 GB, free: 229.9 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.01414/2.951, allocations: 5.834 MB / 1.386 GB, free: 229.9 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.03014/2.981, allocations: 8.453 MB / 1.395 GB, free: 229.7 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.05827/3.039, allocations: 27.93 MB / 1.422 GB, free: 226.3 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/3.039, allocations: 6.359 kB / 1.422 GB, free: 226.3 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.904e-06/3.039, allocations: 0 / 1.422 GB, free: 226.3 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.001119/3.041, allocations: 0 / 1.422 GB, free: 226.3 MB / 0.9512 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.06268/3.103, allocations: 17.97 MB / 1.439 GB, free: 219.4 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/3.103, allocations: 12.88 kB / 1.439 GB, free: 219.4 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003368/3.104, allocations: 339.7 kB / 1.44 GB, free: 219.4 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007994/3.112, allocations: 1.864 MB / 1.442 GB, free: 218.9 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03485/3.147, allocations: 4.594 MB / 1.446 GB, free: 217.1 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01973/3.166, allocations: 7.671 MB / 1.454 GB, free: 213.2 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00206/3.168, allocations: 1.203 MB / 1.455 GB, free: 212.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005424/3.174, allocations: 1.171 MB / 1.456 GB, free: 211.8 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06144/3.235, allocations: 24.5 MB / 1.48 GB, free: 192.6 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003804/3.236, allocations: 52.06 kB / 1.48 GB, free: 192.6 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003108/3.239, allocations: 0.5524 MB / 1.48 GB, free: 192.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001259/3.24, allocations: 1.516 MB / 1.482 GB, free: 191.1 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05137/3.291, allocations: 22.54 MB / 1.504 GB, free: 173.9 MB / 0.9512 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.1133/3.405, allocations: 106.4 MB / 1.608 GB, free: 60.96 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03373/3.438, allocations: 14.42 MB / 1.622 GB, free: 46.45 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01196/3.45, allocations: 5.841 MB / 1.628 GB, free: 40.56 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02808/3.478, allocations: 8.875 MB / 1.636 GB, free: 31.78 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/3.478, allocations: 167.2 kB / 1.636 GB, free: 31.62 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=798): time 9.988e-06/3.478, allocations: 4 kB / 1.636 GB, free: 31.62 MB / 0.9512 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.551911242946517] 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.018417521961965 4.029526653 0.987276931 Calling exit ...