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.009934/0.009934, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.000885/0.000885, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0009781/0.0009781, allocations: 163.6 kB / 27.85 MB, free: 5.5 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.9289/0.9289, allocations: 177.2 MB / 208.6 MB, free: 2.949 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.7492/0.7492, allocations: 102.5 MB / 367.9 MB, free: 1.426 MB / 330.8 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 0.5.2 (/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.1.|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.1.|bottle_L3_1.wall.U.2.|bottle_L3_1.wall.U.3.",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.1.|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.1.|bottle_L3_1.wall.U.2.|bottle_L3_1.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestBottle") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.5366 GB, free: 39.87 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.155e-05, allocations: 4.391 kB / 0.5366 GB, free: 39.87 MB / 490.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.125/0.125, allocations: 66.94 MB / 0.602 GB, free: 9.047 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02866/0.1537, allocations: 22.47 MB / 0.624 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005324/0.159, allocations: 131.1 kB / 0.6241 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.006089/0.1651, allocations: 2.538 MB / 0.6266 GB, free: 15.82 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01154/0.1766, allocations: 4.3 MB / 0.6308 GB, free: 11.5 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.009152/0.1858, allocations: 4.092 MB / 0.6348 GB, free: 7.398 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01525/0.201, allocations: 13.52 MB / 0.648 GB, free: 9.84 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007263/0.2083, allocations: 3.935 MB / 0.6518 GB, free: 5.832 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0139/0.2222, allocations: 7.199 MB / 0.6588 GB, free: 14.62 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008545/0.2307, allocations: 4.823 MB / 0.6636 GB, free: 9.781 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.00295/0.2337, allocations: 0.8515 MB / 0.6644 GB, free: 8.93 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007068/0.2408, allocations: 2.679 MB / 0.667 GB, free: 6.246 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.004456/0.2452, allocations: 2.928 MB / 0.6699 GB, free: 3.309 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.006261/0.2515, allocations: 2.864 MB / 0.6727 GB, free: 448 kB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.01802/0.2695, allocations: 14.07 MB / 0.6864 GB, free: 2.324 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2695, allocations: 0 / 0.6864 GB, free: 2.324 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2695, allocations: 0 / 0.6864 GB, free: 2.324 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0004468/0.2699, allocations: 0 / 0.6864 GB, free: 2.324 MB / 0.573 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.02086/0.2908, allocations: 8.92 MB / 0.6951 GB, free: 9.297 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.2909, allocations: 8.031 kB / 0.6951 GB, free: 9.289 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/0.2943, allocations: 1.077 MB / 0.6962 GB, free: 8.207 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/0.3063, allocations: 6.546 MB / 0.7026 GB, free: 1.574 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003036/0.3066, allocations: 328.9 kB / 0.7029 GB, free: 1.25 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001556/0.3081, allocations: 424.3 kB / 0.7033 GB, free: 0.8359 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02266/0.3308, allocations: 14.27 MB / 0.7172 GB, free: 0.7539 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001442/0.3309, allocations: 67.38 kB / 0.7173 GB, free: 0.6875 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006592/0.3316, allocations: 223.9 kB / 0.7175 GB, free: 480 kB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003541/0.332, allocations: 438.4 kB / 0.7179 GB, free: 40 kB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01928/0.3512, allocations: 10.65 MB / 0.7283 GB, free: 5.355 MB / 0.6199 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.3801/0.7314, allocations: 49.76 MB / 0.7769 GB, free: 141 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01356/0.7449, allocations: 7.864 MB / 0.7846 GB, free: 139.1 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004897/0.7498, allocations: 3.177 MB / 0.7877 GB, free: 137.6 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008755/0.7507, allocations: 337.2 kB / 0.788 GB, free: 137.5 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01286/0.7636, allocations: 6.708 MB / 0.7946 GB, free: 134.1 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=827): time 1.094e-05/0.7636, allocations: 0 / 0.7946 GB, free: 134.1 MB / 0.6512 GB Notification: Performance of matching and sorting (n=828): time 0.05658/0.8201, allocations: 44.81 MB / 0.8383 GB, free: 104.3 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002402/0.8204, allocations: 1.156 MB / 0.8395 GB, free: 102.9 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00675/0.8271, allocations: 6.126 MB / 0.8454 GB, free: 96.85 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001663/0.8288, allocations: 89.7 kB / 0.8455 GB, free: 96.75 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001421/0.8302, allocations: 3.063 MB / 0.8485 GB, free: 93.99 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002989/0.8332, allocations: 2.819 MB / 0.8513 GB, free: 91.58 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002182/0.8354, allocations: 1.894 MB / 0.8531 GB, free: 89.68 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.288e-05/0.8354, allocations: 305.1 kB / 0.8534 GB, free: 89.38 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004581/0.84, allocations: 4.539 MB / 0.8578 GB, free: 84.81 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005792/0.8458, allocations: 7.835 MB / 0.8655 GB, free: 75.62 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2721/1.118, allocations: 85.26 MB / 0.9487 GB, free: 6.371 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.297e-05/1.118, allocations: 24 kB / 0.9488 GB, free: 6.348 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02288/1.141, allocations: 13.48 MB / 0.9619 GB, free: 8.781 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/1.141, allocations: 108.2 kB / 0.962 GB, free: 8.664 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01444/1.155, allocations: 10.19 MB / 0.972 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/1.157, allocations: 0.6804 MB / 0.9727 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006454/1.163, allocations: 2.426 MB / 0.975 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/1.175, allocations: 14.43 MB / 0.9891 GB, free: 12.04 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005944/1.181, allocations: 432.1 kB / 0.9895 GB, free: 11.63 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001792/1.183, allocations: 0.5816 MB / 0.9901 GB, free: 11.05 MB / 0.7137 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.01059/1.193, allocations: 6.387 MB / 0.9963 GB, free: 4.645 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008305/1.202, allocations: 7.787 MB / 1.004 GB, free: 11.46 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.583/1.785, allocations: 84.87 MB / 1.087 GB, free: 258.1 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.676e-05/1.785, allocations: 23.72 kB / 1.087 GB, free: 258.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.02182/1.807, allocations: 13.37 MB / 1.1 GB, free: 247.9 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.555e-05/1.807, allocations: 111.4 kB / 1.1 GB, free: 247.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01243/1.819, allocations: 10.1 MB / 1.11 GB, free: 237.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/1.82, allocations: 0.6817 MB / 1.111 GB, free: 236.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005448/1.826, allocations: 2.418 MB / 1.113 GB, free: 234.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00773/1.834, allocations: 14.44 MB / 1.127 GB, free: 219.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005827/1.839, allocations: 420.5 kB / 1.127 GB, free: 219 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001474/1.841, allocations: 0.5739 MB / 1.128 GB, free: 218.4 MB / 0.7605 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.002589/1.843, allocations: 0.8158 MB / 1.129 GB, free: 217.6 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001977/1.845, allocations: 0.7323 MB / 1.129 GB, free: 217.3 MB / 0.7605 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 1200 equation(s) and 1148 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.01278/1.858, allocations: 11.12 MB / 1.14 GB, free: 206.8 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.909891746006906] Failed to read output from testmodel.py, exit status != 0: 2.0351528422906995 2.04628103 1.774887058 Calling exit ...