Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.0007541/0.0007541, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003761/0.003761, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8947/0.8947, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2869/0.2869, allocations: 34.24 MB / 295.6 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.531e-05, allocations: 12.47 kB / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.734/0.734, allocations: 321.3 MB / 0.7468 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.09828/0.8323, allocations: 95.61 MB / 0.8402 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0121/0.8444, allocations: 428.1 kB / 0.8406 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.01614/0.8605, allocations: 4.739 MB / 0.8452 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.04584/0.9064, allocations: 18.89 MB / 0.8637 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.5065/1.413, allocations: 29.32 MB / 0.8923 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.04606/1.459, allocations: 33.84 MB / 0.9253 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02004/1.479, allocations: 6.672 MB / 0.9319 GB, free: 26.26 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2909/1.77, allocations: 202 MB / 1.129 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5772/2.347, allocations: 68.13 MB / 1.196 GB, free: 171 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.007402/2.354, allocations: 1.155 MB / 1.197 GB, free: 171 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03164/2.386, allocations: 11.4 MB / 1.208 GB, free: 171 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.01231/2.398, allocations: 6.053 MB / 1.214 GB, free: 171 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.02061/2.419, allocations: 5.997 MB / 1.22 GB, free: 171 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.05709/2.476, allocations: 29.65 MB / 1.249 GB, free: 169.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/2.476, allocations: 0 / 1.249 GB, free: 169.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.615e-06/2.476, allocations: 4 kB / 1.249 GB, free: 169.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0008159/2.477, allocations: 0 / 1.249 GB, free: 169.9 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.03768/2.515, allocations: 17.8 MB / 1.266 GB, free: 163.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/2.515, allocations: 9.5 kB / 1.266 GB, free: 163.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01704/2.532, allocations: 4.591 MB / 1.271 GB, free: 163 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0117/2.543, allocations: 7.677 MB / 1.278 GB, free: 161 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007983/2.544, allocations: 1.208 MB / 1.279 GB, free: 160.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00125/2.545, allocations: 1.167 MB / 1.28 GB, free: 160.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03166/2.577, allocations: 28.45 MB / 1.308 GB, free: 137.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002787/2.577, allocations: 52.62 kB / 1.308 GB, free: 137.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001213/2.579, allocations: 0.5535 MB / 1.309 GB, free: 137.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009702/2.58, allocations: 1.515 MB / 1.31 GB, free: 135.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03477/2.614, allocations: 22.44 MB / 1.332 GB, free: 119.6 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.0775/2.692, allocations: 72.64 MB / 1.403 GB, free: 47.55 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02046/2.712, allocations: 14.39 MB / 1.417 GB, free: 33.08 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007429/2.72, allocations: 5.841 MB / 1.423 GB, free: 27.19 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0143/2.734, allocations: 8.847 MB / 1.431 GB, free: 18.36 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/2.734, allocations: 175.8 kB / 1.432 GB, free: 18.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=798): time 9.858e-06/2.734, allocations: 0 / 1.432 GB, free: 18.2 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.932701932266355] 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.0729120755568147 3.080371792 0.602561047 Calling exit ...