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.006196/0.006196, 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.0007669/0.0007669, allocations: 91.45 kB / 24.16 MB, free: 400 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.0009176/0.0009176, allocations: 161 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.8494/0.8494, allocations: 177.2 MB / 208.6 MB, free: 2.965 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.7235/0.7235, allocations: 102.5 MB / 367.9 MB, free: 1.484 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.184e-06/2.184e-06, allocations: 0 / 0.5362 GB, free: 39.95 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.093e-05, allocations: 4.969 kB / 0.5362 GB, free: 39.94 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.119/0.1191, allocations: 66.96 MB / 0.6016 GB, free: 9.414 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02794/0.147, allocations: 22.46 MB / 0.6235 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005337/0.1523, allocations: 127.1 kB / 0.6236 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.005303/0.1576, allocations: 2.542 MB / 0.6261 GB, free: 204 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.008755/0.1664, allocations: 4.296 MB / 0.6303 GB, free: 11.88 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006839/0.1732, allocations: 4.088 MB / 0.6343 GB, free: 7.785 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01255/0.1858, allocations: 13.52 MB / 0.6475 GB, free: 10.22 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00545/0.1912, allocations: 3.935 MB / 0.6513 GB, free: 6.211 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008683/0.1999, allocations: 7.207 MB / 0.6584 GB, free: 14.99 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005115/0.205, allocations: 4.819 MB / 0.6631 GB, free: 10.16 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001086/0.2061, allocations: 0.8477 MB / 0.6639 GB, free: 9.309 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004135/0.2102, allocations: 2.679 MB / 0.6665 GB, free: 6.625 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001691/0.2119, allocations: 2.924 MB / 0.6694 GB, free: 3.691 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.002906/0.2148, allocations: 2.868 MB / 0.6722 GB, free: 0.8164 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.2265, allocations: 14.07 MB / 0.6859 GB, free: 2.707 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2265, allocations: 0 / 0.6859 GB, free: 2.707 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2265, allocations: 0 / 0.6859 GB, free: 2.707 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002127/0.2267, allocations: 4 kB / 0.6859 GB, free: 2.703 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.01126/0.238, allocations: 8.916 MB / 0.6946 GB, free: 9.684 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.238, allocations: 15.97 kB / 0.6946 GB, free: 9.668 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000747/0.2388, allocations: 0.79 MB / 0.6954 GB, free: 8.867 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.2406, allocations: 1.073 MB / 0.6965 GB, free: 7.789 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007483/0.2481, allocations: 6.523 MB / 0.7028 GB, free: 1.176 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/0.2483, allocations: 332.8 kB / 0.7032 GB, free: 0.8477 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004836/0.2488, allocations: 424.3 kB / 0.7036 GB, free: 444 kB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01504/0.2638, allocations: 14.27 MB / 0.7175 GB, free: 356 kB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-05/0.2639, allocations: 59.44 kB / 0.7176 GB, free: 296 kB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004006/0.2643, allocations: 224 kB / 0.7178 GB, free: 72 kB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003019/0.2646, allocations: 442.4 kB / 0.7182 GB, free: 15.64 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01434/0.2789, allocations: 10.65 MB / 0.7286 GB, free: 4.957 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.3089/0.5879, allocations: 50.46 MB / 0.7779 GB, free: 142.3 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/0.6002, allocations: 7.87 MB / 0.7856 GB, free: 140.7 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004142/0.6043, allocations: 3.173 MB / 0.7887 GB, free: 139.2 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007359/0.6051, allocations: 342.2 kB / 0.789 GB, free: 139.2 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009788/0.6149, allocations: 6.706 MB / 0.7955 GB, free: 135.7 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=827): time 6.292e-06/0.6149, allocations: 1.062 kB / 0.7955 GB, free: 135.7 MB / 0.6512 GB Notification: Performance of matching and sorting (n=828): time 0.0491/0.664, allocations: 44.84 MB / 0.8393 GB, free: 105.7 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.6641, allocations: 1.148 MB / 0.8404 GB, free: 104.3 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005863/0.67, allocations: 6.329 MB / 0.8466 GB, free: 98.09 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0009036/0.6709, allocations: 97.7 kB / 0.8467 GB, free: 97.99 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001282/0.6722, allocations: 3.045 MB / 0.8497 GB, free: 94.95 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001626/0.6738, allocations: 2.806 MB / 0.8524 GB, free: 92.19 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001687/0.6755, allocations: 1.898 MB / 0.8543 GB, free: 90.28 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.736e-05/0.6755, allocations: 301.1 kB / 0.8546 GB, free: 89.98 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004313/0.6798, allocations: 4.538 MB / 0.859 GB, free: 85.42 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00508/0.6849, allocations: 7.836 MB / 0.8667 GB, free: 76.23 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2708/0.9557, allocations: 85.27 MB / 0.9499 GB, free: 6.949 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.149e-05/0.9557, allocations: 24 kB / 0.9499 GB, free: 6.926 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.01946/0.9752, allocations: 13.5 MB / 0.9631 GB, free: 9.344 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 8.665e-05/0.9753, allocations: 103.4 kB / 0.9632 GB, free: 9.23 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01246/0.9878, allocations: 10.19 MB / 0.9732 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.9889, allocations: 0.6786 MB / 0.9738 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004898/0.9938, allocations: 2.426 MB / 0.9762 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009363/1.003, allocations: 14.61 MB / 0.9905 GB, free: 12.34 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004708/1.008, allocations: 431.2 kB / 0.9909 GB, free: 11.91 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009511/1.009, allocations: 0.5816 MB / 0.9915 GB, free: 11.33 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.008698/1.018, allocations: 6.381 MB / 0.9977 GB, free: 4.93 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006715/1.024, allocations: 7.794 MB / 1.005 GB, free: 11.74 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5359/1.56, allocations: 84.87 MB / 1.088 GB, free: 260.4 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.102e-05/1.56, allocations: 30.69 kB / 1.088 GB, free: 260.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.01514/1.575, allocations: 13.38 MB / 1.101 GB, free: 250.2 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-05/1.575, allocations: 108.7 kB / 1.101 GB, free: 250.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009791/1.585, allocations: 10.1 MB / 1.111 GB, free: 239.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009633/1.586, allocations: 0.6897 MB / 1.112 GB, free: 239.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004099/1.59, allocations: 2.406 MB / 1.114 GB, free: 236.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006741/1.597, allocations: 14.62 MB / 1.129 GB, free: 221.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004514/1.602, allocations: 419.6 kB / 1.129 GB, free: 221.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006036/1.602, allocations: 0.5777 MB / 1.13 GB, free: 220.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.00212/1.604, allocations: 0.8117 MB / 1.13 GB, free: 219.7 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/1.605, allocations: 0.7472 MB / 1.131 GB, free: 219.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.01033/1.616, allocations: 11.14 MB / 1.142 GB, free: 208.8 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.355449554510415] Failed to read output from testmodel.py, exit status != 0: 1.7706506047397852 1.776809401 1.548892074 Calling exit ...