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.00184/0.00184, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 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.001881/0.001881, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 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.588/1.588, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.3554/0.3554, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.237e-05/3.452e-05, allocations: 4.703 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 1.026/1.026, allocations: 367 MB / 0.7268 GB, free: 10.25 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2393/1.265, allocations: 107 MB / 0.8313 GB, free: 0.9453 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01825/1.284, allocations: 428.1 kB / 0.8318 GB, free: 0.5234 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.4478/1.731, allocations: 4.731 MB / 0.8364 GB, free: 3.207 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0541/1.785, allocations: 18.9 MB / 0.8548 GB, free: 408 kB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.08595/1.871, allocations: 29.25 MB / 0.8834 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.05535/1.927, allocations: 33.84 MB / 0.9164 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01665/1.943, allocations: 7.103 MB / 0.9234 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 1.023/2.966, allocations: 202.3 MB / 1.121 GB, free: 168.8 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1473/3.113, allocations: 68.13 MB / 1.187 GB, free: 151.7 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.006959/3.12, allocations: 1.163 MB / 1.189 GB, free: 151.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03504/3.155, allocations: 11.41 MB / 1.2 GB, free: 143.5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.01179/3.167, allocations: 6.126 MB / 1.206 GB, free: 140.3 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.02113/3.188, allocations: 6.025 MB / 1.212 GB, free: 136.4 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.05277/3.241, allocations: 29.74 MB / 1.241 GB, free: 113.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/3.241, allocations: 4 kB / 1.241 GB, free: 113.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.803e-06/3.241, allocations: 0 / 1.241 GB, free: 113.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0007956/3.242, allocations: 0 / 1.241 GB, free: 113.5 MB / 0.7448 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.04762/3.289, allocations: 18.94 MB / 1.259 GB, free: 94.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/3.289, allocations: 12.62 kB / 1.259 GB, free: 94.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03942/3.329, allocations: 7.111 MB / 1.266 GB, free: 87.78 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01899/3.348, allocations: 7.595 MB / 1.274 GB, free: 80.62 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001399/3.349, allocations: 1.187 MB / 1.275 GB, free: 79.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004289/3.354, allocations: 1.248 MB / 1.276 GB, free: 78.26 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05821/3.412, allocations: 25.35 MB / 1.301 GB, free: 50.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00056/3.412, allocations: 56.16 kB / 1.301 GB, free: 50.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004279/3.417, allocations: 0.5534 MB / 1.301 GB, free: 50.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001476/3.418, allocations: 1.516 MB / 1.303 GB, free: 48.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04368/3.462, allocations: 16.54 MB / 1.319 GB, free: 32.29 MB / 0.7448 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.4452/3.907, allocations: 97.57 MB / 1.414 GB, free: 345 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02883/3.936, allocations: 11.78 MB / 1.426 GB, free: 344.1 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008906/3.945, allocations: 4.419 MB / 1.43 GB, free: 343.8 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03144/3.976, allocations: 8.934 MB / 1.439 GB, free: 343.8 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/3.976, allocations: 172.4 kB / 1.439 GB, free: 343.8 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=798): time 2.235e-05/3.976, allocations: 3.969 kB / 1.439 GB, free: 343.8 MB / 0.7605 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.767411365988664]