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.001051/0.001051, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003434/0.003434, allocations: 160.3 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8918/0.8918, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.2517/0.2517, allocations: 34.25 MB / 295.7 MB, free: 0.6875 MB / 266.7 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 1.994e-06/1.994e-06, allocations: 0 / 443.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.149e-05, allocations: 6.219 kB / 443.5 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.7315/0.7315, allocations: 321.3 MB / 0.7468 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.09455/0.8261, allocations: 95.61 MB / 0.8402 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01119/0.8373, allocations: 424.1 kB / 0.8406 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.01333/0.8506, allocations: 4.747 MB / 0.8452 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.03992/0.8905, allocations: 18.89 MB / 0.8637 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.4447/1.335, allocations: 29.32 MB / 0.8923 GB, free: 16.08 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.04141/1.377, allocations: 33.83 MB / 0.9254 GB, free: 11 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01591/1.393, allocations: 6.665 MB / 0.9319 GB, free: 26.45 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2631/1.656, allocations: 202.1 MB / 1.129 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4648/2.12, allocations: 68.12 MB / 1.196 GB, free: 171 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.006244/2.127, allocations: 1.16 MB / 1.197 GB, free: 171 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02815/2.155, allocations: 11.4 MB / 1.208 GB, free: 171 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.01061/2.165, allocations: 6.054 MB / 1.214 GB, free: 171 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.01643/2.182, allocations: 6.001 MB / 1.22 GB, free: 171 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.04942/2.231, allocations: 29.64 MB / 1.249 GB, free: 170 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/2.231, allocations: 0 / 1.249 GB, free: 170 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.854e-06/2.231, allocations: 0 / 1.249 GB, free: 170 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0007689/2.232, allocations: 0 / 1.249 GB, free: 170 MB / 0.823 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.04275/2.275, allocations: 17.81 MB / 1.266 GB, free: 163.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/2.275, allocations: 9.969 kB / 1.266 GB, free: 163.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02022/2.295, allocations: 4.588 MB / 1.271 GB, free: 163 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01691/2.312, allocations: 7.679 MB / 1.278 GB, free: 161 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001103/2.313, allocations: 1.207 MB / 1.279 GB, free: 160.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002951/2.316, allocations: 1.167 MB / 1.28 GB, free: 160.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03445/2.351, allocations: 28.44 MB / 1.308 GB, free: 137.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002188/2.351, allocations: 56.53 kB / 1.308 GB, free: 137.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001213/2.352, allocations: 0.5486 MB / 1.309 GB, free: 137.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008766/2.353, allocations: 1.518 MB / 1.31 GB, free: 136 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02952/2.382, allocations: 22.45 MB / 1.332 GB, free: 119.7 MB / 0.823 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.06852/2.451, allocations: 72.64 MB / 1.403 GB, free: 47.71 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01907/2.47, allocations: 14.38 MB / 1.417 GB, free: 33.25 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006498/2.476, allocations: 5.84 MB / 1.423 GB, free: 27.36 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01368/2.49, allocations: 8.853 MB / 1.432 GB, free: 18.53 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/2.49, allocations: 174.7 kB / 1.432 GB, free: 18.36 MB / 0.823 GB Notification: Performance of pre-optimization done (n=798): time 9.428e-06/2.49, allocations: 0 / 1.432 GB, free: 18.36 MB / 0.823 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 657] [Calling sys.exit(0), Time elapsed: 4.636349948123097] 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'] 2.8036061096936464 2.811223992 0.578002418 Calling exit ...