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.006345/0.006345, allocations: 1.442 MB / 20.53 MB, free: 4.012 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.0006851/0.0006851, 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.0007907/0.0007907, allocations: 165 kB / 27.86 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.8178/0.8178, allocations: 177.1 MB / 208.6 MB, free: 2.973 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.7068/0.7068, allocations: 102.5 MB / 367.9 MB, free: 1.473 MB / 330.8 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 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestBottle,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestBottle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestBottle,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestBottle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 3.469 kB / 0.5362 GB, free: 40.02 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.327e-05, allocations: 3.125 kB / 0.5362 GB, free: 40.02 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.1097/0.1097, allocations: 66.95 MB / 0.6016 GB, free: 9.547 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02652/0.1362, allocations: 22.46 MB / 0.6235 GB, free: 3.012 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004605/0.1408, allocations: 127.1 kB / 0.6236 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.004844/0.1456, allocations: 2.546 MB / 0.6261 GB, free: 336 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.006947/0.1526, allocations: 4.292 MB / 0.6303 GB, free: 12.01 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005892/0.1585, allocations: 4.095 MB / 0.6343 GB, free: 7.914 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01032/0.1688, allocations: 13.52 MB / 0.6475 GB, free: 10.35 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003888/0.1727, allocations: 3.935 MB / 0.6513 GB, free: 6.344 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007038/0.1797, allocations: 7.215 MB / 0.6584 GB, free: 15.11 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004452/0.1842, allocations: 4.811 MB / 0.6631 GB, free: 10.29 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0007645/0.1849, allocations: 0.8477 MB / 0.6639 GB, free: 9.441 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003974/0.1889, allocations: 2.694 MB / 0.6665 GB, free: 6.742 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001591/0.1905, allocations: 2.917 MB / 0.6694 GB, free: 3.816 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.00222/0.1927, allocations: 2.868 MB / 0.6722 GB, free: 0.9414 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.2035, allocations: 14.07 MB / 0.6859 GB, free: 2.828 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2035, allocations: 0 / 0.6859 GB, free: 2.828 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2035, allocations: 0 / 0.6859 GB, free: 2.828 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001618/0.2037, allocations: 0 / 0.6859 GB, free: 2.828 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.01256/0.2162, allocations: 8.92 MB / 0.6946 GB, free: 9.805 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.2163, allocations: 8.031 kB / 0.6946 GB, free: 9.797 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007334/0.217, allocations: 0.7861 MB / 0.6954 GB, free: 9 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/0.2189, allocations: 1.081 MB / 0.6965 GB, free: 7.914 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007594/0.2265, allocations: 6.521 MB / 0.7028 GB, free: 1.297 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.2267, allocations: 328.9 kB / 0.7032 GB, free: 0.9727 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004823/0.2272, allocations: 424.3 kB / 0.7036 GB, free: 0.5586 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01548/0.2426, allocations: 14.28 MB / 0.7175 GB, free: 476 kB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.288e-05/0.2427, allocations: 59.44 kB / 0.7176 GB, free: 416 kB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004013/0.2431, allocations: 216 kB / 0.7178 GB, free: 200 kB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003075/0.2434, allocations: 442.4 kB / 0.7182 GB, free: 15.76 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01479/0.2582, allocations: 10.65 MB / 0.7286 GB, free: 5.078 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.2996/0.5579, allocations: 50.46 MB / 0.7779 GB, free: 141 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01138/0.5692, allocations: 7.866 MB / 0.7856 GB, free: 139 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003444/0.5727, allocations: 3.179 MB / 0.7887 GB, free: 137.5 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006991/0.5734, allocations: 339.9 kB / 0.789 GB, free: 137.4 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008876/0.5823, allocations: 6.695 MB / 0.7955 GB, free: 133.8 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=827): time 6.121e-06/0.5823, allocations: 1.203 kB / 0.7955 GB, free: 133.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=828): time 0.04608/0.6284, allocations: 44.85 MB / 0.8393 GB, free: 103.5 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.6285, allocations: 1.144 MB / 0.8404 GB, free: 102.1 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005141/0.6336, allocations: 6.33 MB / 0.8466 GB, free: 95.94 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0005055/0.6341, allocations: 93.7 kB / 0.8467 GB, free: 95.84 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.6353, allocations: 3.043 MB / 0.8497 GB, free: 93.07 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001309/0.6366, allocations: 2.808 MB / 0.8524 GB, free: 90.67 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001668/0.6383, allocations: 1.902 MB / 0.8543 GB, free: 88.76 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.475e-05/0.6383, allocations: 301.1 kB / 0.8546 GB, free: 88.46 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003963/0.6423, allocations: 4.538 MB / 0.859 GB, free: 83.9 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004729/0.647, allocations: 7.833 MB / 0.8667 GB, free: 74.71 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2631/0.9101, allocations: 85.26 MB / 0.9499 GB, free: 5.449 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-05/0.9102, allocations: 24 kB / 0.9499 GB, free: 5.426 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.01813/0.9283, allocations: 13.49 MB / 0.9631 GB, free: 7.852 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 8.438e-05/0.9284, allocations: 107.4 kB / 0.9632 GB, free: 7.734 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01174/0.9401, allocations: 10.2 MB / 0.9732 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.9412, allocations: 0.6888 MB / 0.9739 GB, free: 12.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004727/0.946, allocations: 2.418 MB / 0.9762 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009374/0.9553, allocations: 14.61 MB / 0.9905 GB, free: 10.83 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004385/0.9597, allocations: 430.7 kB / 0.9909 GB, free: 10.43 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007128/0.9604, allocations: 0.5855 MB / 0.9915 GB, free: 9.848 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.007987/0.9684, allocations: 6.382 MB / 0.9977 GB, free: 3.445 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006325/0.9747, allocations: 7.79 MB / 1.005 GB, free: 10.27 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5131/1.488, allocations: 84.86 MB / 1.088 GB, free: 257.6 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.373e-05/1.488, allocations: 29.33 kB / 1.088 GB, free: 257.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.0142/1.502, allocations: 13.39 MB / 1.101 GB, free: 246.7 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.593e-05/1.502, allocations: 104.4 kB / 1.101 GB, free: 246.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009544/1.512, allocations: 10.11 MB / 1.111 GB, free: 236.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009101/1.513, allocations: 0.6877 MB / 1.112 GB, free: 235.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003995/1.517, allocations: 2.411 MB / 1.114 GB, free: 233.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006468/1.523, allocations: 14.61 MB / 1.129 GB, free: 217.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003582/1.527, allocations: 421.4 kB / 1.129 GB, free: 217.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005018/1.527, allocations: 0.5732 MB / 1.13 GB, free: 216.9 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.001644/1.529, allocations: 0.816 MB / 1.13 GB, free: 216.2 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008943/1.53, allocations: 0.7499 MB / 1.131 GB, free: 215.9 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.01042/1.54, allocations: 11.14 MB / 1.142 GB, free: 205.3 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.159568710252643] Failed to read output from testmodel.py, exit status != 0: 1.6637346781790257 1.670705289 1.4656972289999999 Calling exit ...