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.01506/0.01506, allocations: 1.748 MB / 21.38 MB, free: 480 kB / 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.001606/0.001606, allocations: 101.1 kB / 24.96 MB, free: 2.059 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.002112/0.002112, allocations: 208.5 kB / 28.68 MB, free: 3.348 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.44/1.44, allocations: 230.6 MB / 262.9 MB, free: 5.824 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.08/1.08, allocations: 130.7 MB / 450.4 MB, free: 6.387 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.06485/0.06485, allocations: 20.6 MB / 0.6362 GB, free: 5.082 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.2546, allocations: 81.91 MB / 0.7162 GB, free: 3.074 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.5422/0.7968, allocations: 52.41 MB / 0.7674 GB, free: 16.27 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03074/0.8276, allocations: 18.65 MB / 0.7856 GB, free: 3.238 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008322/0.8359, allocations: 134.8 kB / 0.7857 GB, free: 3.172 MB / 0.5607 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.007654/0.8435, allocations: 2.218 MB / 0.7879 GB, free: 2.141 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.01308/0.8566, allocations: 3.376 MB / 0.7912 GB, free: 15.88 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01185/0.8685, allocations: 3.87 MB / 0.795 GB, free: 13.05 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01775/0.8862, allocations: 8.66 MB / 0.8034 GB, free: 7.941 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005944/0.8922, allocations: 2.558 MB / 0.8059 GB, free: 6.082 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008342/0.9005, allocations: 3.55 MB / 0.8094 GB, free: 3.445 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008067/0.9086, allocations: 3.714 MB / 0.813 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002129/0.9107, allocations: 0.5547 MB / 0.8136 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006379/0.9171, allocations: 1.934 MB / 0.8155 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003396/0.9205, allocations: 1.697 MB / 0.8171 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.009615/0.9301, allocations: 2.383 MB / 0.8194 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02248/0.9526, allocations: 9.04 MB / 0.8283 GB, free: 56 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.9526, allocations: 0 / 0.8283 GB, free: 56 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9526, allocations: 0 / 0.8283 GB, free: 56 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003992/0.953, allocations: 2.688 kB / 0.8283 GB, free: 56 kB / 0.5919 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.01818/0.9712, allocations: 6.533 MB / 0.8347 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.9712, allocations: 9.531 kB / 0.8347 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001391/0.9713, allocations: 98.78 kB / 0.8348 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001734/0.9731, allocations: 0.5555 MB / 0.8353 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003534/0.9766, allocations: 0.8113 MB / 0.8361 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01181/0.9884, allocations: 4.661 MB / 0.8406 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003639/0.9888, allocations: 257.4 kB / 0.8409 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001266/0.9901, allocations: 320 kB / 0.8412 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02549/1.016, allocations: 8.517 MB / 0.8495 GB, free: 8.855 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002724/1.016, allocations: 48.31 kB / 0.8496 GB, free: 8.809 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001394/1.017, allocations: 175.9 kB / 0.8497 GB, free: 8.641 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000253/1.017, allocations: 118.6 kB / 0.8498 GB, free: 8.527 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01852/1.036, allocations: 5.756 MB / 0.8555 GB, free: 2.754 MB / 0.6232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04267/1.079, allocations: 34.47 MB / 0.8891 GB, free: 15.08 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01335/1.092, allocations: 4.313 MB / 0.8933 GB, free: 10.56 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003277/1.095, allocations: 1.529 MB / 0.8948 GB, free: 8.953 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/1.096, allocations: 279.1 kB / 0.8951 GB, free: 8.688 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01162/1.108, allocations: 4.062 MB / 0.8991 GB, free: 4.418 MB / 0.67 GB Notification: Performance of pre-optimization done (n=619): time 8.827e-06/1.108, allocations: 0 / 0.8991 GB, free: 4.418 MB / 0.67 GB Notification: Performance of matching and sorting (n=619): time 0.02798/1.136, allocations: 8.997 MB / 0.9079 GB, free: 11.37 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008199/1.137, allocations: 1.177 MB / 0.909 GB, free: 9.918 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008832/1.146, allocations: 4.636 MB / 0.9135 GB, free: 5.309 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.001074/1.147, allocations: 77.7 kB / 0.9136 GB, free: 5.227 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.002747/1.149, allocations: 2.317 MB / 0.9159 GB, free: 2.895 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.003116/1.153, allocations: 2.087 MB / 0.9179 GB, free: 0.7891 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002579/1.155, allocations: 1.39 MB / 0.9193 GB, free: 15.39 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.155, allocations: 305.1 kB / 0.9195 GB, free: 15.09 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004377/1.16, allocations: 2.18 MB / 0.9217 GB, free: 12.87 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006851/1.166, allocations: 4.559 MB / 0.9261 GB, free: 7.234 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/1.179, allocations: 7.081 MB / 0.933 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.677e-05/1.179, allocations: 20 kB / 0.9331 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.01899/1.198, allocations: 7.508 MB / 0.9404 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002605/1.198, allocations: 162.8 kB / 0.9406 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01197/1.21, allocations: 5.199 MB / 0.9456 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003407/1.21, allocations: 108 kB / 0.9457 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006944/1.217, allocations: 1.747 MB / 0.9474 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002766/1.218, allocations: 158.1 kB / 0.9476 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006791/1.224, allocations: 0.8265 MB / 0.9484 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001611/1.226, allocations: 459.7 kB / 0.9488 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009035/1.235, allocations: 3.048 MB / 0.9518 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008691/1.244, allocations: 4.518 MB / 0.9562 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01356/1.257, allocations: 6.98 MB / 0.963 GB, free: 14.4 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001293/1.257, allocations: 23.75 kB / 0.9631 GB, free: 14.38 MB / 0.7482 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.02034/1.278, allocations: 7.42 MB / 0.9703 GB, free: 6.953 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002362/1.278, allocations: 170.8 kB / 0.9705 GB, free: 6.762 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01164/1.29, allocations: 5.079 MB / 0.9754 GB, free: 1.637 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002613/1.29, allocations: 110.7 kB / 0.9755 GB, free: 1.531 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006842/1.297, allocations: 1.731 MB / 0.9772 GB, free: 15.8 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002682/1.297, allocations: 151.5 kB / 0.9774 GB, free: 15.65 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00645/1.303, allocations: 0.6678 MB / 0.978 GB, free: 14.98 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/1.305, allocations: 458.4 kB / 0.9785 GB, free: 14.54 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.003052/1.308, allocations: 0.7453 MB / 0.9792 GB, free: 13.76 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0032/1.311, allocations: 0.6052 MB / 0.9798 GB, free: 13.15 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.0146/1.326, allocations: 5.775 MB / 0.9854 GB, free: 7.742 MB / 0.7638 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.747859337017871] Failed to read output from testmodel.py, exit status != 0: 1.871044788043946 1.884123772 0.928714435 Calling exit ...