Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestBottle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.008219/0.008219, allocations: 1.781 MB / 22.36 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] 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.0007718/0.0007718, allocations: 80.64 kB / 26.19 MB, free: 5.824 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.0008455/0.0008455, allocations: 170.9 kB / 30.12 MB, free: 2.02 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.8842/0.8842, allocations: 177.2 MB / 211.1 MB, free: 3.43 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.5782/0.5782, allocations: 102.5 MB / 370.7 MB, free: 232 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.MechanicalSeparation.Check.TestBottle,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|bottle_L3_1.insulation.U.[0-9,]+.|bottle_L3_1.volume.h_liq|bottle_L3_1.volume.h_vap|bottle_L3_1.volume.p_vap|bottle_L3_1.volume.volume_vap|bottle_L3_1.wall.U.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestBottle") translateModel(ClaRa.Components.MechanicalSeparation.Check.TestBottle,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|bottle_L3_1.insulation.U.[0-9,]+.|bottle_L3_1.volume.h_liq|bottle_L3_1.volume.h_vap|bottle_L3_1.volume.p_vap|bottle_L3_1.volume.volume_vap|bottle_L3_1.wall.U.[0-9,]+.",fileNamePrefix="ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestBottle") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 471.2 MB, free: 18.77 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141e-05/1.279e-05, allocations: 3.859 kB / 471.2 MB, free: 18.76 MB / 410.8 MB Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestBottle): time 0.1079/0.1079, allocations: 71.8 MB / 0.5303 GB, free: 15.79 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02457/0.1324, allocations: 23.2 MB / 0.553 GB, free: 8.523 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002302/0.1347, allocations: 127.1 kB / 0.5531 GB, free: 8.398 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003383/0.1381, allocations: 2.542 MB / 0.5556 GB, free: 5.844 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005107/0.1432, allocations: 4.311 MB / 0.5598 GB, free: 1.508 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00519/0.1484, allocations: 4.1 MB / 0.5638 GB, free: 13.4 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01009/0.1585, allocations: 13.5 MB / 0.577 GB, free: 15.86 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004023/0.1625, allocations: 4.167 MB / 0.581 GB, free: 11.62 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.116/0.2785, allocations: 52.47 MB / 0.6323 GB, free: 8.332 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00555/0.2841, allocations: 4.745 MB / 0.6369 GB, free: 3.574 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.000861/0.2849, allocations: 0.8086 MB / 0.6377 GB, free: 2.766 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003548/0.2885, allocations: 2.628 MB / 0.6403 GB, free: 136 kB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.1817/0.4702, allocations: 2.832 MB / 0.643 GB, free: 81.37 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.004381/0.4746, allocations: 2.805 MB / 0.6458 GB, free: 81.37 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.4851, allocations: 8.97 MB / 0.6545 GB, free: 80.71 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4852, allocations: 2.688 kB / 0.6545 GB, free: 80.71 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4852, allocations: 5.328 kB / 0.6545 GB, free: 80.71 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0003041/0.4855, allocations: 0 / 0.6545 GB, free: 80.71 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1666 * Number of variables: 1666 Notification: Performance of Generate backend data structure: time 0.01189/0.4973, allocations: 9.141 MB / 0.6635 GB, free: 76.89 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.4974, allocations: 12.72 kB / 0.6635 GB, free: 76.89 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002143/0.4995, allocations: 1.342 MB / 0.6648 GB, free: 76.39 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005634/0.5052, allocations: 4.876 MB / 0.6695 GB, free: 75.24 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.5053, allocations: 334.3 kB / 0.6699 GB, free: 75.23 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005931/0.5059, allocations: 449.1 kB / 0.6703 GB, free: 75.23 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/0.5177, allocations: 11.32 MB / 0.6813 GB, free: 67.79 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/0.5178, allocations: 60.09 kB / 0.6814 GB, free: 67.79 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005383/0.5183, allocations: 223.5 kB / 0.6816 GB, free: 67.79 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004825/0.5188, allocations: 445.5 kB / 0.682 GB, free: 67.78 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01379/0.5326, allocations: 5.033 MB / 0.687 GB, free: 67.61 MB / 0.5418 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.04782/0.5804, allocations: 63.26 MB / 0.7487 GB, free: 12.05 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01117/0.5916, allocations: 4.828 MB / 0.7535 GB, free: 9.949 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002284/0.5939, allocations: 1.304 MB / 0.7547 GB, free: 9.379 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007657/0.5946, allocations: 354.7 kB / 0.7551 GB, free: 9.266 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01026/0.6049, allocations: 4.326 MB / 0.7593 GB, free: 7.223 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=827): time 1.353e-05/0.6049, allocations: 0 / 0.7593 GB, free: 7.223 MB / 0.5418 GB Notification: Performance of matching and sorting (n=828): time 0.03403/0.639, allocations: 14.56 MB / 0.7735 GB, free: 0.6211 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003651/0.6393, allocations: 1.536 MB / 0.775 GB, free: 14.73 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005239/0.6446, allocations: 5.358 MB / 0.7802 GB, free: 10.23 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.000828/0.6454, allocations: 100.4 kB / 0.7803 GB, free: 10.13 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.002004/0.6474, allocations: 3.337 MB / 0.7836 GB, free: 7.012 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0023/0.6497, allocations: 2.925 MB / 0.7865 GB, free: 4.254 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002446/0.6521, allocations: 2.096 MB / 0.7885 GB, free: 2.332 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 9.542e-05/0.6522, allocations: 479.7 kB / 0.789 GB, free: 1.863 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002132/0.6544, allocations: 1.458 MB / 0.7904 GB, free: 392 kB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004247/0.6586, allocations: 6.562 MB / 0.7968 GB, free: 8.082 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0095/0.6681, allocations: 9.079 MB / 0.8057 GB, free: 13.96 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.095e-05/0.6682, allocations: 27.94 kB / 0.8057 GB, free: 13.93 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.0126/0.6808, allocations: 7.504 MB / 0.813 GB, free: 6.973 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 8.568e-05/0.6809, allocations: 104.3 kB / 0.8131 GB, free: 6.859 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007513/0.6884, allocations: 4.599 MB / 0.8176 GB, free: 2.23 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001437/0.6898, allocations: 0.5687 MB / 0.8182 GB, free: 1.676 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005538/0.6953, allocations: 2.384 MB / 0.8205 GB, free: 15.44 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00843/0.7038, allocations: 16.38 MB / 0.8365 GB, free: 14.35 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00476/0.7085, allocations: 381.9 kB / 0.8368 GB, free: 13.98 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/0.7095, allocations: 0.5035 MB / 0.8373 GB, free: 13.47 MB / 0.6199 GB Warning: Assuming fixed start value for the following 3 variables: bottle_L3_1.volume.h_liq:VARIABLE(start = bottle_L3_1.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real bottle_L3_1.volume.h_vap:VARIABLE(start = bottle_L3_1.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real bottle_L3_1.volume.p_vap:VARIABLE(min = 0.0 start = bottle_L3_1.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003964/0.7135, allocations: 1.654 MB / 0.839 GB, free: 11.8 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00445/0.718, allocations: 6.538 MB / 0.8453 GB, free: 3.52 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009102/0.7271, allocations: 9.019 MB / 0.8541 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.935e-05/0.7271, allocations: 24 kB / 0.8542 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.01159/0.7387, allocations: 7.466 MB / 0.8615 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.505e-05/0.7388, allocations: 107.4 kB / 0.8616 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00709/0.7459, allocations: 4.54 MB / 0.866 GB, free: 13.21 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.7472, allocations: 0.5694 MB / 0.8666 GB, free: 12.66 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004977/0.7522, allocations: 2.38 MB / 0.8689 GB, free: 10.28 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2035/0.9557, allocations: 16.36 MB / 0.8849 GB, free: 168.2 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005082/0.9608, allocations: 375.5 kB / 0.8852 GB, free: 168.2 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/0.962, allocations: 0.5054 MB / 0.8857 GB, free: 168.2 MB / 0.6512 GB Warning: Assuming fixed start value for the following 3 variables: bottle_L3_1.volume.h_liq:VARIABLE(start = bottle_L3_1.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real bottle_L3_1.volume.h_vap:VARIABLE(start = bottle_L3_1.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real bottle_L3_1.volume.p_vap:VARIABLE(min = 0.0 start = bottle_L3_1.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 388 * Number of states: 0 () * Number of discrete variables: 16 (timeTable1.nextEventScaled,timeTable1.nextEvent,$PRE.timeTable1.nextEvent,timeTable1.last,timeTable1.b,timeTable1.a,timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition2,$whenCondition1,valveVLE_L1_2.pressureLoss.normIsValid,valveVLE_L1_1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1204): * Single equations (assignments): 1193 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,3,87.5%), (1,6,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001941/0.9639, allocations: 0.9041 MB / 0.8866 GB, free: 167.9 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001939/0.9659, allocations: 0.8642 MB / 0.8874 GB, free: 167.9 MB / 0.6512 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 1197 equation(s) and 1145 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (cyclone.fluidIn.q, cyclone.fluidIn.cp, cyclone.fluidIn.cv, cyclone.fluidIn.beta, cyclone.fluidIn.kappa, cyclone.fluidIn.drhodp_hxi, cyclone.fluidIn.drhodh_pxi, _, cyclone.fluidIn.w, cyclone.fluidIn.gamma) = ($cse36, $cse37, $cse38, $cse39, $cse40, $cse41, $cse42, $cse43, $cse44, $cse45) has size 9 but 7 variables ($whenCondition1, timeTable.a, timeTable.b, timeTable.last, timeTable.nextEvent, timeTable.nextEventScaled, timeTable.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/0.9767, allocations: 9.293 MB / 0.8965 GB, free: 167.2 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.426978833042085]