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.001486/0.001486, allocations: 92.27 kB / 20.96 MB, free: 3.445 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.00153/0.00153, allocations: 160.9 kB / 24.26 MB, free: 148 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.589/1.589, allocations: 177 MB / 204.5 MB, free: 5.613 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.3789/0.3789, allocations: 34.24 MB / 295.2 MB, free: 0.6523 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 1.373e-06/1.373e-06, allocations: 0 / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.569e-05/3.706e-05, allocations: 4.844 kB / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.9276/0.9277, allocations: 321.3 MB / 0.6822 GB, free: 116 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1379/1.066, allocations: 95.73 MB / 0.7756 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01534/1.081, allocations: 420.2 kB / 0.776 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.01947/1.1, allocations: 4.727 MB / 0.7807 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.07885/1.179, allocations: 18.89 MB / 0.7991 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.1197/1.299, allocations: 29.25 MB / 0.8277 GB, free: 1.207 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.5192/1.818, allocations: 33.83 MB / 0.8607 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01763/1.836, allocations: 7.106 MB / 0.8676 GB, free: 27.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5099/2.346, allocations: 202.1 MB / 1.065 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.8419/3.188, allocations: 68.15 MB / 1.132 GB, free: 139.9 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 0.007107/3.195, allocations: 1.155 MB / 1.133 GB, free: 139.9 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03601/3.231, allocations: 11.41 MB / 1.144 GB, free: 139.9 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 0.01245/3.243, allocations: 6.07 MB / 1.15 GB, free: 139.9 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 0.02682/3.27, allocations: 6.035 MB / 1.156 GB, free: 139.9 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0661/3.336, allocations: 29.76 MB / 1.185 GB, free: 138.9 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/3.336, allocations: 3.812 kB / 1.185 GB, free: 138.9 MB / 0.7293 GB Notification: Performance of FrontEnd: time 2.144e-06/3.336, allocations: 0 / 1.185 GB, free: 138.9 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 0.001184/3.337, allocations: 0 / 1.185 GB, free: 138.9 MB / 0.7293 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.06789/3.405, allocations: 17.8 MB / 1.202 GB, free: 132.9 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/3.405, allocations: 13.41 kB / 1.202 GB, free: 132.9 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04592/3.451, allocations: 7.458 MB / 1.209 GB, free: 131 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02056/3.472, allocations: 8.051 MB / 1.217 GB, free: 126.1 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001979/3.474, allocations: 1.214 MB / 1.218 GB, free: 125.4 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006311/3.48, allocations: 1.235 MB / 1.22 GB, free: 124.6 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06897/3.549, allocations: 28.44 MB / 1.247 GB, free: 100.5 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005462/3.549, allocations: 54 kB / 1.247 GB, free: 100.5 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005076/3.555, allocations: 0.5493 MB / 1.248 GB, free: 100.4 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00164/3.556, allocations: 1.521 MB / 1.249 GB, free: 99.04 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05454/3.611, allocations: 22.45 MB / 1.271 GB, free: 80.13 MB / 0.7293 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.1084/3.719, allocations: 73.14 MB / 1.343 GB, free: 7.078 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04259/3.762, allocations: 14.37 MB / 1.357 GB, free: 8.617 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01551/3.777, allocations: 5.856 MB / 1.363 GB, free: 2.715 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2131/3.99, allocations: 8.909 MB / 1.371 GB, free: 383.1 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/3.99, allocations: 170.4 kB / 1.371 GB, free: 383.1 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=798): time 1.24e-05/3.99, allocations: 0 / 1.371 GB, free: 383.1 MB / 0.7449 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.8660269600804895]