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.0009303/0.0009345, allocations: 97.75 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 200.8 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2153/0.2153, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000271/0.0002711, allocations: 11.98 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1166, allocations: 63.55 MB / 483.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.8766/0.9932, allocations: 357.4 MB / 0.8208 GB, free: 412 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1252/1.118, allocations: 105.6 MB / 0.924 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01456/1.133, allocations: 329.3 kB / 0.9243 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01749/1.151, allocations: 4.543 MB / 0.9287 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0526/1.203, allocations: 16.37 MB / 0.9447 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.4866/1.69, allocations: 24.02 MB / 0.9682 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0545/1.744, allocations: 48.53 MB / 1.016 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01463/1.759, allocations: 6.414 MB / 1.022 GB, free: 24.55 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4219/2.181, allocations: 199.2 MB / 1.216 GB, free: 12.59 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6349/2.816, allocations: 68.46 MB / 1.283 GB, free: 165.5 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.005874/2.822, allocations: 0.5485 MB / 1.284 GB, free: 165.5 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03774/2.86, allocations: 11.26 MB / 1.295 GB, free: 165.5 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.01333/2.873, allocations: 5.1 MB / 1.3 GB, free: 164.2 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.02994/2.903, allocations: 7.791 MB / 1.307 GB, free: 161.5 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.05941/2.962, allocations: 26.64 MB / 1.333 GB, free: 141.8 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/2.962, allocations: 0 / 1.333 GB, free: 141.8 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.324e-06/2.962, allocations: 0 / 1.333 GB, free: 141.8 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0008872/2.963, allocations: 0 / 1.333 GB, free: 141.8 MB / 0.795 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.03824/3.002, allocations: 14.81 MB / 1.348 GB, free: 128.2 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/3.002, allocations: 12.03 kB / 1.348 GB, free: 128.1 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006397/3.008, allocations: 1.867 MB / 1.35 GB, free: 127.1 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03429/3.042, allocations: 4.77 MB / 1.354 GB, free: 122.7 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01666/3.059, allocations: 7.415 MB / 1.362 GB, free: 117.4 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001825/3.061, allocations: 1.206 MB / 1.363 GB, free: 116.7 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004705/3.066, allocations: 1.164 MB / 1.364 GB, free: 115.9 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06147/3.127, allocations: 25.05 MB / 1.388 GB, free: 96.23 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008431/3.128, allocations: 52.86 kB / 1.388 GB, free: 96.21 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006494/3.135, allocations: 0.5516 MB / 1.389 GB, free: 96.06 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00162/3.136, allocations: 1.517 MB / 1.39 GB, free: 94.73 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05286/3.189, allocations: 23.29 MB / 1.413 GB, free: 75.79 MB / 0.795 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.6599/3.849, allocations: 108 MB / 1.519 GB, free: 418 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04055/3.89, allocations: 15.55 MB / 1.534 GB, free: 417.4 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0131/3.903, allocations: 6.286 MB / 1.54 GB, free: 417.2 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03037/3.933, allocations: 17.66 MB / 1.557 GB, free: 405.9 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/3.933, allocations: 170.5 kB / 1.557 GB, free: 405.8 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=798): time 1.03e-05/3.933, allocations: 3.438 kB / 1.557 GB, free: 405.8 MB / 0.8263 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!