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.001278/0.001278, allocations: 113 kB / 18.49 MB, free: 4.539 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.001504/0.001504, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.513/1.513, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.236/0.236, allocations: 46.91 MB / 357.8 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002652/0.002652, allocations: 63.91 kB / 0.4916 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1326, allocations: 66 MB / 0.5561 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 1.156/1.288, allocations: 357.8 MB / 0.9055 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.129/1.417, allocations: 104.5 MB / 1.008 GB, free: 15.57 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01429/1.432, allocations: 426.3 kB / 1.008 GB, free: 15.39 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01892/1.45, allocations: 5.163 MB / 1.013 GB, free: 11.81 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.06293/1.513, allocations: 18.16 MB / 1.031 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.07771/1.591, allocations: 26.03 MB / 1.056 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.04765/1.639, allocations: 34.06 MB / 1.089 GB, free: 2 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01506/1.654, allocations: 6.881 MB / 1.096 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.8818/2.536, allocations: 201.8 MB / 1.293 GB, free: 6.473 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1427/2.678, allocations: 68.7 MB / 1.36 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.007602/2.686, allocations: 1.156 MB / 1.361 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04199/2.728, allocations: 11.99 MB / 1.373 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0146/2.743, allocations: 5.808 MB / 1.379 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.02616/2.769, allocations: 8.444 MB / 1.387 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.06794/2.837, allocations: 27.93 MB / 1.414 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/2.837, allocations: 0 / 1.414 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.232e-06/2.837, allocations: 0 / 1.414 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.001065/2.838, allocations: 2.906 kB / 1.414 GB, free: 11.83 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.06833/2.906, allocations: 18.05 MB / 1.432 GB, free: 9.863 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/2.906, allocations: 8.031 kB / 1.432 GB, free: 9.855 MB / 0.92 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004734/2.907, allocations: 340.9 kB / 1.432 GB, free: 9.52 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007847/2.914, allocations: 1.867 MB / 1.434 GB, free: 7.676 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03975/2.954, allocations: 4.593 MB / 1.439 GB, free: 3.074 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02503/2.979, allocations: 7.824 MB / 1.446 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002522/2.982, allocations: 1.213 MB / 1.447 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005842/2.988, allocations: 1.166 MB / 1.449 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7576/3.745, allocations: 24.5 MB / 1.472 GB, free: 0.4922 GB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007609/3.746, allocations: 56.34 kB / 1.473 GB, free: 0.4922 GB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006602/3.753, allocations: 0.5464 MB / 1.473 GB, free: 0.4922 GB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0027/3.755, allocations: 1.515 MB / 1.475 GB, free: 0.4922 GB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06481/3.82, allocations: 22.55 MB / 1.497 GB, free: 499.6 MB / 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.1252/3.945, allocations: 107.8 MB / 1.602 GB, free: 407.9 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03622/3.981, allocations: 14.42 MB / 1.616 GB, free: 393.5 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01228/3.994, allocations: 5.857 MB / 1.622 GB, free: 387.6 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03029/4.024, allocations: 17.6 MB / 1.639 GB, free: 368.5 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/4.024, allocations: 168.7 kB / 1.639 GB, free: 368.3 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=798): time 9.939e-06/4.024, allocations: 0 / 1.639 GB, free: 368.3 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: 7.134011721005663] 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'] 4.232228756998666 4.240958855 1.401668931 Calling exit ...