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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001532/0.001532, allocations: 103.3 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001797/0.001797, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2461/0.2461, allocations: 46.11 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 75 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1344, allocations: 62.43 MB / 479.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.9938/1.128, allocations: 362.5 MB / 0.8222 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1376/1.266, allocations: 106.8 MB / 0.9265 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01587/1.282, allocations: 353.3 kB / 0.9268 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01741/1.299, allocations: 4.543 MB / 0.9312 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.05439/1.354, allocations: 16.38 MB / 0.9472 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.564/1.918, allocations: 24.02 MB / 0.9707 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.05946/1.977, allocations: 48.52 MB / 1.018 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01638/1.994, allocations: 6.436 MB / 1.024 GB, free: 31.04 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4491/2.443, allocations: 199.2 MB / 1.219 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6934/3.136, allocations: 68.47 MB / 1.286 GB, free: 175.3 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.006546/3.143, allocations: 0.56 MB / 1.286 GB, free: 175.3 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03479/3.178, allocations: 11.28 MB / 1.297 GB, free: 175.3 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.01037/3.188, allocations: 5.098 MB / 1.302 GB, free: 175.3 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.02659/3.215, allocations: 7.788 MB / 1.31 GB, free: 173.6 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.05525/3.27, allocations: 26.94 MB / 1.336 GB, free: 165.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/3.27, allocations: 0 / 1.336 GB, free: 165.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.845e-06/3.27, allocations: 1.5 kB / 1.336 GB, free: 165.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.001456/3.271, allocations: 0 / 1.336 GB, free: 165.5 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.05649/3.328, allocations: 17.67 MB / 1.354 GB, free: 153.7 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/3.328, allocations: 8.031 kB / 1.354 GB, free: 153.6 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006313/3.334, allocations: 1.876 MB / 1.355 GB, free: 152.6 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03562/3.37, allocations: 4.516 MB / 1.36 GB, free: 148.4 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01578/3.386, allocations: 7.414 MB / 1.367 GB, free: 143.1 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001518/3.387, allocations: 1.211 MB / 1.368 GB, free: 142.4 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004462/3.392, allocations: 1.165 MB / 1.369 GB, free: 141.6 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05907/3.451, allocations: 24.55 MB / 1.393 GB, free: 122.5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003131/3.451, allocations: 52.81 kB / 1.393 GB, free: 122.5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003092/3.454, allocations: 0.5521 MB / 1.394 GB, free: 122.3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001366/3.456, allocations: 1.514 MB / 1.395 GB, free: 121 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05048/3.506, allocations: 22.55 MB / 1.417 GB, free: 104.3 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.12/3.626, allocations: 107.6 MB / 1.522 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03935/3.666, allocations: 14.71 MB / 1.537 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01306/3.679, allocations: 6.036 MB / 1.543 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3116/3.99, allocations: 17.54 MB / 1.56 GB, free: 449.8 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/3.991, allocations: 175.2 kB / 1.56 GB, free: 449.8 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=798): time 1.09e-05/3.991, allocations: 5.578 kB / 1.56 GB, free: 449.8 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!