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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001152/0.001152, allocations: 111.4 kB / 20.43 MB, free: 4.586 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001174, allocations: 221.3 kB / 23.73 MB, free: 2.133 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9878/0.9878, allocations: 230.7 MB / 257.6 MB, free: 9.344 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1736/0.1736, allocations: 47.7 MB / 361.8 MB, free: 2.199 MB / 282.7 MB " [Timeout remaining time 180] 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 99.84 kB / 0.4982 GB, free: 6.539 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1047, allocations: 66.25 MB / 0.5629 GB, free: 4.152 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.6711/0.7758, allocations: 324.1 MB / 0.8794 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.07185/0.8477, allocations: 95.55 MB / 0.9727 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01004/0.8577, allocations: 420.9 kB / 0.9731 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.01189/0.8696, allocations: 4.676 MB / 0.9777 GB, free: 4.059 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.04091/0.9105, allocations: 18.4 MB / 0.9957 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.05465/0.9652, allocations: 26.45 MB / 1.022 GB, free: 7.172 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.03947/1.005, allocations: 34.71 MB / 1.055 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/1.015, allocations: 6.74 MB / 1.062 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5747/1.59, allocations: 198.1 MB / 1.255 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0716/1.661, allocations: 68.81 MB / 1.323 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.004409/1.666, allocations: 1.156 MB / 1.324 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02251/1.688, allocations: 11.32 MB / 1.335 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.00622/1.695, allocations: 5.834 MB / 1.34 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.01052/1.705, allocations: 7.033 MB / 1.347 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.03632/1.741, allocations: 27.98 MB / 1.375 GB, free: 15 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.741, allocations: 0 / 1.375 GB, free: 15 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.355e-06/1.741, allocations: 0 / 1.375 GB, free: 15 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0006806/1.742, allocations: 0 / 1.375 GB, free: 15 MB / 0.8855 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.02845/1.77, allocations: 17.95 MB / 1.392 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.771, allocations: 8.031 kB / 1.392 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001914/1.772, allocations: 1.871 MB / 1.394 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02016/1.793, allocations: 4.586 MB / 1.399 GB, free: 6.695 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01307/1.806, allocations: 7.682 MB / 1.406 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009044/1.807, allocations: 1.218 MB / 1.407 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001543/1.808, allocations: 1.165 MB / 1.408 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03444/1.843, allocations: 28.44 MB / 1.436 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001627/1.843, allocations: 50.19 kB / 1.436 GB, free: 14.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001094/1.844, allocations: 0.552 MB / 1.437 GB, free: 14.29 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001028/1.845, allocations: 1.515 MB / 1.438 GB, free: 12.79 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3981/2.243, allocations: 22.44 MB / 1.46 GB, free: 499.6 MB / 0.948 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.06656/2.309, allocations: 75.97 MB / 1.534 GB, free: 451.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01937/2.329, allocations: 14.38 MB / 1.548 GB, free: 443.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005651/2.335, allocations: 5.857 MB / 1.554 GB, free: 438 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01322/2.348, allocations: 8.84 MB / 1.563 GB, free: 429.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.118e-05/2.348, allocations: 174.8 kB / 1.563 GB, free: 429.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=798): time 8.876e-06/2.348, allocations: 0 / 1.563 GB, free: 429.5 MB / 0.948 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! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.484089535661042]