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.00113/0.00113, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001216/0.001216, allocations: 165.9 kB / 24.99 MB, free: 8.801 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 1.061/1.061, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2884/0.2884, allocations: 34.26 MB / 296 MB, free: 0.7812 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: 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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/3.006e-05, allocations: 2.312 kB / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.8288/0.8289, allocations: 367.7 MB / 0.7283 GB, free: 9.582 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1424/0.9712, allocations: 106.9 MB / 0.8327 GB, free: 364 kB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.4198/1.391, allocations: 422.8 kB / 0.8331 GB, free: 3.18 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.01596/1.407, allocations: 4.733 MB / 0.8377 GB, free: 3.172 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.04599/1.453, allocations: 18.9 MB / 0.8562 GB, free: 264 kB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.06398/1.517, allocations: 29.26 MB / 0.8847 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.04531/1.562, allocations: 33.83 MB / 0.9178 GB, free: 1.773 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0167/1.579, allocations: 7.106 MB / 0.9247 GB, free: 0.5625 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.678/2.257, allocations: 202.4 MB / 1.122 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.09198/2.349, allocations: 68.13 MB / 1.189 GB, free: 151.2 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.00517/2.354, allocations: 1.16 MB / 1.19 GB, free: 150.4 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02726/2.381, allocations: 11.41 MB / 1.201 GB, free: 142.4 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.01005/2.391, allocations: 6.128 MB / 1.207 GB, free: 139.2 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.01461/2.406, allocations: 6.022 MB / 1.213 GB, free: 135.3 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.04826/2.454, allocations: 22.62 MB / 1.235 GB, free: 119.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/2.454, allocations: 4 kB / 1.235 GB, free: 119.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.964e-06/2.454, allocations: 0 / 1.235 GB, free: 119.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0009383/2.455, allocations: 2.438 kB / 1.235 GB, free: 119.3 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.02712/2.482, allocations: 18.06 MB / 1.253 GB, free: 101.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/2.482, allocations: 12.03 kB / 1.253 GB, free: 101.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02559/2.508, allocations: 7.11 MB / 1.26 GB, free: 94.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01284/2.521, allocations: 7.538 MB / 1.267 GB, free: 87.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001147/2.522, allocations: 1.192 MB / 1.268 GB, free: 86.19 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002869/2.525, allocations: 1.237 MB / 1.269 GB, free: 84.99 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03383/2.559, allocations: 22.26 MB / 1.291 GB, free: 60.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000344/2.559, allocations: 64.33 kB / 1.291 GB, free: 60.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002551/2.562, allocations: 0.5607 MB / 1.292 GB, free: 59.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009761/2.563, allocations: 1.508 MB / 1.293 GB, free: 58.44 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02378/2.586, allocations: 11.19 MB / 1.304 GB, free: 47.53 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.3864/2.973, allocations: 80.87 MB / 1.383 GB, free: 359 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01824/2.991, allocations: 10.22 MB / 1.393 GB, free: 358.1 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004214/2.995, allocations: 2.272 MB / 1.395 GB, free: 357.8 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01655/3.012, allocations: 8.936 MB / 1.404 GB, free: 357.7 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/3.012, allocations: 177.5 kB / 1.404 GB, free: 357.7 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=798): time 9.618e-06/3.012, allocations: 0 / 1.404 GB, free: 357.7 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 657] [Calling sys.exit(0), Time elapsed: 5.155165920034051]