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.01342/0.01342, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001494/0.001494, allocations: 99.84 kB / 24.18 MB, free: 2.438 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.001973/0.001973, allocations: 213.1 kB / 27.9 MB, free: 3.742 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.477/1.477, allocations: 230.6 MB / 262.1 MB, free: 5.84 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.068/1.068, allocations: 130.7 MB / 449.7 MB, free: 6.414 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.0664/0.0664, allocations: 20.99 MB / 0.6358 GB, free: 4.762 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.2524, allocations: 81.9 MB / 0.7158 GB, free: 2.754 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.5348/0.7872, allocations: 52.45 MB / 0.767 GB, free: 16.09 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03209/0.8193, allocations: 18.66 MB / 0.7853 GB, free: 3.07 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009726/0.829, allocations: 143.2 kB / 0.7854 GB, free: 3 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.007722/0.8367, allocations: 2.224 MB / 0.7876 GB, free: 1.957 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.012/0.8487, allocations: 3.361 MB / 0.7909 GB, free: 15.68 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01182/0.8605, allocations: 3.869 MB / 0.7946 GB, free: 12.84 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01682/0.8773, allocations: 8.656 MB / 0.8031 GB, free: 7.746 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006557/0.8839, allocations: 2.751 MB / 0.8058 GB, free: 5.707 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009117/0.893, allocations: 3.534 MB / 0.8092 GB, free: 2.914 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007897/0.9009, allocations: 3.482 MB / 0.8126 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002692/0.9036, allocations: 0.5573 MB / 0.8132 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00747/0.9111, allocations: 1.884 MB / 0.815 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003312/0.9144, allocations: 1.709 MB / 0.8167 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.006193/0.9206, allocations: 2.379 MB / 0.819 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01847/0.9391, allocations: 9.039 MB / 0.8278 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.9391, allocations: 0 / 0.8278 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9391, allocations: 2.688 kB / 0.8278 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002771/0.9393, allocations: 0 / 0.8278 GB, free: 15.8 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.01575/0.9551, allocations: 6.529 MB / 0.8342 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.9551, allocations: 8.031 kB / 0.8342 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009957/0.9561, allocations: 0.5633 MB / 0.8348 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002473/0.9586, allocations: 0.8074 MB / 0.8355 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009962/0.9686, allocations: 4.656 MB / 0.8401 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/0.9688, allocations: 255 kB / 0.8403 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005838/0.9694, allocations: 319.9 kB / 0.8406 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0172/0.9866, allocations: 8.529 MB / 0.849 GB, free: 8.691 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/0.9867, allocations: 47.56 kB / 0.849 GB, free: 8.645 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003701/0.9871, allocations: 168 kB / 0.8492 GB, free: 8.48 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/0.9872, allocations: 114.6 kB / 0.8493 GB, free: 8.371 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0152/1.002, allocations: 5.729 MB / 0.8549 GB, free: 2.625 MB / 0.6232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03734/1.04, allocations: 34.48 MB / 0.8886 GB, free: 14.94 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01262/1.052, allocations: 4.311 MB / 0.8928 GB, free: 10.42 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00317/1.056, allocations: 1.53 MB / 0.8943 GB, free: 8.812 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/1.057, allocations: 273.8 kB / 0.8945 GB, free: 8.555 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01123/1.068, allocations: 4.063 MB / 0.8985 GB, free: 4.285 MB / 0.67 GB Notification: Performance of pre-optimization done (n=619): time 7.524e-06/1.068, allocations: 0 / 0.8985 GB, free: 4.285 MB / 0.67 GB Notification: Performance of matching and sorting (n=619): time 0.02708/1.095, allocations: 8.999 MB / 0.9073 GB, free: 11.23 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006335/1.096, allocations: 1.173 MB / 0.9084 GB, free: 9.785 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00757/1.103, allocations: 4.744 MB / 0.9131 GB, free: 5.066 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.0007363/1.104, allocations: 73.7 kB / 0.9131 GB, free: 4.988 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.002154/1.106, allocations: 2.324 MB / 0.9154 GB, free: 2.652 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.002441/1.108, allocations: 2.087 MB / 0.9174 GB, free: 0.5469 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00218/1.111, allocations: 1.39 MB / 0.9188 GB, free: 15.14 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.111, allocations: 301.1 kB / 0.9191 GB, free: 14.85 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004143/1.115, allocations: 2.176 MB / 0.9212 GB, free: 12.63 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006211/1.121, allocations: 4.566 MB / 0.9257 GB, free: 6.988 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/1.132, allocations: 7.09 MB / 0.9326 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-05/1.132, allocations: 20 kB / 0.9326 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.01525/1.147, allocations: 7.519 MB / 0.9399 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001585/1.148, allocations: 164.7 kB / 0.9401 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009923/1.158, allocations: 5.191 MB / 0.9452 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001594/1.158, allocations: 108 kB / 0.9453 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006192/1.164, allocations: 1.743 MB / 0.947 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002203/1.164, allocations: 155.5 kB / 0.9471 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006483/1.171, allocations: 0.8212 MB / 0.9479 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001152/1.172, allocations: 467.7 kB / 0.9484 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006993/1.179, allocations: 3.044 MB / 0.9513 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006443/1.185, allocations: 4.512 MB / 0.9558 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01109/1.196, allocations: 6.987 MB / 0.9626 GB, free: 14.16 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.389e-05/1.196, allocations: 27.69 kB / 0.9626 GB, free: 14.13 MB / 0.7482 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.01493/1.211, allocations: 7.405 MB / 0.9698 GB, free: 6.711 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001491/1.211, allocations: 162.8 kB / 0.97 GB, free: 6.527 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009516/1.221, allocations: 5.082 MB / 0.975 GB, free: 1.398 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001292/1.221, allocations: 108 kB / 0.9751 GB, free: 1.293 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005962/1.227, allocations: 1.739 MB / 0.9768 GB, free: 15.55 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001595/1.227, allocations: 151.5 kB / 0.9769 GB, free: 15.4 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005091/1.232, allocations: 0.6743 MB / 0.9776 GB, free: 14.73 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008547/1.233, allocations: 451.7 kB / 0.978 GB, free: 14.29 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.001862/1.235, allocations: 0.7492 MB / 0.9787 GB, free: 13.52 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001643/1.237, allocations: 0.6181 MB / 0.9793 GB, free: 12.9 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.01085/1.247, allocations: 5.851 MB / 0.985 GB, free: 7.426 MB / 0.7638 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.468092490453273] Failed to read output from testmodel.py, exit status != 0: 1.7364476872608066 1.749731755 0.807970999 Calling exit ...