Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestDrum.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.01535/0.01535, allocations: 1.771 MB / 18.12 MB, free: 4.941 MB / 14.72 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.001731/0.001731, allocations: 107.7 kB / 21.36 MB, free: 1.703 MB / 14.72 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.001646/0.001646, allocations: 214.7 kB / 24.75 MB, free: 3.723 MB / 14.72 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 1.506/1.506, allocations: 230.6 MB / 258.5 MB, free: 13.12 MB / 206.1 MB " [Timeout remaining time 178] 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 1.091/1.091, allocations: 130.6 MB / 445.6 MB, free: 14.57 MB / 350.1 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.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestDrum,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestDrum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestDrum,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestDrum",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt 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: ClaRa 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 uses annotation from ClaRa. 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. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.4042/0.4042, allocations: 46.13 MB / 0.6545 GB, free: 30.15 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.5917, allocations: 89.05 MB / 0.7414 GB, free: 2.758 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestDrum): time 0.02933/0.621, allocations: 23.89 MB / 0.7648 GB, free: 10.77 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.03976/0.6608, allocations: 23.48 MB / 0.7877 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005042/0.6658, allocations: 123.1 kB / 0.7878 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.007544/0.6734, allocations: 2.761 MB / 0.7905 GB, free: 336 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01129/0.6847, allocations: 3.829 MB / 0.7942 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.009632/0.6943, allocations: 3.617 MB / 0.7978 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01855/0.7129, allocations: 12.52 MB / 0.81 GB, free: 12.3 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006861/0.7197, allocations: 3.803 MB / 0.8137 GB, free: 8.422 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009866/0.7296, allocations: 5.03 MB / 0.8186 GB, free: 3.375 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009036/0.7386, allocations: 5.161 MB / 0.8237 GB, free: 14.2 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.002819/0.7414, allocations: 0.8047 MB / 0.8244 GB, free: 13.39 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007872/0.7493, allocations: 3.014 MB / 0.8274 GB, free: 10.38 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.00437/0.7537, allocations: 2.659 MB / 0.83 GB, free: 7.711 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.007996/0.7617, allocations: 4.276 MB / 0.8342 GB, free: 3.414 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.02225/0.7839, allocations: 13.39 MB / 0.8472 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.7839, allocations: 7.938 kB / 0.8472 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7839, allocations: 0 / 0.8472 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004151/0.7843, allocations: 0 / 0.8472 GB, free: 5.973 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1607 * Number of variables: 1607 Notification: Performance of Generate backend data structure: time 0.02275/0.8071, allocations: 8.683 MB / 0.8557 GB, free: 13.18 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.8071, allocations: 8.031 kB / 0.8557 GB, free: 13.18 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001881/0.809, allocations: 0.7534 MB / 0.8565 GB, free: 12.41 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003832/0.8129, allocations: 1.03 MB / 0.8575 GB, free: 11.38 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01401/0.8269, allocations: 6.459 MB / 0.8638 GB, free: 4.844 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003337/0.8272, allocations: 308.1 kB / 0.8641 GB, free: 4.539 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001495/0.8287, allocations: 400 kB / 0.8645 GB, free: 4.148 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4001/1.229, allocations: 11.91 MB / 0.8761 GB, free: 107.5 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/1.229, allocations: 49.81 kB / 0.8761 GB, free: 107.5 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000601/1.229, allocations: 203.6 kB / 0.8763 GB, free: 107.4 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003342/1.23, allocations: 389.2 kB / 0.8767 GB, free: 107.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02503/1.255, allocations: 10.19 MB / 0.8866 GB, free: 104.2 MB / 0.67 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.05337/1.308, allocations: 47.49 MB / 0.933 GB, free: 64.42 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0211/1.329, allocations: 8.105 MB / 0.9409 GB, free: 59.76 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005394/1.335, allocations: 3.011 MB / 0.9439 GB, free: 57.98 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/1.336, allocations: 0.6742 MB / 0.9445 GB, free: 57.41 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.706e-05/1.336, allocations: 100 kB / 0.9446 GB, free: 57.34 MB / 0.67 GB Notification: Performance of pre-optimization done (n=816): time 7.193e-06/1.336, allocations: 0 / 0.9446 GB, free: 57.34 MB / 0.67 GB Notification: Performance of matching and sorting (n=817): time 0.08007/1.416, allocations: 42.7 MB / 0.9863 GB, free: 23.21 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000207/1.416, allocations: 1.139 MB / 0.9874 GB, free: 21.81 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007284/1.423, allocations: 5.766 MB / 0.9931 GB, free: 16.09 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001339/1.425, allocations: 89.7 kB / 0.9932 GB, free: 16 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001517/1.426, allocations: 2.811 MB / 0.9959 GB, free: 13.44 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002927/1.429, allocations: 2.802 MB / 0.9986 GB, free: 10.98 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002834/1.432, allocations: 1.771 MB / 1 GB, free: 9.195 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.137e-05/1.432, allocations: 301.1 kB / 1.001 GB, free: 8.898 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006046/1.438, allocations: 4.196 MB / 1.005 GB, free: 4.688 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009627/1.448, allocations: 6.628 MB / 1.011 GB, free: 13.08 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.489/1.937, allocations: 69.41 MB / 1.079 GB, free: 7.527 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-05/1.937, allocations: 22.06 kB / 1.079 GB, free: 7.508 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.03225/1.969, allocations: 12.33 MB / 1.091 GB, free: 11.23 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/1.969, allocations: 36.92 kB / 1.091 GB, free: 11.2 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02392/1.993, allocations: 9.444 MB / 1.1 GB, free: 1.699 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04801/2.041, allocations: 4.017 MB / 1.104 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00981/2.051, allocations: 2.278 MB / 1.106 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/2.066, allocations: 12.32 MB / 1.119 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006745/2.073, allocations: 347.3 kB / 1.119 GB, free: 13.93 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002277/2.075, allocations: 0.5431 MB / 1.119 GB, free: 13.39 MB / 0.795 GB Warning: Assuming fixed start value for the following 3 variables: drum.volume.h_liq:VARIABLE(start = drum.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real drum.volume.h_vap:VARIABLE(start = drum.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real drum.volume.p_vap:VARIABLE(min = 0.0 start = drum.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01481/2.09, allocations: 5.981 MB / 1.125 GB, free: 7.398 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01355/2.103, allocations: 6.606 MB / 1.132 GB, free: 15.71 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.9118/3.015, allocations: 69.18 MB / 1.199 GB, free: 280.9 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.165e-05/3.015, allocations: 22.09 kB / 1.199 GB, free: 280.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.02724/3.043, allocations: 12.23 MB / 1.211 GB, free: 277.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.006e-05/3.043, allocations: 40.47 kB / 1.211 GB, free: 277.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02202/3.065, allocations: 9.339 MB / 1.22 GB, free: 274.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03285/3.097, allocations: 2.876 MB / 1.223 GB, free: 273.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01029/3.108, allocations: 2.281 MB / 1.225 GB, free: 273.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/3.119, allocations: 12.21 MB / 1.237 GB, free: 263.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006897/3.126, allocations: 342.5 kB / 1.238 GB, free: 263.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002308/3.129, allocations: 0.5382 MB / 1.238 GB, free: 263.1 MB / 0.8575 GB Warning: Assuming fixed start value for the following 3 variables: drum.volume.h_liq:VARIABLE(start = drum.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real drum.volume.h_vap:VARIABLE(start = drum.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real drum.volume.p_vap:VARIABLE(min = 0.0 start = drum.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: 324 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1115): * Single equations (assignments): 1108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 2 systems {(4,3,87.5%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,20)} Notification: Performance of prepare postOptimizeDAE: time 0.003154/3.132, allocations: 0.6824 MB / 1.239 GB, free: 262.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003115/3.135, allocations: 0.7115 MB / 1.24 GB, free: 262.7 MB / 0.8575 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 1239 equation(s) and 1186 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (sink.fluidOut.q, sink.fluidOut.cp, sink.fluidOut.cv, sink.fluidOut.beta, sink.fluidOut.kappa, sink.fluidOut.drhodp_hxi, sink.fluidOut.drhodh_pxi, _, sink.fluidOut.w, sink.fluidOut.gamma) = ($cse406, $cse407, $cse408, $cse409, $cse410, $cse411, $cse412, $cse413, $cse414, $cse415) has size 9 but 3 variables (drum.volume.heattransfer.Delta_T_mean[1], drum.volume.summary.fluid.T[1], drum.scalar2VectorHeatPort.heatVector[2].T) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02279/3.158, allocations: 10.96 MB / 1.25 GB, free: 259 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.779778370997519] Failed to read output from testmodel.py, exit status != 0: 3.166155886006891 3.176332261 2.389614255 Calling exit ...