Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_compressible.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.01287/0.01287, allocations: 1.756 MB / 21.38 MB, free: 0.582 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.001513/0.001513, allocations: 105.4 kB / 24.98 MB, free: 2.184 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.002036/0.002036, allocations: 206 kB / 28.71 MB, free: 3.461 MB / 19.63 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.472/1.472, allocations: 230.6 MB / 262.9 MB, free: 6.031 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.071/1.071, allocations: 130.7 MB / 450.5 MB, free: 6.586 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.VolumesValvesFittings.Valves.Check.Test_EN60534_compressible,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_Test_EN60534_compressible",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_compressible,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_Test_EN60534_compressible",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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). 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.02997/0.02997, allocations: 20.6 MB / 0.6363 GB, free: 5.363 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1885, allocations: 81.9 MB / 0.7163 GB, free: 3.355 MB / 0.5294 GB 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.VolumesValvesFittings.Valves.Check.Test_EN60534_compressible): time 0.5023/0.6908, allocations: 55.47 MB / 0.7705 GB, free: 13.5 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02996/0.7207, allocations: 19.49 MB / 0.7895 GB, free: 15.57 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006959/0.7277, allocations: 139.4 kB / 0.7897 GB, free: 15.5 MB / 0.5763 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.007309/0.735, allocations: 2.267 MB / 0.7919 GB, free: 14.43 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01303/0.748, allocations: 3.362 MB / 0.7952 GB, free: 12.18 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01251/0.7605, allocations: 3.85 MB / 0.7989 GB, free: 9.363 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01772/0.7783, allocations: 8.657 MB / 0.8074 GB, free: 4.262 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006693/0.785, allocations: 2.558 MB / 0.8099 GB, free: 2.398 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00913/0.7941, allocations: 3.534 MB / 0.8133 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008771/0.8029, allocations: 3.732 MB / 0.817 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003106/0.806, allocations: 0.5547 MB / 0.8175 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007999/0.814, allocations: 2.308 MB / 0.8198 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003545/0.8175, allocations: 1.703 MB / 0.8214 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007314/0.8248, allocations: 3.085 MB / 0.8244 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01847/0.8433, allocations: 9.086 MB / 0.8333 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.8433, allocations: 0 / 0.8333 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8433, allocations: 0 / 0.8333 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003413/0.8437, allocations: 0 / 0.8333 GB, free: 11.45 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1193 * Number of variables: 1193 Notification: Performance of Generate backend data structure: time 0.01665/0.8603, allocations: 6.537 MB / 0.8397 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.8604, allocations: 12.03 kB / 0.8397 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001292/0.8605, allocations: 98.09 kB / 0.8398 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001646/0.8621, allocations: 0.5646 MB / 0.8403 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003388/0.8655, allocations: 0.8087 MB / 0.8411 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/0.8775, allocations: 4.649 MB / 0.8457 GB, free: 14.63 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004037/0.8779, allocations: 256.4 kB / 0.8459 GB, free: 14.39 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001544/0.8795, allocations: 323.9 kB / 0.8462 GB, free: 14.07 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02425/0.9037, allocations: 7.593 MB / 0.8536 GB, free: 5.492 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002148/0.904, allocations: 50.25 kB / 0.8537 GB, free: 5.445 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001179/0.9051, allocations: 168 kB / 0.8539 GB, free: 5.281 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001979/0.9053, allocations: 115.9 kB / 0.854 GB, free: 5.168 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01783/0.9232, allocations: 5.648 MB / 0.8595 GB, free: 15.53 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04299/0.9661, allocations: 36.1 MB / 0.8947 GB, free: 10.21 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01396/0.9801, allocations: 4.199 MB / 0.8988 GB, free: 5.848 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003866/0.984, allocations: 1.418 MB / 0.9002 GB, free: 4.375 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/0.9853, allocations: 289.8 kB / 0.9005 GB, free: 4.098 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01317/0.9985, allocations: 3.932 MB / 0.9043 GB, free: 15.99 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=619): time 1.546e-05/0.9985, allocations: 3.375 kB / 0.9043 GB, free: 15.99 MB / 0.6857 GB Notification: Performance of matching and sorting (n=619): time 0.03025/1.029, allocations: 8.748 MB / 0.9129 GB, free: 7.234 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007327/1.029, allocations: 1.179 MB / 0.914 GB, free: 5.793 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01098/1.04, allocations: 4.639 MB / 0.9186 GB, free: 1.184 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.001252/1.042, allocations: 77.7 kB / 0.9186 GB, free: 1.102 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.002993/1.045, allocations: 2.321 MB / 0.9209 GB, free: 14.76 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.003955/1.049, allocations: 2.087 MB / 0.9229 GB, free: 12.66 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005149/1.054, allocations: 1.383 MB / 0.9243 GB, free: 11.26 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.054, allocations: 303.8 kB / 0.9246 GB, free: 10.96 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005362/1.059, allocations: 2.052 MB / 0.9266 GB, free: 8.898 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007677/1.067, allocations: 4.231 MB / 0.9307 GB, free: 3.719 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01525/1.082, allocations: 7.064 MB / 0.9376 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.054e-05/1.082, allocations: 20 kB / 0.9376 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.02075/1.103, allocations: 7.362 MB / 0.9448 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002438/1.103, allocations: 162.8 kB / 0.945 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01214/1.115, allocations: 5.036 MB / 0.9499 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000261/1.116, allocations: 104 kB / 0.95 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007004/1.123, allocations: 1.751 MB / 0.9517 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002828/1.123, allocations: 155.4 kB / 0.9519 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006525/1.13, allocations: 0.829 MB / 0.9527 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001646/1.131, allocations: 455.7 kB / 0.9531 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008856/1.14, allocations: 2.928 MB / 0.956 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007947/1.148, allocations: 4.188 MB / 0.96 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01389/1.162, allocations: 6.968 MB / 0.9668 GB, free: 11.93 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.525e-05/1.162, allocations: 24 kB / 0.9669 GB, free: 11.9 MB / 0.7482 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.02158/1.184, allocations: 7.253 MB / 0.974 GB, free: 4.621 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002707/1.184, allocations: 172.1 kB / 0.9741 GB, free: 4.43 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01333/1.197, allocations: 4.917 MB / 0.9789 GB, free: 15.49 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002791/1.197, allocations: 109.8 kB / 0.979 GB, free: 15.38 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007152/1.205, allocations: 1.731 MB / 0.9807 GB, free: 13.65 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000264/1.205, allocations: 158.2 kB / 0.9809 GB, free: 13.5 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006568/1.211, allocations: 0.6601 MB / 0.9815 GB, free: 12.83 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001941/1.213, allocations: 463.7 kB / 0.982 GB, free: 12.38 MB / 0.7638 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 317 * Number of states: 0 () * Number of discrete variables: 32 (timeTable3.nextEventScaled,timeTable3.nextEvent,$PRE.timeTable3.nextEvent,timeTable3.last,timeTable3.b,timeTable3.a,$whenCondition4,valveEN_60534_compressible_phaseChange.pressureLoss.normIsValid,timeTable2.nextEventScaled,timeTable2.nextEvent,$PRE.timeTable2.nextEvent,timeTable2.last,timeTable2.b,timeTable2.a,$whenCondition3,valveEN_60534_compressibleBackwards.pressureLoss.normIsValid,timeTable1.nextEventScaled,timeTable1.nextEvent,$PRE.timeTable1.nextEvent,timeTable1.last,timeTable1.b,timeTable1.a,$whenCondition2,valveEN_60534_compressible_checkValve.pressureLoss.normIsValid,timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1,valveEN_60534_compressible.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (907): * Single equations (assignments): 903 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003393/1.217, allocations: 0.7369 MB / 0.9827 GB, free: 11.61 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003034/1.22, allocations: 0.6169 MB / 0.9833 GB, free: 10.99 MB / 0.7638 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 163 equation(s) and 159 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (valveEN_60534_compressible_phaseChange.fluidIn.q, valveEN_60534_compressible_phaseChange.fluidIn.cp, valveEN_60534_compressible_phaseChange.fluidIn.cv, valveEN_60534_compressible_phaseChange.fluidIn.beta, valveEN_60534_compressible_phaseChange.fluidIn.kappa, valveEN_60534_compressible_phaseChange.fluidIn.drhodp_hxi, valveEN_60534_compressible_phaseChange.fluidIn.drhodh_pxi, _, valveEN_60534_compressible_phaseChange.fluidIn.w, valveEN_60534_compressible_phaseChange.fluidIn.gamma) = ($cse66, $cse67, $cse68, $cse69, $cse70, $cse71, $cse72, $cse73, $cse74, $cse75) has size 9 but 2 variables (pressureSink_XRG5.fluidOut.h, pressureSink_XRG5.eye.h) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/1.234, allocations: 5.775 MB / 0.9889 GB, free: 5.355 MB / 0.7638 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.57692171598319] Failed to read output from testmodel.py, exit status != 0: 1.7631736570037901 1.7808190720000001 0.934035681 Calling exit ...