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.001282/0.001282, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001364/0.001364, allocations: 203.4 kB / 23.73 MB, free: 4.379 MB / 14.72 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.2368/0.2368, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 63.89 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3276, allocations: 66.04 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.6255/0.9531, allocations: 324.2 MB / 0.8772 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.1382/1.091, allocations: 95.54 MB / 0.9705 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01025/1.102, allocations: 420.2 kB / 0.9709 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01601/1.118, allocations: 4.675 MB / 0.9754 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.05188/1.169, allocations: 18.44 MB / 0.9935 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.4847/1.654, allocations: 26.75 MB / 1.02 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.04372/1.698, allocations: 34.87 MB / 1.054 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01601/1.714, allocations: 6.758 MB / 1.06 GB, free: 37.03 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3861/2.1, allocations: 198.1 MB / 1.254 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1389/2.239, allocations: 68.8 MB / 1.321 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.005929/2.245, allocations: 1.156 MB / 1.322 GB, free: 5.59 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0333/2.278, allocations: 11.67 MB / 1.333 GB, free: 10.38 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0108/2.289, allocations: 5.838 MB / 1.339 GB, free: 4.664 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.9152/3.204, allocations: 7.02 MB / 1.346 GB, free: 183.3 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.05776/3.262, allocations: 27.99 MB / 1.373 GB, free: 181.7 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/3.262, allocations: 6.875 kB / 1.373 GB, free: 181.7 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.643e-06/3.262, allocations: 1.594 kB / 1.373 GB, free: 181.7 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0008642/3.263, allocations: 1.406 kB / 1.373 GB, free: 181.7 MB / 0.92 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.06246/3.325, allocations: 17.95 MB / 1.391 GB, free: 175.7 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/3.325, allocations: 8.125 kB / 1.391 GB, free: 175.7 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008077/3.333, allocations: 1.874 MB / 1.393 GB, free: 175.6 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03767/3.371, allocations: 4.583 MB / 1.397 GB, free: 174.7 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0239/3.395, allocations: 7.683 MB / 1.405 GB, free: 173.3 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002061/3.397, allocations: 1.211 MB / 1.406 GB, free: 173.3 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005685/3.403, allocations: 1.166 MB / 1.407 GB, free: 173.3 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06567/3.468, allocations: 28.44 MB / 1.435 GB, free: 165.2 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004343/3.469, allocations: 52.94 kB / 1.435 GB, free: 165.2 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003946/3.473, allocations: 0.5486 MB / 1.435 GB, free: 165.2 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001584/3.474, allocations: 1.519 MB / 1.437 GB, free: 165.2 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05493/3.529, allocations: 22.45 MB / 1.459 GB, free: 165.1 MB / 0.92 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.1217/3.651, allocations: 75.96 MB / 1.533 GB, free: 111.7 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03662/3.688, allocations: 14.37 MB / 1.547 GB, free: 101 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01187/3.699, allocations: 5.846 MB / 1.553 GB, free: 95.61 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02855/3.728, allocations: 8.856 MB / 1.561 GB, free: 86.79 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/3.728, allocations: 166.1 kB / 1.561 GB, free: 86.63 MB / 0.92 GB Notification: Performance of pre-optimization done (n=798): time 1.301e-05/3.728, allocations: 0 / 1.561 GB, free: 86.63 MB / 0.92 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 656] [Calling sys.exit(0), Time elapsed: 6.511779870983446] Failed to read output from testmodel.py, exit status != 0: ['time', 'pipeAV_B2.state_a.h', 'pipeAV_B2.state_b.h', 'pipeAV_B3.state_a.h', 'pipeAV_B3.state_b.h', 'pipeAV_B4.state_a.h', 'pipeAV_B4.state_b.h', 'pipeA_VB2.state_a.h', 'pipeA_VB2.state_b.h', 'pipeA_VB3.state_a.h', 'pipeA_VB3.state_b.h', 'pipeA_VB4.state_a.h', 'pipeA_VB4.state_b.h', 'pipeAV_VB2.state_a.h', 'pipeAV_VB2.state_b.h', 'pipeAV_VB3.state_a.h', 'pipeAV_VB3.state_b.h', 'pipeAV_VB4.state_a.h', 'pipeAV_VB4.state_b.h', 'pipeA_V_B2.state_a.h', 'pipeA_V_B2.state_b.h', 'pipeA_V_B3.state_a.h', 'pipeA_V_B3.state_b.h', 'pipeA_V_B4.state_a.h', 'pipeA_V_B4.state_b.h'] 3.9235818019951694 3.932670498 0.66821867 Calling exit ...