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.001124/0.001124, allocations: 109.1 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001177/0.001177, allocations: 205.8 kB / 18.26 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.247/0.247, allocations: 46.09 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 72.59 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1541, allocations: 62.44 MB / 479.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 1.147/1.301, allocations: 360.8 MB / 0.8206 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1495/1.451, allocations: 105 MB / 0.9231 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01899/1.47, allocations: 357.3 kB / 0.9235 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01789/1.488, allocations: 4.586 MB / 0.928 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.06552/1.554, allocations: 16.65 MB / 0.9442 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.5908/2.144, allocations: 24.31 MB / 0.968 GB, free: 17.01 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.04983/2.194, allocations: 34.13 MB / 1.001 GB, free: 16.95 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01505/2.209, allocations: 7.596 MB / 1.009 GB, free: 32.24 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4077/2.617, allocations: 201.3 MB / 1.205 GB, free: 11.8 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6067/3.224, allocations: 68.88 MB / 1.273 GB, free: 176.9 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.007559/3.232, allocations: 1.158 MB / 1.274 GB, free: 176.9 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03834/3.27, allocations: 11.85 MB / 1.285 GB, free: 176.9 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.01185/3.282, allocations: 5.75 MB / 1.291 GB, free: 176.9 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.02554/3.307, allocations: 8.469 MB / 1.299 GB, free: 175.7 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.06472/3.372, allocations: 27.54 MB / 1.326 GB, free: 172.1 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/3.372, allocations: 3.984 kB / 1.326 GB, free: 172.1 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.753e-06/3.372, allocations: 5.531 kB / 1.326 GB, free: 172.1 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.001193/3.373, allocations: 0 / 1.326 GB, free: 172.1 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.06236/3.436, allocations: 17.63 MB / 1.343 GB, free: 163.6 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/3.436, allocations: 7.594 kB / 1.343 GB, free: 163.6 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03567/3.471, allocations: 4.513 MB / 1.348 GB, free: 161.8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0179/3.489, allocations: 7.415 MB / 1.355 GB, free: 156.9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001815/3.491, allocations: 1.209 MB / 1.356 GB, free: 156.2 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006186/3.497, allocations: 1.174 MB / 1.357 GB, free: 155.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07732/3.575, allocations: 24.54 MB / 1.381 GB, free: 136.3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006711/3.576, allocations: 51.31 kB / 1.381 GB, free: 136.3 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006699/3.582, allocations: 0.5546 MB / 1.382 GB, free: 136.1 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001709/3.584, allocations: 1.514 MB / 1.383 GB, free: 134.8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05495/3.639, allocations: 22.55 MB / 1.405 GB, free: 118.4 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.1323/3.771, allocations: 107.6 MB / 1.51 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03862/3.81, allocations: 14.72 MB / 1.525 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.014/3.824, allocations: 6.046 MB / 1.531 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3253/4.149, allocations: 17.54 MB / 1.548 GB, free: 433.6 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/4.15, allocations: 167.2 kB / 1.548 GB, free: 433.6 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=798): time 1.262e-05/4.15, allocations: 0 / 1.548 GB, free: 433.6 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!