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.001373/0.001373, allocations: 85.09 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001587/0.001587, allocations: 164.8 kB / 23.95 MB, free: 4.148 MB / 14.72 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 1.501/1.501, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.2281/0.2281, allocations: 34.29 MB / 295 MB, free: 14.55 MB / 286.1 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: 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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 442.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.966e-05/4.208e-05, allocations: 6.281 kB / 442.7 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.9426/0.9427, allocations: 321.3 MB / 0.7461 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1457/1.088, allocations: 95.61 MB / 0.8394 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01726/1.106, allocations: 432.1 kB / 0.8399 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01936/1.125, allocations: 4.743 MB / 0.8445 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.06609/1.191, allocations: 18.89 MB / 0.8629 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.5923/1.783, allocations: 29.31 MB / 0.8916 GB, free: 17.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.05123/1.835, allocations: 33.83 MB / 0.9246 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01732/1.852, allocations: 6.672 MB / 0.9311 GB, free: 28.56 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5467/2.399, allocations: 202.1 MB / 1.128 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5947/2.993, allocations: 68.12 MB / 1.195 GB, free: 172.6 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.008159/3.001, allocations: 1.156 MB / 1.196 GB, free: 172.6 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04034/3.042, allocations: 11.4 MB / 1.207 GB, free: 172.6 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0128/3.055, allocations: 6.057 MB / 1.213 GB, free: 172.6 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.02584/3.08, allocations: 5.997 MB / 1.219 GB, free: 172.6 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.07508/3.155, allocations: 29.65 MB / 1.248 GB, free: 171.7 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/3.155, allocations: 3.625 kB / 1.248 GB, free: 171.7 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.573e-06/3.155, allocations: 0 / 1.248 GB, free: 171.7 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.001129/3.157, allocations: 0 / 1.248 GB, free: 171.7 MB / 0.8262 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.07003/3.227, allocations: 17.8 MB / 1.265 GB, free: 165.7 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.85e-05/3.227, allocations: 10.03 kB / 1.265 GB, free: 165.7 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04115/3.268, allocations: 4.596 MB / 1.27 GB, free: 164.9 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02144/3.289, allocations: 7.683 MB / 1.277 GB, free: 163.4 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002352/3.292, allocations: 1.204 MB / 1.279 GB, free: 163.4 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008578/3.3, allocations: 1.163 MB / 1.28 GB, free: 163.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08567/3.386, allocations: 28.45 MB / 1.307 GB, free: 148 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008969/3.387, allocations: 51.97 kB / 1.307 GB, free: 148 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00731/3.394, allocations: 0.5545 MB / 1.308 GB, free: 147.8 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001797/3.396, allocations: 1.514 MB / 1.31 GB, free: 146.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.063/3.459, allocations: 22.45 MB / 1.331 GB, free: 130.2 MB / 0.8262 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.1297/3.589, allocations: 72.64 MB / 1.402 GB, free: 60.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03878/3.627, allocations: 14.38 MB / 1.416 GB, free: 46.2 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01203/3.639, allocations: 5.841 MB / 1.422 GB, free: 40.3 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0305/3.67, allocations: 8.851 MB / 1.431 GB, free: 31.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/3.67, allocations: 172.7 kB / 1.431 GB, free: 31.31 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=798): time 1.697e-05/3.67, allocations: 0 / 1.431 GB, free: 31.31 MB / 0.8262 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.805664643645287] 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'] 4.151284545660019 4.163850666 1.004769058 Calling exit ...