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.00202/0.00202, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.00253/0.00253, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.558/1.558, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2462/0.2462, allocations: 46.93 MB / 357.1 MB, free: 10.3 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: 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 0.002097/0.002097, allocations: 75.89 kB / 0.4914 GB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.148, allocations: 65.99 MB / 0.5559 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 1.287/1.435, allocations: 357.8 MB / 0.9053 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.2117/1.647, allocations: 104.5 MB / 1.007 GB, free: 15.48 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02173/1.668, allocations: 426.8 kB / 1.008 GB, free: 15.3 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01952/1.688, allocations: 5.153 MB / 1.013 GB, free: 11.7 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0659/1.754, allocations: 18.17 MB / 1.031 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.08299/1.837, allocations: 26.02 MB / 1.056 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.05752/1.894, allocations: 34.06 MB / 1.089 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01912/1.914, allocations: 6.877 MB / 1.096 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.9886/2.902, allocations: 201.8 MB / 1.293 GB, free: 6.129 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1752/3.077, allocations: 68.7 MB / 1.36 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00736/3.085, allocations: 1.156 MB / 1.361 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03934/3.124, allocations: 11.99 MB / 1.373 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.01388/3.138, allocations: 5.804 MB / 1.379 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.02322/3.161, allocations: 8.45 MB / 1.387 GB, free: 6.152 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.06708/3.228, allocations: 27.93 MB / 1.414 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.202e-05/3.228, allocations: 4 kB / 1.414 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.895e-06/3.228, allocations: 0 / 1.414 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.001016/3.229, allocations: 0 / 1.414 GB, free: 11.47 MB / 0.9044 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.0624/3.292, allocations: 18.04 MB / 1.432 GB, free: 9.508 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/3.292, allocations: 8.031 kB / 1.432 GB, free: 9.5 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03898/3.331, allocations: 4.592 MB / 1.436 GB, free: 4.898 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01959/3.35, allocations: 7.825 MB / 1.444 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00195/3.352, allocations: 1.21 MB / 1.445 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004469/3.357, allocations: 1.17 MB / 1.446 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07172/3.428, allocations: 24.51 MB / 1.47 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004668/3.429, allocations: 50.28 kB / 1.47 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00413/3.433, allocations: 0.5493 MB / 1.471 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.6492/4.082, allocations: 1.511 MB / 1.472 GB, free: 0.4926 GB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06238/4.145, allocations: 22.55 MB / 1.494 GB, free: 0.4888 GB / 0.9513 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.1261/4.271, allocations: 107.8 MB / 1.599 GB, free: 409.5 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03665/4.307, allocations: 14.41 MB / 1.614 GB, free: 396.1 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01206/4.319, allocations: 5.865 MB / 1.619 GB, free: 390.2 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03121/4.351, allocations: 17.6 MB / 1.636 GB, free: 371.1 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/4.351, allocations: 171.9 kB / 1.637 GB, free: 370.9 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=798): time 9.898e-06/4.351, allocations: 0 / 1.637 GB, free: 370.9 MB / 0.9513 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 655] [Calling sys.exit(0), Time elapsed: 7.6896550841629505] 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.559622187167406 4.569155469 1.338058048 Calling exit ...