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.001799/0.001799, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.00215/0.00215, allocations: 169.1 kB / 24.5 MB, free: 3.453 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.438/1.438, allocations: 177.2 MB / 204.9 MB, free: 9.031 MB / 190.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.2131/0.2131, allocations: 34.26 MB / 295.5 MB, free: 14.6 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: translateModel(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="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",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="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",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 63.89 kB / 443.2 MB, free: 6.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3393, allocations: 66.02 MB / 0.4973 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.722/1.061, allocations: 324.2 MB / 0.8138 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.1418/1.203, allocations: 95.56 MB / 0.9072 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0122/1.215, allocations: 424.2 kB / 0.9076 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01709/1.232, allocations: 4.667 MB / 0.9121 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.05592/1.288, allocations: 18.4 MB / 0.9301 GB, free: 6.035 MB / 0.7013 GB Notification: Performance of NFTyping.typeClassSections: time 0.06926/1.358, allocations: 26.44 MB / 0.9559 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.5024/1.86, allocations: 34.7 MB / 0.9898 GB, free: 21.01 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01436/1.874, allocations: 6.74 MB / 0.9964 GB, free: 36.66 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4841/2.359, allocations: 198.6 MB / 1.19 GB, free: 4.922 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1685/2.527, allocations: 68.96 MB / 1.258 GB, free: 8.945 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.00603/2.533, allocations: 1.156 MB / 1.259 GB, free: 7.789 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03629/2.569, allocations: 11.32 MB / 1.27 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.01203/2.581, allocations: 5.836 MB / 1.276 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.02044/2.602, allocations: 7.029 MB / 1.282 GB, free: 260 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.06276/2.665, allocations: 28 MB / 1.31 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/2.665, allocations: 0 / 1.31 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.024e-06/2.665, allocations: 0 / 1.31 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0007864/2.665, allocations: 0 / 1.31 GB, free: 5.504 MB / 0.9356 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.511/3.176, allocations: 17.95 MB / 1.327 GB, free: 499.6 MB / 0.9357 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/3.177, allocations: 8.938 kB / 1.327 GB, free: 499.6 MB / 0.9357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03992/3.216, allocations: 4.592 MB / 1.332 GB, free: 498.4 MB / 0.9357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02238/3.239, allocations: 7.675 MB / 1.339 GB, free: 495.4 MB / 0.9357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001963/3.241, allocations: 1.207 MB / 1.34 GB, free: 494.9 MB / 0.9357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004903/3.246, allocations: 1.172 MB / 1.342 GB, free: 494.6 MB / 0.9357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06879/3.314, allocations: 28.44 MB / 1.369 GB, free: 478.6 MB / 0.9357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005033/3.315, allocations: 63.17 kB / 1.369 GB, free: 478.6 MB / 0.9357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004093/3.319, allocations: 0.559 MB / 1.37 GB, free: 478.2 MB / 0.9357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001576/3.321, allocations: 1.512 MB / 1.371 GB, free: 477.7 MB / 0.9357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04949/3.37, allocations: 22.44 MB / 1.393 GB, free: 457.8 MB / 0.9357 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.1002/3.47, allocations: 72.84 MB / 1.464 GB, free: 385 MB / 0.9357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0337/3.504, allocations: 14.38 MB / 1.479 GB, free: 370.6 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01037/3.514, allocations: 5.839 MB / 1.484 GB, free: 364.7 MB / 0.9357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02883/3.543, allocations: 8.857 MB / 1.493 GB, free: 356.3 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/3.543, allocations: 174.3 kB / 1.493 GB, free: 356.2 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=798): time 1.208e-05/3.543, allocations: 3.938 kB / 1.493 GB, free: 356.2 MB / 0.9357 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.347650661016814] 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.7484482469735667 3.757738358 1.090353504 Calling exit ...