Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001616/0.001616, allocations: 117.2 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001865/0.001865, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.5 MB, free: 10.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2189/0.2189, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 84.16 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1215, allocations: 62.45 MB / 479.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.9565/1.078, allocations: 360.8 MB / 0.8208 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1441/1.222, allocations: 105 MB / 0.9234 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01735/1.24, allocations: 349.3 kB / 0.9237 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01833/1.258, allocations: 4.582 MB / 0.9282 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.05622/1.314, allocations: 16.66 MB / 0.9444 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.5015/1.816, allocations: 24.31 MB / 0.9682 GB, free: 16.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0438/1.86, allocations: 34.14 MB / 1.002 GB, free: 16.87 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01601/1.876, allocations: 7.602 MB / 1.009 GB, free: 32.17 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3769/2.253, allocations: 201.3 MB / 1.206 GB, free: 11.66 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6068/2.859, allocations: 68.88 MB / 1.273 GB, free: 177 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.006802/2.866, allocations: 1.161 MB / 1.274 GB, free: 177 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04254/2.909, allocations: 11.86 MB / 1.286 GB, free: 177 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.01215/2.921, allocations: 5.746 MB / 1.291 GB, free: 177 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.02899/2.95, allocations: 8.47 MB / 1.299 GB, free: 175.8 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.06022/3.01, allocations: 27.54 MB / 1.326 GB, free: 172.2 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/3.01, allocations: 3.312 kB / 1.326 GB, free: 172.2 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.776e-06/3.01, allocations: 0 / 1.326 GB, free: 172.2 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0009831/3.011, allocations: 0 / 1.326 GB, free: 172.2 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.06551/3.077, allocations: 17.63 MB / 1.344 GB, free: 163.7 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/3.077, allocations: 8.844 kB / 1.344 GB, free: 163.7 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00963/3.087, allocations: 1.872 MB / 1.345 GB, free: 163.2 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03648/3.123, allocations: 4.514 MB / 1.35 GB, free: 161.2 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01955/3.143, allocations: 7.426 MB / 1.357 GB, free: 155.9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001968/3.145, allocations: 1.203 MB / 1.358 GB, free: 155.2 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006536/3.151, allocations: 1.167 MB / 1.359 GB, free: 154.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0661/3.217, allocations: 24.55 MB / 1.383 GB, free: 135.3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006162/3.218, allocations: 52.53 kB / 1.383 GB, free: 135.2 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005395/3.223, allocations: 0.5525 MB / 1.384 GB, free: 135.1 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001546/3.225, allocations: 1.514 MB / 1.385 GB, free: 133.8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06053/3.286, allocations: 22.55 MB / 1.407 GB, free: 117.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.1304/3.416, allocations: 107.6 MB / 1.512 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04216/3.458, allocations: 14.72 MB / 1.527 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01575/3.474, allocations: 6.046 MB / 1.533 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2943/3.768, allocations: 17.52 MB / 1.55 GB, free: 455.7 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/3.769, allocations: 171.8 kB / 1.55 GB, free: 455.6 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=798): time 1.073e-05/3.769, allocations: 0 / 1.55 GB, free: 455.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!