Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008293/0.0008293, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008355/0.0008355, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9066/0.9066, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2483/0.2483, allocations: 34.24 MB / 294.9 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 442.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.582e-05, allocations: 2.281 kB / 442.2 MB, free: 1.621 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.639/0.639, allocations: 321.3 MB / 0.7456 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.09012/0.7292, allocations: 95.61 MB / 0.839 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00916/0.7383, allocations: 424.2 kB / 0.8394 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.01267/0.751, allocations: 4.739 MB / 0.844 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.03976/0.7907, allocations: 18.9 MB / 0.8625 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.3956/1.186, allocations: 29.31 MB / 0.8911 GB, free: 16.24 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.03574/1.222, allocations: 33.84 MB / 0.9241 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01161/1.234, allocations: 6.659 MB / 0.9306 GB, free: 26.64 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.234/1.468, allocations: 202.1 MB / 1.128 GB, free: 14.13 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6687/2.136, allocations: 68.12 MB / 1.194 GB, free: 171.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.006707/2.143, allocations: 1.154 MB / 1.196 GB, free: 171.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0302/2.173, allocations: 11.42 MB / 1.207 GB, free: 171.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.01374/2.187, allocations: 6.053 MB / 1.213 GB, free: 171.4 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.02008/2.207, allocations: 6.001 MB / 1.219 GB, free: 171.4 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.05525/2.262, allocations: 29.64 MB / 1.247 GB, free: 170.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/2.262, allocations: 2.344 kB / 1.247 GB, free: 170.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.813e-06/2.262, allocations: 1.875 kB / 1.247 GB, free: 170.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.001014/2.263, allocations: 0 / 1.247 GB, free: 170.4 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.0516/2.315, allocations: 17.81 MB / 1.265 GB, free: 164.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/2.315, allocations: 8.688 kB / 1.265 GB, free: 164.4 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008493/2.324, allocations: 1.872 MB / 1.267 GB, free: 164.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0229/2.346, allocations: 4.583 MB / 1.271 GB, free: 163.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01819/2.365, allocations: 7.681 MB / 1.279 GB, free: 161 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001972/2.367, allocations: 1.208 MB / 1.28 GB, free: 160.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007771/2.374, allocations: 1.163 MB / 1.281 GB, free: 160.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05462/2.429, allocations: 28.45 MB / 1.309 GB, free: 137 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005229/2.43, allocations: 55.31 kB / 1.309 GB, free: 136.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005823/2.435, allocations: 0.5535 MB / 1.309 GB, free: 136.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001384/2.437, allocations: 1.519 MB / 1.311 GB, free: 135.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03868/2.475, 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.09141/2.567, allocations: 75.78 MB / 1.407 GB, free: 43.04 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02087/2.588, allocations: 14.38 MB / 1.421 GB, free: 28.57 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008317/2.596, allocations: 5.857 MB / 1.427 GB, free: 22.68 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01471/2.611, allocations: 8.851 MB / 1.435 GB, free: 13.85 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/2.611, allocations: 168.6 kB / 1.435 GB, free: 13.69 MB / 0.823 GB Notification: Performance of pre-optimization done (n=798): time 9.077e-06/2.611, 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.813933701254427] 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.991313767619431 2.997933791 0.7335343839999999 Calling exit ...