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.001388/0.001388, allocations: 116.1 kB / 20.44 MB, free: 4.574 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.001657/0.001657, allocations: 221.3 kB / 23.74 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.9783/0.9783, allocations: 231.1 MB / 258 MB, free: 8.926 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.1837/0.1837, allocations: 47.72 MB / 362.3 MB, free: 1.711 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.002301/0.002301, allocations: 107.8 kB / 0.4998 GB, free: 5.137 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09179/0.09409, allocations: 66.36 MB / 0.5646 GB, free: 2.641 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.6378/0.7319, allocations: 324.1 MB / 0.8811 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.07195/0.8038, allocations: 95.54 MB / 0.9744 GB, free: 6.492 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006033/0.8099, allocations: 427.8 kB / 0.9748 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.007275/0.8171, allocations: 4.669 MB / 0.9794 GB, free: 2.199 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.03485/0.852, allocations: 18.42 MB / 0.9974 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.05156/0.9035, allocations: 26.45 MB / 1.023 GB, free: 5.293 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.02938/0.9329, allocations: 34.7 MB / 1.057 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007153/0.9401, allocations: 6.736 MB / 1.064 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5318/1.472, allocations: 198.1 MB / 1.257 GB, free: 4.305 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07309/1.545, allocations: 68.81 MB / 1.324 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.004234/1.549, allocations: 1.152 MB / 1.325 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02164/1.571, allocations: 11.33 MB / 1.336 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.004594/1.575, allocations: 5.831 MB / 1.342 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.01026/1.586, allocations: 7.032 MB / 1.349 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.03531/1.621, allocations: 27.99 MB / 1.376 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/1.621, allocations: 0 / 1.376 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.833e-06/1.621, allocations: 0 / 1.376 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0007468/1.622, allocations: 4 kB / 1.376 GB, free: 11.8 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.02895/1.651, allocations: 17.95 MB / 1.394 GB, free: 9.961 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/1.651, allocations: 12.03 kB / 1.394 GB, free: 9.949 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001991/1.653, allocations: 1.869 MB / 1.396 GB, free: 8.105 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01994/1.673, allocations: 4.593 MB / 1.4 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01118/1.684, allocations: 7.673 MB / 1.408 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008779/1.685, allocations: 1.201 MB / 1.409 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001344/1.686, allocations: 1.17 MB / 1.41 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03603/1.722, allocations: 28.45 MB / 1.438 GB, free: 11.63 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001816/1.722, allocations: 49.81 kB / 1.438 GB, free: 11.61 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001121/1.723, allocations: 0.5434 MB / 1.438 GB, free: 11.11 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001042/1.724, allocations: 1.522 MB / 1.44 GB, free: 9.602 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3947/2.119, allocations: 22.44 MB / 1.462 GB, free: 499.1 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.07023/2.189, allocations: 75.97 MB / 1.536 GB, free: 450.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02037/2.21, allocations: 14.38 MB / 1.55 GB, free: 440.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005895/2.216, allocations: 5.856 MB / 1.556 GB, free: 434.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01354/2.229, allocations: 8.848 MB / 1.564 GB, free: 426 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.862e-05/2.229, allocations: 179.9 kB / 1.565 GB, free: 425.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=798): time 9.127e-06/2.229, allocations: 0 / 1.565 GB, free: 425.8 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.4203783283010125]