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.008188/0.008188, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.0008368/0.0008368, allocations: 85.23 kB / 25.4 MB, free: 7 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.0008776/0.0008776, allocations: 158.9 kB / 29.33 MB, free: 3.137 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.9694/0.9694, allocations: 177.2 MB / 210.3 MB, free: 3.457 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.6028/0.6028, allocations: 102.5 MB / 369.9 MB, free: 248 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.953e-06/1.953e-06, allocations: 0 / 470.4 MB, free: 18.9 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.96e-05, allocations: 7 kB / 470.4 MB, free: 18.9 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.1244/0.1244, allocations: 71.82 MB / 0.5296 GB, free: 15.8 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03033/0.1547, allocations: 23.2 MB / 0.5522 GB, free: 8.543 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005068/0.1598, allocations: 127.1 kB / 0.5523 GB, free: 8.418 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005382/0.1652, allocations: 2.546 MB / 0.5548 GB, free: 5.859 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009225/0.1744, allocations: 4.315 MB / 0.559 GB, free: 1.52 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007304/0.1817, allocations: 4.096 MB / 0.563 GB, free: 13.41 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01381/0.1955, allocations: 13.5 MB / 0.5762 GB, free: 15.87 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00547/0.201, allocations: 4.163 MB / 0.5803 GB, free: 11.63 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1244/0.3254, allocations: 52.48 MB / 0.6315 GB, free: 8.316 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0071/0.3325, allocations: 4.737 MB / 0.6362 GB, free: 3.566 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001565/0.3341, allocations: 0.8125 MB / 0.6369 GB, free: 2.754 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004834/0.3389, allocations: 2.628 MB / 0.6395 GB, free: 124 kB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.2637/0.6026, allocations: 2.828 MB / 0.6423 GB, free: 81.44 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.004668/0.6073, allocations: 2.806 MB / 0.645 GB, free: 81.44 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.6176, allocations: 8.986 MB / 0.6538 GB, free: 80.78 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.6176, allocations: 3.875 kB / 0.6538 GB, free: 80.78 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6176, allocations: 0 / 0.6538 GB, free: 80.78 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 7.682e-05/0.6177, allocations: 0.625 kB / 0.6538 GB, free: 80.78 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.009183/0.6269, allocations: 9.132 MB / 0.6627 GB, free: 76.97 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.627, allocations: 9.844 kB / 0.6627 GB, free: 76.97 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.629, allocations: 1.351 MB / 0.664 GB, free: 76.46 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004937/0.6339, allocations: 4.873 MB / 0.6688 GB, free: 75.32 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.6341, allocations: 331.3 kB / 0.6691 GB, free: 75.3 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004917/0.6346, allocations: 453.9 kB / 0.6695 GB, free: 75.3 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.6449, allocations: 11.32 MB / 0.6806 GB, free: 67.86 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.968e-05/0.645, allocations: 59.75 kB / 0.6807 GB, free: 67.86 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003891/0.6454, allocations: 225.1 kB / 0.6809 GB, free: 67.86 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003531/0.6457, allocations: 441.4 kB / 0.6813 GB, free: 67.85 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009242/0.655, allocations: 5.042 MB / 0.6862 GB, free: 67.68 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.03182/0.6868, allocations: 63.26 MB / 0.748 GB, free: 12.1 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007976/0.6948, allocations: 4.833 MB / 0.7527 GB, free: 9.988 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.6963, allocations: 1.302 MB / 0.754 GB, free: 9.418 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006932/0.697, allocations: 0.4897 MB / 0.7545 GB, free: 9.312 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006501/0.7035, allocations: 4.329 MB / 0.7587 GB, free: 7.266 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=827): time 7.504e-06/0.7035, allocations: 0 / 0.7587 GB, free: 7.266 MB / 0.5418 GB Notification: Performance of matching and sorting (n=828): time 0.03105/0.7346, allocations: 14.58 MB / 0.7729 GB, free: 0.7109 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004203/0.735, allocations: 1.531 MB / 0.7744 GB, free: 14.83 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006124/0.7411, allocations: 5.365 MB / 0.7797 GB, free: 10.32 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0004019/0.7415, allocations: 93.7 kB / 0.7797 GB, free: 10.22 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.002353/0.7439, allocations: 3.339 MB / 0.783 GB, free: 7.098 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.002205/0.7461, allocations: 2.93 MB / 0.7859 GB, free: 4.34 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002131/0.7482, allocations: 2.087 MB / 0.7879 GB, free: 2.426 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.7483, allocations: 491.3 kB / 0.7884 GB, free: 1.945 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/0.7502, allocations: 1.447 MB / 0.7898 GB, free: 484 kB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004518/0.7547, allocations: 6.565 MB / 0.7962 GB, free: 8.164 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/0.7649, allocations: 9.066 MB / 0.8051 GB, free: 14.05 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.826e-05/0.7649, allocations: 30.59 kB / 0.8051 GB, free: 14.02 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.01274/0.7777, allocations: 7.5 MB / 0.8124 GB, free: 7.059 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002929/0.778, allocations: 107.4 kB / 0.8125 GB, free: 6.941 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006482/0.7845, allocations: 4.595 MB / 0.817 GB, free: 2.309 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/0.7858, allocations: 0.5675 MB / 0.8175 GB, free: 1.758 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004465/0.7903, allocations: 2.387 MB / 0.8199 GB, free: 15.52 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008201/0.7985, allocations: 16.41 MB / 0.8359 GB, free: 14.41 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005263/0.8038, allocations: 370 kB / 0.8363 GB, free: 14.05 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006901/0.8044, allocations: 0.5074 MB / 0.8368 GB, free: 13.55 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.004083/0.8085, allocations: 1.653 MB / 0.8384 GB, free: 11.88 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004514/0.813, allocations: 6.54 MB / 0.8448 GB, free: 3.594 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009104/0.8221, allocations: 9.016 MB / 0.8536 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.897e-05/0.8222, allocations: 24 kB / 0.8536 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.01083/0.833, allocations: 7.468 MB / 0.8609 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.704e-05/0.8331, allocations: 111.4 kB / 0.861 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005986/0.8391, allocations: 4.543 MB / 0.8654 GB, free: 13.25 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/0.8403, allocations: 0.5733 MB / 0.866 GB, free: 12.7 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004414/0.8447, allocations: 2.38 MB / 0.8683 GB, free: 10.32 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2924/1.137, allocations: 16.37 MB / 0.8843 GB, free: 168.2 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005592/1.143, allocations: 371 kB / 0.8846 GB, free: 168.2 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007831/1.143, allocations: 0.5047 MB / 0.8851 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.002112/1.146, allocations: 0.9055 MB / 0.886 GB, free: 167.9 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001538/1.147, allocations: 0.8612 MB / 0.8869 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.01066/1.158, allocations: 9.289 MB / 0.8959 GB, free: 167.3 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.9447224400937557]