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.001353/0.001353, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001556/0.001556, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.599/1.599, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2363/0.2363, allocations: 46.91 MB / 357.1 MB, free: 10.32 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.001996/0.001996, allocations: 59.91 kB / 0.4909 GB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1313, allocations: 66 MB / 0.5554 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.9847/1.116, allocations: 357.8 MB / 0.9048 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.1073/1.223, allocations: 104.5 MB / 1.007 GB, free: 15.55 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009781/1.233, allocations: 430.6 kB / 1.007 GB, free: 15.36 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01455/1.248, allocations: 5.164 MB / 1.012 GB, free: 11.8 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.05046/1.298, allocations: 18.16 MB / 1.03 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.07093/1.369, allocations: 26.03 MB / 1.055 GB, free: 4.145 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.05045/1.419, allocations: 34.06 MB / 1.089 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0141/1.434, allocations: 6.881 MB / 1.095 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.8273/2.261, allocations: 201.8 MB / 1.292 GB, free: 6.676 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1567/2.418, allocations: 68.71 MB / 1.36 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.008382/2.426, allocations: 1.156 MB / 1.361 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05658/2.482, allocations: 11.99 MB / 1.372 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.01689/2.499, allocations: 5.812 MB / 1.378 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.02999/2.529, allocations: 8.447 MB / 1.386 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0814/2.611, allocations: 27.91 MB / 1.414 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/2.611, allocations: 3.984 kB / 1.414 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.934e-06/2.611, allocations: 0 / 1.414 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0009564/2.612, allocations: 0 / 1.414 GB, free: 12.03 MB / 0.9044 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.07755/2.689, allocations: 18.05 MB / 1.431 GB, free: 10.06 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/2.689, allocations: 8.031 kB / 1.431 GB, free: 10.05 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007197/2.697, allocations: 1.868 MB / 1.433 GB, free: 8.211 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0379/2.734, allocations: 4.595 MB / 1.438 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02112/2.756, allocations: 7.821 MB / 1.445 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002179/2.758, allocations: 1.21 MB / 1.446 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005949/2.764, allocations: 1.169 MB / 1.448 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07623/2.84, allocations: 24.5 MB / 1.471 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00063/2.841, allocations: 51.31 kB / 1.472 GB, free: 492 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.6409/3.481, allocations: 0.5479 MB / 1.472 GB, free: 0.4935 GB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002272/3.484, allocations: 1.514 MB / 1.474 GB, free: 0.4935 GB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06255/3.546, allocations: 22.55 MB / 1.496 GB, free: 0.4895 GB / 0.9513 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.1298/3.676, allocations: 107.8 MB / 1.601 GB, free: 409.7 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0394/3.715, allocations: 14.42 MB / 1.615 GB, free: 395.2 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01233/3.728, allocations: 5.855 MB / 1.621 GB, free: 389.3 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03306/3.761, allocations: 17.6 MB / 1.638 GB, free: 370.2 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/3.761, allocations: 171.8 kB / 1.638 GB, free: 370 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=798): time 3.469e-05/3.761, allocations: 0 / 1.638 GB, free: 370 MB / 0.9513 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.917118669021875] 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.9800792541354895 3.993547339 1.3797019879999999 Calling exit ...