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.01514/0.01514, allocations: 1.778 MB / 18.83 MB, free: 4.324 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.00157/0.00157, allocations: 103.7 kB / 22.07 MB, free: 1.082 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.002124/0.002124, allocations: 215 kB / 25.45 MB, free: 3.324 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.517/1.517, allocations: 230.6 MB / 259.2 MB, free: 13.1 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.107/1.107, allocations: 130.6 MB / 446.3 MB, free: 14.98 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestDrum,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestDrum",fmuType="cs",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.3933/0.3933, allocations: 46.16 MB / 0.6552 GB, free: 30.12 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.5662, allocations: 89.05 MB / 0.7421 GB, free: 2.754 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestDrum): time 0.02908/0.5953, allocations: 23.89 MB / 0.7654 GB, free: 10.77 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04201/0.6373, allocations: 23.48 MB / 0.7884 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005767/0.6431, allocations: 123.1 kB / 0.7885 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.008291/0.6514, allocations: 2.761 MB / 0.7912 GB, free: 336 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01092/0.6623, allocations: 3.829 MB / 0.7949 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.008838/0.6711, allocations: 3.621 MB / 0.7985 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01733/0.6885, allocations: 12.53 MB / 0.8107 GB, free: 12.3 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007166/0.6956, allocations: 3.795 MB / 0.8144 GB, free: 8.426 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009695/0.7053, allocations: 5.034 MB / 0.8193 GB, free: 3.375 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009344/0.7147, allocations: 5.147 MB / 0.8243 GB, free: 14.21 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.00277/0.7174, allocations: 0.8008 MB / 0.8251 GB, free: 13.41 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007733/0.7252, allocations: 3.03 MB / 0.8281 GB, free: 10.38 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.004304/0.7295, allocations: 2.655 MB / 0.8307 GB, free: 7.711 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.007982/0.7375, allocations: 4.276 MB / 0.8349 GB, free: 3.414 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.02161/0.7591, allocations: 13.39 MB / 0.8479 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.7591, allocations: 0 / 0.8479 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.294e-06/0.7591, allocations: 0 / 0.8479 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004638/0.7595, allocations: 0 / 0.8479 GB, free: 5.977 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.02383/0.7834, allocations: 8.691 MB / 0.8564 GB, free: 13.18 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.7834, allocations: 8.031 kB / 0.8564 GB, free: 13.17 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000161/0.7836, allocations: 124.3 kB / 0.8565 GB, free: 13.05 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002402/0.786, allocations: 0.7534 MB / 0.8573 GB, free: 12.28 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004601/0.7906, allocations: 1.03 MB / 0.8583 GB, free: 11.25 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01444/0.805, allocations: 6.462 MB / 0.8646 GB, free: 4.711 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003628/0.8054, allocations: 304.1 kB / 0.8649 GB, free: 4.41 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001532/0.8069, allocations: 400 kB / 0.8653 GB, free: 4.02 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3765/1.183, allocations: 11.9 MB / 0.8769 GB, free: 107.3 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/1.184, allocations: 49.5 kB / 0.8769 GB, free: 107.3 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005639/1.184, allocations: 205.7 kB / 0.8771 GB, free: 107.2 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003561/1.184, allocations: 394 kB / 0.8775 GB, free: 107.2 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.024/1.208, allocations: 10.19 MB / 0.8875 GB, free: 104 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.05154/1.26, allocations: 47.48 MB / 0.9338 GB, free: 64.24 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02107/1.281, allocations: 8.1 MB / 0.9417 GB, free: 59.59 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005859/1.287, allocations: 3.009 MB / 0.9447 GB, free: 57.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/1.288, allocations: 0.6832 MB / 0.9453 GB, free: 57.23 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/1.288, allocations: 98.27 kB / 0.9454 GB, free: 57.16 MB / 0.67 GB Notification: Performance of pre-optimization done (n=816): time 1.224e-05/1.288, allocations: 2.656 kB / 0.9454 GB, free: 57.16 MB / 0.67 GB Notification: Performance of matching and sorting (n=817): time 0.0844/1.373, allocations: 42.7 MB / 0.9871 GB, free: 22.96 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002114/1.373, allocations: 1.146 MB / 0.9883 GB, free: 21.56 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007108/1.38, allocations: 5.763 MB / 0.9939 GB, free: 15.84 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001463/1.382, allocations: 90.45 kB / 0.994 GB, free: 15.75 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001513/1.383, allocations: 2.812 MB / 0.9967 GB, free: 13.19 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002884/1.386, allocations: 2.792 MB / 0.9994 GB, free: 10.73 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002678/1.389, allocations: 1.767 MB / 1.001 GB, free: 8.953 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.06e-05/1.389, allocations: 311.8 kB / 1.001 GB, free: 8.648 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005528/1.394, allocations: 4.188 MB / 1.006 GB, free: 4.441 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008239/1.402, allocations: 6.627 MB / 1.012 GB, free: 12.83 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4652/1.868, allocations: 69.42 MB / 1.08 GB, free: 7.285 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.181e-05/1.868, allocations: 20 kB / 1.08 GB, free: 7.266 MB / 0.7482 GB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.0277/1.895, allocations: 12.33 MB / 1.092 GB, free: 11.03 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 6.718e-05/1.895, allocations: 36 kB / 1.092 GB, free: 11 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0201/1.915, allocations: 9.443 MB / 1.101 GB, free: 1.5 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04562/1.961, allocations: 4.022 MB / 1.105 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01005/1.971, allocations: 2.281 MB / 1.107 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01672/1.988, allocations: 12.32 MB / 1.119 GB, free: 14.06 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009052/1.997, allocations: 347.3 kB / 1.12 GB, free: 13.72 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003225/2, allocations: 0.5426 MB / 1.12 GB, free: 13.18 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.01435/2.015, allocations: 5.982 MB / 1.126 GB, free: 7.188 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01055/2.025, allocations: 6.593 MB / 1.132 GB, free: 15.52 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.8944/2.919, allocations: 69.19 MB / 1.2 GB, free: 279.8 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.816e-05/2.92, allocations: 19.59 kB / 1.2 GB, free: 279.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1148) (initialization_lambda0): time 0.0226/2.942, allocations: 12.23 MB / 1.212 GB, free: 276.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/2.942, allocations: 40.67 kB / 1.212 GB, free: 276.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01727/2.959, allocations: 9.334 MB / 1.221 GB, free: 272.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03197/2.991, allocations: 2.878 MB / 1.224 GB, free: 272.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009399/3.001, allocations: 2.284 MB / 1.226 GB, free: 272.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/3.012, allocations: 12.21 MB / 1.238 GB, free: 262.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006195/3.018, allocations: 338.8 kB / 1.238 GB, free: 262 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001525/3.02, allocations: 0.5396 MB / 1.239 GB, free: 261.9 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.002964/3.022, allocations: 0.684 MB / 1.24 GB, free: 261.6 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003227/3.026, allocations: 0.7109 MB / 1.24 GB, free: 261.6 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.0224/3.048, allocations: 10.96 MB / 1.251 GB, free: 257.9 MB / 0.8575 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.703067679016385] Failed to read output from testmodel.py, exit status != 0: 3.0565656119724736 3.067217487 2.305382208 Calling exit ...