Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 230.3 MB / 258 MB, free: 8.199 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2321/0.2321, allocations: 46.94 MB / 361.4 MB, free: 4.375 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 75.88 kB / 0.4972 GB, free: 7.465 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.402, allocations: 66.05 MB / 0.5617 GB, free: 4.484 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.7664/1.168, allocations: 361.2 MB / 0.9144 GB, free: 2.738 MB / 0.6231 GB
Notification: Performance of NFInst.instExpressions: time 0.7582/1.927, allocations: 104.8 MB / 1.017 GB, free: 372 kB / 0.7169 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.01504/1.942, allocations: 423.8 kB / 1.017 GB, free: 372 kB / 0.7169 GB
Notification: Performance of NFTyping.typeComponents: time 0.01754/1.959, allocations: 5.16 MB / 1.022 GB, free: 360 kB / 0.7169 GB
Notification: Performance of NFTyping.typeBindings: time 0.0596/2.019, allocations: 18.42 MB / 1.04 GB, free: 76 kB / 0.7169 GB
Notification: Performance of NFTyping.typeClassSections: time 0.07604/2.095, allocations: 27.36 MB / 1.067 GB, free: 15.33 MB / 0.7325 GB
Notification: Performance of NFFlatten.flatten: time 0.06164/2.156, allocations: 34.88 MB / 1.101 GB, free: 8.141 MB / 0.7325 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.01849/2.175, allocations: 6.517 MB / 1.107 GB, free: 5.754 MB / 0.7325 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.5019/2.677, allocations: 198 MB / 1.301 GB, free: 1.957 MB / 0.9044 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.6622/3.339, allocations: 68.77 MB / 1.368 GB, free: 230.4 MB / 0.9512 GB
Notification: Performance of NFPackage.collectConstants: time 0.00742/3.346, allocations: 1.153 MB / 1.369 GB, free: 230.4 MB / 0.9512 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.03725/3.384, allocations: 12.05 MB / 1.381 GB, free: 230.4 MB / 0.9512 GB
Notification: Performance of NFScalarize.scalarize: time 0.01234/3.396, allocations: 5.832 MB / 1.386 GB, free: 230.4 MB / 0.9512 GB
Notification: Performance of NFVerifyModel.verify: time 0.03465/3.431, allocations: 8.459 MB / 1.395 GB, free: 230.1 MB / 0.9512 GB
Notification: Performance of NFConvertDAE.convert: time 0.06492/3.496, allocations: 27.92 MB / 1.422 GB, free: 226.7 MB / 0.9512 GB
Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/3.496, allocations: 3.938 kB / 1.422 GB, free: 226.7 MB / 0.9512 GB
Notification: Performance of FrontEnd: time 1.754e-06/3.496, allocations: 3.719 kB / 1.422 GB, free: 226.7 MB / 0.9512 GB
Notification: Performance of Transformations before backend: time 0.0009987/3.497, 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.05425/3.551, allocations: 17.97 MB / 1.44 GB, free: 219.9 MB / 0.9512 GB
Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/3.551, allocations: 12.62 kB / 1.44 GB, free: 219.9 MB / 0.9512 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03609/3.587, allocations: 4.595 MB / 1.444 GB, free: 218 MB / 0.9512 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.02148/3.608, allocations: 7.661 MB / 1.452 GB, free: 215.1 MB / 0.9512 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001766/3.61, allocations: 1.214 MB / 1.453 GB, free: 214.4 MB / 0.9512 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.005172/3.615, allocations: 1.162 MB / 1.454 GB, free: 213.7 MB / 0.9512 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.06395/3.679, allocations: 24.51 MB / 1.478 GB, free: 194.5 MB / 0.9512 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0004652/3.68, allocations: 55.31 kB / 1.478 GB, free: 194.5 MB / 0.9512 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004499/3.684, allocations: 0.5457 MB / 1.478 GB, free: 194.4 MB / 0.9512 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001459/3.686, allocations: 1.516 MB / 1.48 GB, free: 193 MB / 0.9512 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05029/3.736, allocations: 22.55 MB / 1.502 GB, free: 176.6 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.1227/3.859, allocations: 106.4 MB / 1.606 GB, free: 63.83 MB / 0.9512 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.03474/3.894, allocations: 14.4 MB / 1.62 GB, free: 49.34 MB / 0.9512 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.01138/3.905, allocations: 5.849 MB / 1.626 GB, free: 43.43 MB / 0.9512 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.02647/3.931, allocations: 8.877 MB / 1.634 GB, free: 34.65 MB / 0.9512 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/3.932, allocations: 171.1 kB / 1.634 GB, free: 34.49 MB / 0.9512 GB
Notification: Performance of pre-optimization done (n=798): time 9.668e-06/3.932, allocations: 0 / 1.634 GB, free: 34.49 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.302109646610916]
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.458213072270155 4.467341975 0.968963899
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f707b2617b0>