Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01332/0.01332, allocations: 1.784 MB / 21.57 MB, free: 2.898 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.001215/0.001215, allocations: 83.92 kB / 25.4 MB, free: 6.949 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.0009069/0.0009069, allocations: 165.6 kB / 29.33 MB, free: 3.09 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.969/0.969, allocations: 177.1 MB / 210.3 MB, free: 3.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.6125/0.6125, allocations: 102.4 MB / 369.8 MB, free: 200 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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_dev_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_dev_ClaRa.Components.MechanicalSeparation.Check.TestBottle") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 470.4 MB, free: 18.86 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.332e-05, allocations: 3.594 kB / 470.4 MB, free: 18.86 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.1205/0.1205, allocations: 71.83 MB / 0.5295 GB, free: 15.78 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02724/0.1478, allocations: 23.2 MB / 0.5522 GB, free: 8.508 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003021/0.1508, allocations: 127.1 kB / 0.5523 GB, free: 8.383 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003723/0.1545, allocations: 2.531 MB / 0.5548 GB, free: 5.84 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00682/0.1613, allocations: 4.323 MB / 0.559 GB, free: 1.492 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006141/0.1675, allocations: 4.107 MB / 0.563 GB, free: 13.38 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01228/0.1798, allocations: 13.5 MB / 0.5762 GB, free: 15.84 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005504/0.1853, allocations: 4.167 MB / 0.5803 GB, free: 11.6 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1201/0.3053, allocations: 52.47 MB / 0.6315 GB, free: 8.297 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0089/0.3142, allocations: 4.725 MB / 0.6361 GB, free: 3.559 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.003108/0.3173, allocations: 0.8125 MB / 0.6369 GB, free: 2.746 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007917/0.3252, allocations: 2.64 MB / 0.6395 GB, free: 104 kB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.2403/0.5655, allocations: 2.83 MB / 0.6423 GB, free: 81.57 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.006548/0.5721, allocations: 2.8 MB / 0.645 GB, free: 81.57 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01518/0.5873, allocations: 8.976 MB / 0.6538 GB, free: 80.91 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5873, allocations: 3.281 kB / 0.6538 GB, free: 80.91 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5873, allocations: 0 / 0.6538 GB, free: 80.91 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0003796/0.5876, allocations: 0.6562 kB / 0.6538 GB, free: 80.91 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.0152/0.6028, allocations: 9.141 MB / 0.6627 GB, free: 77.1 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.6029, allocations: 9.75 kB / 0.6627 GB, free: 77.1 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/0.6052, allocations: 1.346 MB / 0.664 GB, free: 76.6 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007769/0.613, allocations: 4.876 MB / 0.6688 GB, free: 75.45 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000228/0.6132, allocations: 330.7 kB / 0.6691 GB, free: 75.43 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007004/0.6139, allocations: 452.6 kB / 0.6695 GB, free: 75.43 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/0.628, allocations: 11.32 MB / 0.6806 GB, free: 67.99 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001928/0.6282, allocations: 57.12 kB / 0.6806 GB, free: 67.99 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006/0.6288, allocations: 226 kB / 0.6808 GB, free: 67.99 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004442/0.6293, allocations: 443.1 kB / 0.6813 GB, free: 67.98 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01164/0.6409, allocations: 5.036 MB / 0.6862 GB, free: 67.81 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.03486/0.6758, allocations: 63.27 MB / 0.748 GB, free: 12.21 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008447/0.6842, allocations: 4.83 MB / 0.7527 GB, free: 10.1 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001932/0.6861, allocations: 1.3 MB / 0.754 GB, free: 9.531 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006712/0.6868, allocations: 492.9 kB / 0.7544 GB, free: 9.43 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006994/0.6938, allocations: 4.329 MB / 0.7587 GB, free: 7.383 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=827): time 1.019e-05/0.6938, allocations: 0 / 0.7587 GB, free: 7.383 MB / 0.5418 GB Notification: Performance of matching and sorting (n=828): time 0.03305/0.7269, allocations: 14.58 MB / 0.7729 GB, free: 0.7461 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004266/0.7273, allocations: 1.532 MB / 0.7744 GB, free: 14.86 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006784/0.7341, allocations: 5.359 MB / 0.7796 GB, free: 10.36 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001393/0.7355, allocations: 93.7 kB / 0.7797 GB, free: 10.26 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.002332/0.7378, allocations: 3.34 MB / 0.783 GB, free: 7.137 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.003255/0.7411, allocations: 2.926 MB / 0.7858 GB, free: 4.379 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002883/0.7439, allocations: 2.096 MB / 0.7879 GB, free: 2.461 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.744, allocations: 476.8 kB / 0.7883 GB, free: 1.992 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/0.7463, allocations: 1.455 MB / 0.7898 GB, free: 0.5117 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004743/0.751, allocations: 6.571 MB / 0.7962 GB, free: 8.207 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/0.7616, allocations: 9.072 MB / 0.805 GB, free: 14.09 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.249e-05/0.7617, allocations: 27.94 kB / 0.8051 GB, free: 14.06 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.01429/0.776, allocations: 7.499 MB / 0.8124 GB, free: 7.098 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.7761, allocations: 103.4 kB / 0.8125 GB, free: 6.984 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008293/0.7844, allocations: 4.605 MB / 0.817 GB, free: 2.348 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/0.7859, allocations: 0.5648 MB / 0.8175 GB, free: 1.797 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005851/0.7918, allocations: 2.39 MB / 0.8199 GB, free: 15.56 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008847/0.8006, allocations: 16.39 MB / 0.8359 GB, free: 14.46 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005263/0.8059, allocations: 381.9 kB / 0.8362 GB, free: 14.09 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001466/0.8073, allocations: 0.51 MB / 0.8367 GB, free: 13.58 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.0045/0.8118, allocations: 1.656 MB / 0.8383 GB, free: 11.91 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004713/0.8165, allocations: 6.54 MB / 0.8447 GB, free: 3.629 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01033/0.8269, allocations: 9.01 MB / 0.8535 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.891e-05/0.8269, allocations: 24 kB / 0.8536 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.0126/0.8395, allocations: 7.464 MB / 0.8608 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.328e-05/0.8396, allocations: 115.4 kB / 0.861 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006971/0.8466, allocations: 4.538 MB / 0.8654 GB, free: 13.3 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.848, allocations: 0.573 MB / 0.8659 GB, free: 12.74 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005489/0.8534, allocations: 2.372 MB / 0.8683 GB, free: 10.37 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2573/1.111, allocations: 16.38 MB / 0.8843 GB, free: 168.2 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005476/1.116, allocations: 374.2 kB / 0.8846 GB, free: 168.2 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/1.117, allocations: 0.5042 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.001983/1.119, allocations: 0.9149 MB / 0.886 GB, free: 167.8 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001943/1.121, allocations: 0.8565 MB / 0.8868 GB, free: 167.8 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.01217/1.133, allocations: 9.292 MB / 0.8959 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.791935816872865]