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.001446/0.001446, allocations: 84.34 kB / 20.67 MB, free: 3.887 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.001629/0.001629, allocations: 160.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.8923/0.8923, allocations: 177.4 MB / 204.5 MB, free: 5.293 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.2575/0.2575, allocations: 34.86 MB / 296 MB, free: 284 kB / 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipeEnergyConservationCheck",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 445.5 MB, free: 42.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.851e-05, allocations: 2.281 kB / 445.5 MB, free: 42.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipeEnergyConservationCheck): time 0.3701/0.3701, allocations: 321.3 MB / 0.7489 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0759/0.4461, allocations: 95.6 MB / 0.8422 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007125/0.4532, allocations: 424.2 kB / 0.8426 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.008043/0.4612, allocations: 4.743 MB / 0.8472 GB, free: 4.824 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.03282/0.494, allocations: 18.9 MB / 0.8657 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.3104/0.8045, allocations: 29.32 MB / 0.8943 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02884/0.8333, allocations: 33.84 MB / 0.9274 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009745/0.843, allocations: 6.671 MB / 0.9339 GB, free: 24.73 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2733/1.116, allocations: 202.1 MB / 1.131 GB, free: 8.172 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4135/1.53, allocations: 68.13 MB / 1.198 GB, free: 188.2 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.004292/1.534, allocations: 1.154 MB / 1.199 GB, free: 188.2 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02634/1.56, allocations: 11.41 MB / 1.21 GB, free: 188.2 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.007483/1.568, allocations: 6.052 MB / 1.216 GB, free: 188.2 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.01075/1.579, allocations: 5.994 MB / 1.222 GB, free: 188.2 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.03531/1.614, allocations: 29.65 MB / 1.251 GB, free: 187.1 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.614, allocations: 0 / 1.251 GB, free: 187.1 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.504e-06/1.614, allocations: 3.188 kB / 1.251 GB, free: 187.1 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004857/1.614, allocations: 0 / 1.251 GB, free: 187.1 MB / 0.8386 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.0257/1.64, allocations: 17.8 MB / 1.268 GB, free: 181.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/1.64, allocations: 10.88 kB / 1.268 GB, free: 181.1 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001823/1.642, allocations: 1.873 MB / 1.27 GB, free: 181 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01787/1.66, allocations: 4.586 MB / 1.274 GB, free: 180.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009461/1.669, allocations: 7.682 MB / 1.282 GB, free: 178.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006885/1.67, allocations: 1.209 MB / 1.283 GB, free: 178.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001122/1.671, allocations: 1.166 MB / 1.284 GB, free: 178.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02835/1.7, allocations: 28.45 MB / 1.312 GB, free: 159.4 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001661/1.7, allocations: 50.38 kB / 1.312 GB, free: 159.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001088/1.701, allocations: 0.5527 MB / 1.313 GB, free: 159.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000811/1.702, allocations: 1.517 MB / 1.314 GB, free: 157.9 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02841/1.73, allocations: 22.45 MB / 1.336 GB, free: 141.6 MB / 0.8386 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.05882/1.789, allocations: 75.77 MB / 1.41 GB, free: 66.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01932/1.808, allocations: 14.39 MB / 1.424 GB, free: 52.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005925/1.814, allocations: 5.852 MB / 1.43 GB, free: 46.13 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01437/1.828, allocations: 8.853 MB / 1.438 GB, free: 37.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.661e-05/1.829, allocations: 168.8 kB / 1.439 GB, free: 37.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=798): time 9.278e-06/1.829, allocations: 3.938 kB / 1.439 GB, free: 37.14 MB / 0.8386 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 658] [Calling sys.exit(0), Time elapsed: 4.117001925595105]