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.01159/0.01159, allocations: 1.791 MB / 20.88 MB, free: 3.648 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.004262/0.004262, allocations: 80.31 kB / 24.59 MB, free: 7.211 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.001335/0.001335, allocations: 162.7 kB / 28.4 MB, free: 4.316 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.8403/0.8403, allocations: 177.2 MB / 209.3 MB, free: 2.543 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.669/0.669, allocations: 102.4 MB / 368.6 MB, free: 1.008 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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestBottle,fileNamePrefix="ClaRa_dev_ClaRa_Components_MechanicalSeparation_Check_TestBottle",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestBottle,fileNamePrefix="ClaRa_dev_ClaRa_Components_MechanicalSeparation_Check_TestBottle",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.5378 GB, free: 39.13 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.076e-06/9.248e-06, allocations: 4.25 kB / 0.5378 GB, free: 39.12 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.115/0.115, allocations: 75.64 MB / 0.6117 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02546/0.1404, allocations: 22.47 MB / 0.6336 GB, free: 8.996 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002588/0.143, allocations: 127.1 kB / 0.6337 GB, free: 8.871 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.003418/0.1465, allocations: 2.538 MB / 0.6362 GB, free: 6.32 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.005383/0.1518, allocations: 4.296 MB / 0.6404 GB, free: 2 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005063/0.1569, allocations: 4.096 MB / 0.6444 GB, free: 13.89 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.01061/0.1675, allocations: 13.52 MB / 0.6576 GB, free: 344 kB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004398/0.1719, allocations: 3.962 MB / 0.6615 GB, free: 12.3 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007065/0.179, allocations: 7.203 MB / 0.6685 GB, free: 5.082 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005108/0.1841, allocations: 4.826 MB / 0.6732 GB, free: 252 kB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0009366/0.185, allocations: 0.8477 MB / 0.6741 GB, free: 15.39 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00392/0.1889, allocations: 2.679 MB / 0.6767 GB, free: 12.71 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001589/0.1905, allocations: 2.924 MB / 0.6795 GB, free: 9.781 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002227/0.1928, allocations: 2.868 MB / 0.6823 GB, free: 6.906 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.009879/0.2026, allocations: 14.07 MB / 0.6961 GB, free: 8.797 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2026, allocations: 0 / 0.6961 GB, free: 8.797 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2026, allocations: 4 kB / 0.6961 GB, free: 8.793 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.0001132/0.2028, allocations: 0 / 0.6961 GB, free: 8.793 MB / 0.5887 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.01101/0.2138, allocations: 8.916 MB / 0.7048 GB, free: 15.77 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.2138, allocations: 12.02 kB / 0.7048 GB, free: 15.76 MB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007718/0.2146, allocations: 0.7782 MB / 0.7055 GB, free: 14.97 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.2165, allocations: 1.077 MB / 0.7066 GB, free: 13.89 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007878/0.2244, allocations: 6.524 MB / 0.713 GB, free: 7.273 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.2245, allocations: 336.9 kB / 0.7133 GB, free: 6.941 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005008/0.225, allocations: 420.3 kB / 0.7137 GB, free: 6.531 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01623/0.2413, allocations: 14.27 MB / 0.7276 GB, free: 6.449 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-05/0.2414, allocations: 59.44 kB / 0.7277 GB, free: 6.391 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004184/0.2418, allocations: 228 kB / 0.7279 GB, free: 6.168 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003057/0.2421, allocations: 446.4 kB / 0.7283 GB, free: 5.73 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01532/0.2574, allocations: 10.64 MB / 0.7387 GB, free: 11.05 MB / 0.6355 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.2257/0.4831, allocations: 50.45 MB / 0.788 GB, free: 135.3 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/0.4948, allocations: 7.879 MB / 0.7957 GB, free: 132.7 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003703/0.4985, allocations: 3.173 MB / 0.7988 GB, free: 131.2 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006855/0.4992, allocations: 337.5 kB / 0.7991 GB, free: 131.2 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009331/0.5085, allocations: 6.703 MB / 0.8057 GB, free: 127.4 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=827): time 6.442e-06/0.5085, allocations: 1.094 kB / 0.8057 GB, free: 127.4 MB / 0.6512 GB Notification: Performance of matching and sorting (n=828): time 0.04617/0.5547, allocations: 44.85 MB / 0.8495 GB, free: 99.46 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.5548, allocations: 1.155 MB / 0.8506 GB, free: 98.1 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005562/0.5604, allocations: 6.323 MB / 0.8568 GB, free: 92.81 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0007746/0.5612, allocations: 89.7 kB / 0.8568 GB, free: 92.71 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.5623, allocations: 3.053 MB / 0.8598 GB, free: 89.95 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001309/0.5636, allocations: 2.809 MB / 0.8626 GB, free: 87.54 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001759/0.5654, allocations: 1.898 MB / 0.8644 GB, free: 85.63 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.286e-05/0.5654, allocations: 305.1 kB / 0.8647 GB, free: 85.33 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004217/0.5696, allocations: 4.535 MB / 0.8691 GB, free: 80.77 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004978/0.5746, allocations: 7.835 MB / 0.8768 GB, free: 71.59 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.274/0.8486, allocations: 85.25 MB / 0.96 GB, free: 2.508 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.812e-05/0.8486, allocations: 24 kB / 0.9601 GB, free: 2.484 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.01839/0.867, allocations: 13.5 MB / 0.9732 GB, free: 4.902 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-05/0.8671, allocations: 111.4 kB / 0.9734 GB, free: 4.781 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01205/0.8792, allocations: 10.19 MB / 0.9833 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.8803, allocations: 0.6905 MB / 0.984 GB, free: 9.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004729/0.885, allocations: 2.418 MB / 0.9863 GB, free: 7.398 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008937/0.8939, allocations: 14.61 MB / 1.001 GB, free: 7.887 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003988/0.8979, allocations: 424.1 kB / 1.001 GB, free: 7.492 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001399/0.8993, allocations: 0.5777 MB / 1.002 GB, free: 6.914 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.008309/0.9076, allocations: 6.387 MB / 1.008 GB, free: 0.5039 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006806/0.9144, allocations: 7.787 MB / 1.015 GB, free: 7.328 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5154/1.43, allocations: 84.87 MB / 1.098 GB, free: 251.4 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.38e-05/1.43, allocations: 27.55 kB / 1.098 GB, free: 251.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.01599/1.446, allocations: 13.39 MB / 1.111 GB, free: 242.4 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.766e-05/1.446, allocations: 107.4 kB / 1.112 GB, free: 242.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01105/1.457, allocations: 10.1 MB / 1.121 GB, free: 232.1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/1.458, allocations: 0.6905 MB / 1.122 GB, free: 231.4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004779/1.463, allocations: 2.402 MB / 1.124 GB, free: 229 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006853/1.47, allocations: 14.61 MB / 1.139 GB, free: 213.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004294/1.474, allocations: 423.9 kB / 1.139 GB, free: 213.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008969/1.475, allocations: 0.5738 MB / 1.14 GB, free: 212.6 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.001806/1.477, allocations: 0.8241 MB / 1.14 GB, free: 211.8 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001472/1.478, allocations: 0.7438 MB / 1.141 GB, free: 211.5 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.01094/1.489, allocations: 11.14 MB / 1.152 GB, free: 201 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.089435822330415]