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.01238/0.01238, allocations: 1.762 MB / 20.59 MB, free: 1.297 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.001511/0.001511, allocations: 104.1 kB / 24.19 MB, free: 2.688 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.002066/0.002066, allocations: 210.5 kB / 27.92 MB, free: 4.035 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.466/1.466, allocations: 230.6 MB / 262.1 MB, free: 6.027 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.074/1.074, allocations: 130.7 MB / 449.7 MB, free: 6.789 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="me",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="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: 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.03245/0.03245, allocations: 20.79 MB / 0.6357 GB, free: 5.168 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.2107, allocations: 81.9 MB / 0.7157 GB, free: 3.164 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.5536/0.7643, allocations: 55.47 MB / 0.7699 GB, free: 13.26 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03556/0.7999, allocations: 19.49 MB / 0.7889 GB, free: 15.33 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008855/0.8087, allocations: 139.2 kB / 0.7891 GB, free: 15.27 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.008017/0.8167, allocations: 2.268 MB / 0.7913 GB, free: 14.19 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01396/0.8307, allocations: 3.355 MB / 0.7946 GB, free: 11.94 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01507/0.8458, allocations: 3.868 MB / 0.7983 GB, free: 9.105 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0255/0.8713, allocations: 8.658 MB / 0.8068 GB, free: 4.008 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007345/0.8786, allocations: 2.558 MB / 0.8093 GB, free: 2.145 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009698/0.8883, allocations: 3.536 MB / 0.8127 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008884/0.8972, allocations: 3.726 MB / 0.8164 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002766/0.9, allocations: 0.5573 MB / 0.8169 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007682/0.9076, allocations: 2.313 MB / 0.8192 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003597/0.9112, allocations: 1.709 MB / 0.8208 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.008751/0.92, allocations: 3.087 MB / 0.8239 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02052/0.9405, allocations: 9.075 MB / 0.8327 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/0.9405, allocations: 4 kB / 0.8327 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9405, allocations: 6.656 kB / 0.8327 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003258/0.9408, allocations: 0 / 0.8327 GB, free: 11.12 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.01549/0.9563, allocations: 6.527 MB / 0.8391 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.9564, allocations: 16.02 kB / 0.8391 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001161/0.9575, allocations: 0.5581 MB / 0.8397 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00265/0.9602, allocations: 0.8087 MB / 0.8405 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/0.9712, allocations: 4.645 MB / 0.845 GB, free: 14.43 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002974/0.9715, allocations: 258.9 kB / 0.8452 GB, free: 14.17 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009574/0.9724, allocations: 323.3 kB / 0.8455 GB, free: 13.86 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01882/0.9913, allocations: 7.59 MB / 0.853 GB, free: 5.285 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/0.9914, allocations: 47.56 kB / 0.853 GB, free: 5.238 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000486/0.9919, allocations: 169.3 kB / 0.8532 GB, free: 5.078 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/0.992, allocations: 119.9 kB / 0.8533 GB, free: 4.961 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01631/1.008, allocations: 5.64 MB / 0.8588 GB, free: 15.32 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03923/1.048, allocations: 36.1 MB / 0.894 GB, free: 10 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/1.06, allocations: 4.202 MB / 0.8982 GB, free: 5.637 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003663/1.064, allocations: 1.41 MB / 0.8995 GB, free: 4.172 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/1.065, allocations: 303.5 kB / 0.8998 GB, free: 3.883 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01184/1.077, allocations: 3.926 MB / 0.9037 GB, free: 15.78 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=619): time 1.08e-05/1.077, allocations: 0 / 0.9037 GB, free: 15.78 MB / 0.6857 GB Notification: Performance of matching and sorting (n=619): time 0.02733/1.104, allocations: 8.755 MB / 0.9122 GB, free: 7.023 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006417/1.105, allocations: 1.179 MB / 0.9134 GB, free: 5.578 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008298/1.113, allocations: 4.632 MB / 0.9179 GB, free: 0.9727 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.001087/1.114, allocations: 73.7 kB / 0.9179 GB, free: 0.8945 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.00235/1.117, allocations: 2.327 MB / 0.9202 GB, free: 14.55 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.003106/1.12, allocations: 2.075 MB / 0.9222 GB, free: 12.46 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003026/1.123, allocations: 1.387 MB / 0.9236 GB, free: 11.06 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.123, allocations: 305.1 kB / 0.9239 GB, free: 10.76 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004237/1.127, allocations: 2.057 MB / 0.9259 GB, free: 8.695 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006476/1.133, allocations: 4.239 MB / 0.93 GB, free: 3.508 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01164/1.145, allocations: 7.058 MB / 0.9369 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.908e-05/1.145, allocations: 22.66 kB / 0.937 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.01809/1.163, allocations: 7.359 MB / 0.9441 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001847/1.163, allocations: 165.4 kB / 0.9443 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01148/1.175, allocations: 5.028 MB / 0.9492 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002895/1.175, allocations: 108 kB / 0.9493 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007137/1.182, allocations: 1.747 MB / 0.951 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002647/1.183, allocations: 151.5 kB / 0.9512 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006507/1.189, allocations: 0.8178 MB / 0.952 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001788/1.191, allocations: 463.7 kB / 0.9524 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00877/1.2, allocations: 2.928 MB / 0.9553 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007712/1.207, allocations: 4.188 MB / 0.9594 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01278/1.22, allocations: 6.97 MB / 0.9662 GB, free: 11.74 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.653e-05/1.22, allocations: 20 kB / 0.9662 GB, free: 11.72 MB / 0.7482 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.01899/1.239, allocations: 7.26 MB / 0.9733 GB, free: 4.434 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002359/1.24, allocations: 162.8 kB / 0.9734 GB, free: 4.25 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0119/1.251, allocations: 4.919 MB / 0.9782 GB, free: 15.31 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002433/1.252, allocations: 108 kB / 0.9783 GB, free: 15.2 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006938/1.259, allocations: 1.739 MB / 0.98 GB, free: 13.46 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002407/1.259, allocations: 148.1 kB / 0.9802 GB, free: 13.32 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006369/1.265, allocations: 0.6718 MB / 0.9808 GB, free: 12.64 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001642/1.267, allocations: 455.7 kB / 0.9813 GB, free: 12.2 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.003027/1.27, allocations: 0.7426 MB / 0.982 GB, free: 11.42 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002858/1.273, allocations: 0.613 MB / 0.9826 GB, free: 10.8 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.01346/1.286, allocations: 5.775 MB / 0.9882 GB, free: 5.172 MB / 0.7638 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.53340331200161] Failed to read output from testmodel.py, exit status != 0: 1.7602560089981125 1.773737823 0.830257542 Calling exit ...