Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 166 kB / 23.94 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.007/1.007, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.239/0.239, allocations: 34.25 MB / 294.9 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 443.8 MB, free: 88 kB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.143e-05, allocations: 9.031 kB / 443.8 MB, free: 80 kB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.5744/0.5745, allocations: 321.3 MB / 0.7471 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.09018/0.6646, allocations: 95.62 MB / 0.8405 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009449/0.6741, allocations: 424.2 kB / 0.8409 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.01151/0.6856, allocations: 4.739 MB / 0.8455 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0353/0.7209, allocations: 18.9 MB / 0.864 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.3515/1.072, allocations: 29.32 MB / 0.8926 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0358/1.108, allocations: 33.84 MB / 0.9256 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01406/1.122, allocations: 6.665 MB / 0.9322 GB, free: 26.12 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2899/1.412, allocations: 202.1 MB / 1.129 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4169/1.829, allocations: 68.13 MB / 1.196 GB, free: 170.8 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.00629/1.835, allocations: 1.155 MB / 1.197 GB, free: 170.8 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03034/1.866, allocations: 11.41 MB / 1.208 GB, free: 170.8 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.01083/1.876, allocations: 6.05 MB / 1.214 GB, free: 170.8 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.01831/1.895, allocations: 6.006 MB / 1.22 GB, free: 170.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.05346/1.948, allocations: 29.64 MB / 1.249 GB, free: 169.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.423e-06/1.948, allocations: 2.344 kB / 1.249 GB, free: 169.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.325e-06/1.948, allocations: 0 / 1.249 GB, free: 169.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0009124/1.949, allocations: 0 / 1.249 GB, free: 169.7 MB / 0.823 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.04321/1.992, allocations: 17.81 MB / 1.266 GB, free: 163.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/1.992, allocations: 8.344 kB / 1.266 GB, free: 163.7 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007649/2, allocations: 1.869 MB / 1.268 GB, free: 163.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02355/2.024, allocations: 4.595 MB / 1.273 GB, free: 162.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01626/2.04, allocations: 7.673 MB / 1.28 GB, free: 160.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001465/2.041, allocations: 1.205 MB / 1.281 GB, free: 160 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004705/2.046, allocations: 1.167 MB / 1.283 GB, free: 159.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04862/2.095, allocations: 28.45 MB / 1.31 GB, free: 135.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003716/2.095, allocations: 53 kB / 1.31 GB, free: 135.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00355/2.099, allocations: 0.5515 MB / 1.311 GB, free: 135.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009589/2.1, allocations: 1.514 MB / 1.312 GB, free: 134.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03492/2.134, allocations: 22.45 MB / 1.334 GB, free: 117.7 MB / 0.823 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.08568/2.22, allocations: 75.78 MB / 1.408 GB, free: 41.92 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02305/2.243, allocations: 14.38 MB / 1.422 GB, free: 27.45 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008591/2.252, allocations: 5.848 MB / 1.428 GB, free: 21.56 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01538/2.267, allocations: 8.855 MB / 1.437 GB, free: 12.73 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/2.267, allocations: 167.5 kB / 1.437 GB, free: 12.57 MB / 0.823 GB Notification: Performance of pre-optimization done (n=798): time 9.688e-06/2.267, allocations: 0 / 1.437 GB, free: 12.57 MB / 0.823 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 657] [Calling sys.exit(0), Time elapsed: 4.604388143867254]