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.00136/0.00136, allocations: 116.4 kB / 20.32 MB, free: 1.57 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.001634/0.001634, allocations: 204.6 kB / 23.6 MB, free: 4.957 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.442/1.442, allocations: 230.4 MB / 257.1 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] 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.2219/0.2219, allocations: 46.93 MB / 360.5 MB, free: 4.312 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 80.14 kB / 0.4958 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3309, allocations: 66.09 MB / 0.5604 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.6468/0.9776, allocations: 323.8 MB / 0.8766 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.1411/1.119, allocations: 95.4 MB / 0.9698 GB, free: 1.695 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01089/1.13, allocations: 420.2 kB / 0.9702 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01538/1.145, allocations: 4.671 MB / 0.9747 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.05452/1.2, allocations: 18.44 MB / 0.9928 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.5161/1.716, allocations: 26.76 MB / 1.019 GB, free: 21.98 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.043/1.759, allocations: 34.87 MB / 1.053 GB, free: 21.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01449/1.773, allocations: 6.515 MB / 1.059 GB, free: 37.59 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5242/2.297, allocations: 198 MB / 1.253 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1662/2.464, allocations: 68.8 MB / 1.32 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.006048/2.47, allocations: 1.156 MB / 1.321 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03572/2.505, allocations: 11.68 MB / 1.332 GB, free: 11.83 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01115/2.517, allocations: 5.836 MB / 1.338 GB, free: 6.117 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.4427/2.959, allocations: 7.029 MB / 1.345 GB, free: 195 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.05432/3.014, allocations: 27.98 MB / 1.372 GB, free: 193.4 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/3.014, allocations: 2.156 kB / 1.372 GB, free: 193.4 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.944e-06/3.014, allocations: 0.625 kB / 1.372 GB, free: 193.4 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0009305/3.014, allocations: 3.969 kB / 1.372 GB, free: 193.4 MB / 0.92 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.06388/3.078, allocations: 17.95 MB / 1.39 GB, free: 187.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/3.078, allocations: 10.62 kB / 1.39 GB, free: 187.5 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007629/3.086, allocations: 1.867 MB / 1.392 GB, free: 187.3 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03682/3.123, allocations: 4.588 MB / 1.396 GB, free: 186.5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02867/3.152, allocations: 7.679 MB / 1.404 GB, free: 185.1 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002845/3.154, allocations: 1.213 MB / 1.405 GB, free: 185 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008299/3.163, allocations: 1.168 MB / 1.406 GB, free: 185 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08019/3.243, allocations: 28.44 MB / 1.434 GB, free: 177 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008794/3.244, allocations: 49.66 kB / 1.434 GB, free: 177 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006737/3.25, allocations: 0.5498 MB / 1.434 GB, free: 177 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001994/3.252, allocations: 1.518 MB / 1.436 GB, free: 176.9 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06416/3.317, allocations: 22.54 MB / 1.458 GB, free: 176.8 MB / 0.92 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.1272/3.444, allocations: 75.96 MB / 1.532 GB, free: 122.4 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03728/3.481, allocations: 14.4 MB / 1.546 GB, free: 111.2 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01199/3.493, allocations: 5.852 MB / 1.552 GB, free: 105.3 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.028/3.521, allocations: 8.846 MB / 1.56 GB, free: 96.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/3.521, allocations: 171.4 kB / 1.561 GB, free: 96.34 MB / 0.92 GB Notification: Performance of pre-optimization done (n=798): time 1.313e-05/3.521, allocations: 6.625 kB / 1.561 GB, free: 96.34 MB / 0.92 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.304210507019889] 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.7183100290130824 3.728568848 0.712291948 Calling exit ...