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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001548/0.001548, allocations: 111.4 kB / 17.98 MB, free: 5.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001841/0.001841, allocations: 201.8 kB / 18.92 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247.1 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2096/0.2096, allocations: 46.11 MB / 344.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 75.88 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1232, allocations: 62.43 MB / 480.1 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.874/0.9973, allocations: 360.8 MB / 0.8213 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1266/1.124, allocations: 105 MB / 0.9238 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01426/1.138, allocations: 349.3 kB / 0.9241 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01575/1.154, allocations: 4.59 MB / 0.9286 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.05316/1.207, allocations: 16.65 MB / 0.9449 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.5055/1.713, allocations: 24.32 MB / 0.9686 GB, free: 17.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.04637/1.759, allocations: 34.12 MB / 1.002 GB, free: 17.12 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01965/1.779, allocations: 7.606 MB / 1.009 GB, free: 32.41 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3999/2.179, allocations: 201.3 MB / 1.206 GB, free: 12.05 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.624/2.803, allocations: 68.86 MB / 1.273 GB, free: 177.4 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.00765/2.811, allocations: 1.16 MB / 1.274 GB, free: 177.4 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04002/2.851, allocations: 11.86 MB / 1.286 GB, free: 177.4 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.01141/2.862, allocations: 5.745 MB / 1.292 GB, free: 177.4 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0282/2.89, allocations: 8.467 MB / 1.3 GB, free: 176.1 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.03868/2.929, allocations: 20.97 MB / 1.32 GB, free: 175 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/2.929, allocations: 0 / 1.32 GB, free: 175 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.024e-06/2.929, allocations: 0 / 1.32 GB, free: 175 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.001053/2.93, allocations: 0 / 1.32 GB, free: 175 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.06224/2.992, allocations: 17.63 MB / 1.338 GB, free: 166.7 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/2.992, allocations: 10.31 kB / 1.338 GB, free: 166.7 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03664/3.029, allocations: 4.513 MB / 1.342 GB, free: 164.9 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02009/3.049, allocations: 7.414 MB / 1.349 GB, free: 162.1 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001817/3.051, allocations: 1.207 MB / 1.35 GB, free: 161.7 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005644/3.057, allocations: 1.165 MB / 1.352 GB, free: 160.9 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06884/3.126, allocations: 24.54 MB / 1.375 GB, free: 141.8 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005961/3.126, allocations: 53.89 kB / 1.376 GB, free: 141.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005198/3.131, allocations: 0.5594 MB / 1.376 GB, free: 141.6 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001626/3.133, allocations: 1.521 MB / 1.378 GB, free: 140.3 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05267/3.186, allocations: 22.55 MB / 1.4 GB, free: 123.9 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.1211/3.307, allocations: 107.6 MB / 1.505 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.036/3.343, allocations: 14.71 MB / 1.519 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01326/3.356, allocations: 6.051 MB / 1.525 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03371/3.39, allocations: 17.54 MB / 1.542 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003396/3.39, allocations: 172.3 kB / 1.542 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=798): time 1.684e-05/3.39, allocations: 0 / 1.542 GB, free: 3.797 MB / 0.8575 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!