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.0008773/0.0008773, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008255/0.0008255, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.8584/0.8584, allocations: 177 MB / 204.1 MB, free: 5.762 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.2283/0.2283, allocations: 34.24 MB / 294.8 MB, free: 0.6953 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: "" <> 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 1.232e-06/1.232e-06, allocations: 0 / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.721e-05, allocations: 2.281 kB / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.6578/0.6578, allocations: 321.3 MB / 0.7456 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0896/0.7474, allocations: 95.61 MB / 0.8389 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01152/0.7589, allocations: 428.2 kB / 0.8393 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.01452/0.7734, allocations: 4.743 MB / 0.844 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0423/0.8157, allocations: 18.89 MB / 0.8624 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.4717/1.287, allocations: 29.31 MB / 0.8911 GB, free: 16.21 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.046/1.333, allocations: 33.84 MB / 0.9241 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01545/1.349, allocations: 6.666 MB / 0.9306 GB, free: 26.59 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2795/1.628, allocations: 202.1 MB / 1.128 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.8458/2.474, allocations: 68.13 MB / 1.194 GB, free: 171.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.007031/2.481, allocations: 1.154 MB / 1.196 GB, free: 171.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02951/2.511, allocations: 11.41 MB / 1.207 GB, free: 171.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.012/2.523, allocations: 6.048 MB / 1.213 GB, free: 171.1 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.01782/2.541, allocations: 6.003 MB / 1.219 GB, free: 171.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0534/2.594, allocations: 29.64 MB / 1.247 GB, free: 170.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/2.594, allocations: 0 / 1.247 GB, free: 170.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.825e-06/2.594, allocations: 3.594 kB / 1.247 GB, free: 170.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0008962/2.595, allocations: 0 / 1.247 GB, free: 170.1 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.04524/2.64, allocations: 17.8 MB / 1.265 GB, free: 164.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/2.64, allocations: 14.44 kB / 1.265 GB, free: 164.1 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007268/2.647, allocations: 1.865 MB / 1.267 GB, free: 163.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02271/2.67, allocations: 4.592 MB / 1.271 GB, free: 163 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01723/2.687, allocations: 7.672 MB / 1.279 GB, free: 160.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001548/2.689, allocations: 1.208 MB / 1.28 GB, free: 160.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005752/2.695, allocations: 1.172 MB / 1.281 GB, free: 160.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05253/2.747, allocations: 28.44 MB / 1.309 GB, free: 136.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000581/2.748, allocations: 55.31 kB / 1.309 GB, free: 136.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004859/2.753, allocations: 0.5539 MB / 1.309 GB, free: 136.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001229/2.754, allocations: 1.514 MB / 1.311 GB, free: 135.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03857/2.792, allocations: 22.45 MB / 1.333 GB, free: 118.8 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.08857/2.881, allocations: 75.78 MB / 1.407 GB, free: 43.04 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02093/2.902, allocations: 14.38 MB / 1.421 GB, free: 28.57 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008547/2.91, allocations: 5.849 MB / 1.427 GB, free: 22.68 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01497/2.925, allocations: 8.847 MB / 1.435 GB, free: 13.85 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/2.926, allocations: 171.1 kB / 1.435 GB, free: 13.69 MB / 0.823 GB Notification: Performance of pre-optimization done (n=798): time 9.217e-06/2.926, allocations: 0 / 1.435 GB, free: 13.69 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.948535564355552] 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.2444978607818484 3.255215624 0.658527022 Calling exit ...