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.009521/0.009521, 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.001257/0.001257, 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.001644/0.001644, allocations: 164.6 kB / 27.85 MB, free: 5.496 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.9043/0.9043, allocations: 177.2 MB / 208.6 MB, free: 2.945 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.7342/0.7342, allocations: 102.5 MB / 367.9 MB, free: 1.449 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.603e-06/1.603e-06, allocations: 0 / 0.5366 GB, free: 39.85 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.808e-05/2.969e-05, allocations: 3.219 kB / 0.5367 GB, free: 39.84 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.1271/0.1271, allocations: 66.94 MB / 0.602 GB, free: 9.047 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03209/0.1592, allocations: 22.48 MB / 0.624 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00596/0.1652, allocations: 131.1 kB / 0.6241 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.006471/0.1717, allocations: 2.538 MB / 0.6266 GB, free: 15.82 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.1826, allocations: 4.296 MB / 0.6308 GB, free: 11.5 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008469/0.1911, allocations: 4.088 MB / 0.6348 GB, free: 7.398 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01667/0.2078, allocations: 13.52 MB / 0.648 GB, free: 9.84 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006833/0.2146, allocations: 3.935 MB / 0.6518 GB, free: 5.832 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01593/0.2305, allocations: 7.207 MB / 0.6589 GB, free: 14.61 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008566/0.2391, allocations: 4.819 MB / 0.6636 GB, free: 9.77 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.003366/0.2425, allocations: 0.8477 MB / 0.6644 GB, free: 8.922 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01017/0.2527, allocations: 2.686 MB / 0.667 GB, free: 6.23 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.005151/0.2578, allocations: 2.921 MB / 0.6699 GB, free: 3.301 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.006309/0.2641, allocations: 2.868 MB / 0.6727 GB, free: 436 kB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.01873/0.2828, allocations: 14.07 MB / 0.6864 GB, free: 2.312 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2828, allocations: 0 / 0.6864 GB, free: 2.312 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2828, allocations: 0 / 0.6864 GB, free: 2.312 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0004372/0.2833, allocations: 0 / 0.6864 GB, free: 2.312 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.01937/0.3026, allocations: 8.922 MB / 0.6951 GB, free: 9.289 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.3027, allocations: 8.031 kB / 0.6951 GB, free: 9.281 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003024/0.3057, allocations: 1.077 MB / 0.6962 GB, free: 8.199 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01403/0.3198, allocations: 6.543 MB / 0.7026 GB, free: 1.566 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004154/0.3202, allocations: 324.9 kB / 0.7029 GB, free: 1.246 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002118/0.3223, allocations: 420.3 kB / 0.7033 GB, free: 0.8359 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02525/0.3475, allocations: 14.27 MB / 0.7172 GB, free: 0.7539 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001537/0.3477, allocations: 71.36 kB / 0.7173 GB, free: 0.6836 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001038/0.3487, allocations: 220 kB / 0.7175 GB, free: 480 kB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004259/0.3492, allocations: 438.4 kB / 0.7179 GB, free: 40 kB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02069/0.3699, allocations: 10.65 MB / 0.7283 GB, free: 5.359 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.3691/0.739, allocations: 49.76 MB / 0.7769 GB, free: 141 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01431/0.7533, allocations: 7.87 MB / 0.7846 GB, free: 139.1 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005157/0.7585, allocations: 3.179 MB / 0.7877 GB, free: 137.6 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009445/0.7594, allocations: 337 kB / 0.788 GB, free: 137.5 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01427/0.7737, allocations: 6.702 MB / 0.7946 GB, free: 134.1 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=827): time 1.494e-05/0.7737, allocations: 0 / 0.7946 GB, free: 134.1 MB / 0.6512 GB Notification: Performance of matching and sorting (n=828): time 0.06636/0.8401, allocations: 44.82 MB / 0.8383 GB, free: 104.3 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001773/0.8402, allocations: 1.154 MB / 0.8395 GB, free: 102.9 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006314/0.8466, allocations: 6.126 MB / 0.8454 GB, free: 96.88 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001691/0.8483, allocations: 89.7 kB / 0.8455 GB, free: 96.79 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.8497, allocations: 3.067 MB / 0.8485 GB, free: 94.02 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.003031/0.8528, allocations: 2.807 MB / 0.8513 GB, free: 91.61 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002116/0.8549, allocations: 1.902 MB / 0.8531 GB, free: 89.7 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.008e-05/0.8549, allocations: 305.1 kB / 0.8534 GB, free: 89.4 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004656/0.8596, allocations: 4.534 MB / 0.8578 GB, free: 84.84 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006024/0.8656, allocations: 7.833 MB / 0.8655 GB, free: 75.66 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2685/1.134, allocations: 85.25 MB / 0.9487 GB, free: 6.398 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.936e-05/1.134, allocations: 27.17 kB / 0.9488 GB, free: 6.375 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02402/1.158, allocations: 13.49 MB / 0.9619 GB, free: 8.805 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001/1.158, allocations: 107.4 kB / 0.962 GB, free: 8.688 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01644/1.175, allocations: 10.19 MB / 0.972 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/1.176, allocations: 0.6779 MB / 0.9727 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006797/1.183, allocations: 2.426 MB / 0.975 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/1.195, allocations: 14.44 MB / 0.9891 GB, free: 12.05 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007732/1.202, allocations: 424.9 kB / 0.9895 GB, free: 11.66 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002753/1.205, allocations: 0.5816 MB / 0.9901 GB, free: 11.08 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.01239/1.218, allocations: 6.387 MB / 0.9963 GB, free: 4.672 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008829/1.226, allocations: 7.791 MB / 1.004 GB, free: 11.49 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.6292/1.856, allocations: 84.87 MB / 1.087 GB, free: 258.5 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.00014/1.856, allocations: 31 kB / 1.087 GB, free: 258.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.03294/1.889, allocations: 13.37 MB / 1.1 GB, free: 248 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.954e-05/1.889, allocations: 111.4 kB / 1.1 GB, free: 247.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01577/1.905, allocations: 10.1 MB / 1.11 GB, free: 237.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/1.906, allocations: 0.6783 MB / 1.111 GB, free: 237 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006734/1.912, allocations: 2.41 MB / 1.113 GB, free: 234.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00811/1.921, allocations: 14.44 MB / 1.127 GB, free: 219.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006169/1.927, allocations: 420.1 kB / 1.127 GB, free: 219.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002053/1.929, allocations: 0.5738 MB / 1.128 GB, free: 218.5 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.002881/1.932, allocations: 0.8104 MB / 1.129 GB, free: 217.7 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002062/1.934, allocations: 0.7386 MB / 1.129 GB, free: 217.4 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.01412/1.948, allocations: 11.13 MB / 1.14 GB, free: 206.9 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.892672652378678] Failed to read output from testmodel.py, exit status != 0: 2.108423950150609 2.115766923 1.831115215 Calling exit ...