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.0008046/0.0008046, 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.0008732/0.0008732, 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.9183/0.9183, allocations: 177 MB / 204.1 MB, free: 5.742 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.2727/0.2727, allocations: 34.24 MB / 294.8 MB, free: 0.6758 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 2.564e-06/2.564e-06, allocations: 0 / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.763e-05, allocations: 5.094 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.6696/0.6696, allocations: 321.3 MB / 0.7456 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.1009/0.7706, allocations: 95.61 MB / 0.8389 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01028/0.7808, allocations: 427.3 kB / 0.8394 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0123/0.7931, allocations: 4.739 MB / 0.844 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.04103/0.8342, allocations: 18.9 MB / 0.8624 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.3899/1.224, allocations: 29.31 MB / 0.8911 GB, free: 16.13 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.03782/1.262, allocations: 33.84 MB / 0.9241 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01512/1.277, allocations: 6.662 MB / 0.9306 GB, free: 26.52 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2711/1.548, allocations: 202.1 MB / 1.128 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4882/2.036, allocations: 68.13 MB / 1.194 GB, free: 171 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.008218/2.045, allocations: 1.155 MB / 1.196 GB, free: 171 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02946/2.074, allocations: 11.41 MB / 1.207 GB, free: 171 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.01173/2.086, allocations: 6.053 MB / 1.213 GB, free: 171 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.02064/2.106, allocations: 5.998 MB / 1.219 GB, free: 171 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.05462/2.161, allocations: 29.65 MB / 1.247 GB, free: 169.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/2.161, allocations: 0 / 1.247 GB, free: 169.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.813e-06/2.161, allocations: 0 / 1.247 GB, free: 169.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0008973/2.162, allocations: 4 kB / 1.247 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.05141/2.213, allocations: 17.8 MB / 1.265 GB, free: 163.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/2.213, allocations: 10.59 kB / 1.265 GB, free: 163.9 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01054/2.224, allocations: 1.868 MB / 1.267 GB, free: 163.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02388/2.248, allocations: 4.587 MB / 1.271 GB, free: 162.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01993/2.268, allocations: 7.681 MB / 1.279 GB, free: 160.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00297/2.271, allocations: 1.21 MB / 1.28 GB, free: 160.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007595/2.278, allocations: 1.161 MB / 1.281 GB, free: 160.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05906/2.337, allocations: 28.45 MB / 1.309 GB, free: 136.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006065/2.338, allocations: 57.09 kB / 1.309 GB, free: 136.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006313/2.344, allocations: 0.5546 MB / 1.309 GB, free: 136.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001364/2.346, allocations: 1.516 MB / 1.311 GB, free: 135 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04081/2.386, allocations: 22.44 MB / 1.333 GB, free: 118.5 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.09679/2.483, allocations: 75.78 MB / 1.407 GB, free: 42.75 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02319/2.506, allocations: 14.38 MB / 1.421 GB, free: 28.29 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009363/2.516, allocations: 5.852 MB / 1.427 GB, free: 22.39 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01567/2.531, allocations: 8.848 MB / 1.435 GB, free: 13.56 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/2.532, allocations: 177 kB / 1.435 GB, free: 13.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=798): time 1.012e-05/2.532, allocations: 0 / 1.435 GB, free: 13.4 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.773718407377601] 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.8890593126416206 2.896008674 0.733011211 Calling exit ...