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.001336/0.001336, allocations: 112.5 kB / 21.22 MB, free: 0.75 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.001545/0.001545, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2484/0.2484, allocations: 46.94 MB / 361.6 MB, free: 4.242 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.002654/0.002654, allocations: 63.91 kB / 0.4969 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3999, allocations: 66.04 MB / 0.5614 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.7079/1.108, allocations: 361.2 MB / 0.9142 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.5967/1.704, allocations: 104.8 MB / 1.017 GB, free: 396 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01013/1.715, allocations: 423.9 kB / 1.017 GB, free: 396 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01497/1.73, allocations: 5.166 MB / 1.022 GB, free: 384 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.04496/1.775, allocations: 18.43 MB / 1.04 GB, free: 96 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.07082/1.845, allocations: 27.35 MB / 1.067 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.04724/1.893, allocations: 34.88 MB / 1.101 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01487/1.907, allocations: 6.508 MB / 1.107 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5402/2.448, allocations: 198 MB / 1.301 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6893/3.137, allocations: 68.77 MB / 1.368 GB, free: 230.3 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.006959/3.144, allocations: 1.154 MB / 1.369 GB, free: 230.3 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04464/3.189, allocations: 12.05 MB / 1.381 GB, free: 230.3 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.01154/3.2, allocations: 5.838 MB / 1.386 GB, free: 230.3 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.02802/3.228, allocations: 8.453 MB / 1.395 GB, free: 230.1 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.06963/3.298, allocations: 27.94 MB / 1.422 GB, free: 226.7 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/3.298, allocations: 3.562 kB / 1.422 GB, free: 226.7 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.084e-06/3.298, allocations: 0 / 1.422 GB, free: 226.7 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0009582/3.299, allocations: 0 / 1.422 GB, free: 226.7 MB / 0.9512 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.06974/3.369, allocations: 17.98 MB / 1.439 GB, free: 219.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/3.369, allocations: 7.781 kB / 1.439 GB, free: 219.8 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004625/3.369, allocations: 341.8 kB / 1.44 GB, free: 219.8 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009624/3.379, allocations: 1.868 MB / 1.442 GB, free: 219.3 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03837/3.417, allocations: 4.587 MB / 1.446 GB, free: 217.5 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02388/3.441, allocations: 7.67 MB / 1.453 GB, free: 213.6 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001983/3.443, allocations: 1.204 MB / 1.455 GB, free: 212.9 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005508/3.448, allocations: 1.171 MB / 1.456 GB, free: 212.2 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06854/3.517, allocations: 24.5 MB / 1.48 GB, free: 193 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005306/3.517, allocations: 51.97 kB / 1.48 GB, free: 193 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004645/3.522, allocations: 0.5512 MB / 1.48 GB, free: 192.9 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001566/3.524, allocations: 1.517 MB / 1.482 GB, free: 191.5 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05617/3.58, allocations: 22.55 MB / 1.504 GB, free: 174.5 MB / 0.9512 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.1395/3.719, allocations: 106.4 MB / 1.608 GB, free: 61.5 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03949/3.759, allocations: 14.41 MB / 1.622 GB, free: 46.99 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01294/3.772, allocations: 5.848 MB / 1.627 GB, free: 41.1 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02968/3.802, allocations: 8.876 MB / 1.636 GB, free: 32.32 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/3.802, allocations: 176.2 kB / 1.636 GB, free: 32.16 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=798): time 2.514e-05/3.802, allocations: 0 / 1.636 GB, free: 32.16 MB / 0.9512 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.091225849988405] 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.358452373999171 4.369413032 1.068372097 Calling exit ...