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.001301/0.001301, allocations: 88.2 kB / 20.68 MB, free: 1.02 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.001413/0.001413, allocations: 158.7 kB / 23.95 MB, free: 4.152 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.593/1.593, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.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.226/0.226, allocations: 34.26 MB / 294.8 MB, free: 14.52 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: 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.734e-06/1.734e-06, allocations: 0 / 442.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.651e-05, allocations: 2.281 kB / 442.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.8912/0.8912, allocations: 321.3 MB / 0.7461 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1428/1.034, allocations: 95.62 MB / 0.8394 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0145/1.049, allocations: 424.2 kB / 0.8398 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0178/1.066, allocations: 4.739 MB / 0.8445 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.06065/1.127, allocations: 18.9 MB / 0.8629 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.5236/1.651, allocations: 29.31 MB / 0.8916 GB, free: 17.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.05216/1.703, allocations: 33.84 MB / 0.9246 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01774/1.721, allocations: 6.666 MB / 0.9311 GB, free: 28.54 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5378/2.258, allocations: 202.1 MB / 1.128 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5751/2.833, allocations: 68.13 MB / 1.195 GB, free: 172.6 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.007272/2.841, allocations: 1.156 MB / 1.196 GB, free: 172.6 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03889/2.88, allocations: 11.41 MB / 1.207 GB, free: 172.6 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0123/2.892, allocations: 6.052 MB / 1.213 GB, free: 172.6 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.02449/2.916, allocations: 6.005 MB / 1.219 GB, free: 172.6 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0653/2.982, allocations: 29.64 MB / 1.248 GB, free: 171.7 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/2.982, allocations: 3.656 kB / 1.248 GB, free: 171.7 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.743e-06/2.982, allocations: 0 / 1.248 GB, free: 171.7 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.001004/2.983, allocations: 2.734 kB / 1.248 GB, free: 171.7 MB / 0.8262 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.06168/3.044, allocations: 17.8 MB / 1.265 GB, free: 165.8 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/3.044, allocations: 9.906 kB / 1.265 GB, free: 165.8 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03923/3.084, allocations: 4.594 MB / 1.27 GB, free: 164.9 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02057/3.104, allocations: 7.672 MB / 1.277 GB, free: 163.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002221/3.106, allocations: 1.214 MB / 1.279 GB, free: 163.4 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006137/3.113, allocations: 1.167 MB / 1.28 GB, free: 163.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0712/3.184, allocations: 28.44 MB / 1.307 GB, free: 147.8 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005437/3.184, allocations: 52.44 kB / 1.307 GB, free: 147.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004928/3.189, allocations: 0.5538 MB / 1.308 GB, free: 147.6 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001481/3.191, allocations: 1.516 MB / 1.309 GB, free: 146.3 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05523/3.246, allocations: 22.46 MB / 1.331 GB, free: 130 MB / 0.8262 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.1156/3.362, allocations: 72.64 MB / 1.402 GB, free: 60.41 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03812/3.4, allocations: 14.37 MB / 1.416 GB, free: 45.95 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01219/3.412, allocations: 5.844 MB / 1.422 GB, free: 40.06 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03023/3.442, allocations: 8.852 MB / 1.431 GB, free: 31.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/3.442, allocations: 176.1 kB / 1.431 GB, free: 31.06 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=798): time 1.231e-05/3.442, allocations: 4 kB / 1.431 GB, free: 31.06 MB / 0.8262 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.655675303190947] 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'] 3.8992955088615417 3.912677426 0.927725431 Calling exit ...