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.01052/0.01052, allocations: 1.77 MB / 18.12 MB, free: 4.906 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.001193/0.001193, allocations: 103.7 kB / 21.36 MB, free: 1.684 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.001474/0.001474, allocations: 213.7 kB / 24.75 MB, free: 3.691 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.546/1.546, allocations: 230.6 MB / 258.5 MB, free: 13.11 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.134/1.134, allocations: 130.6 MB / 445.6 MB, free: 14.68 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: 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.426/0.426, allocations: 46.14 MB / 0.6545 GB, free: 30.38 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.6073, allocations: 89.06 MB / 0.7415 GB, free: 2.676 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_compressible): time 0.02519/0.6324, allocations: 22.51 MB / 0.7634 GB, free: 12.08 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.03431/0.6667, allocations: 19.27 MB / 0.7822 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006573/0.6733, allocations: 138.9 kB / 0.7824 GB, free: 8.613 MB / 0.5919 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.006883/0.6802, allocations: 2.268 MB / 0.7846 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01137/0.6916, allocations: 3.303 MB / 0.7878 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0108/0.7024, allocations: 3.8 MB / 0.7915 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01649/0.7189, allocations: 8.665 MB / 0.8 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005401/0.7243, allocations: 2.625 MB / 0.8026 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007315/0.7316, allocations: 3.534 MB / 0.806 GB, free: 300 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00711/0.7387, allocations: 3.703 MB / 0.8096 GB, free: 12.57 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.001996/0.7407, allocations: 0.5547 MB / 0.8102 GB, free: 12.02 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006153/0.7468, allocations: 2.247 MB / 0.8124 GB, free: 9.77 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.002819/0.7497, allocations: 1.701 MB / 0.814 GB, free: 8.062 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.005461/0.7551, allocations: 3.081 MB / 0.817 GB, free: 4.965 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.01472/0.7698, allocations: 9.074 MB / 0.8259 GB, free: 11.86 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7698, allocations: 0 / 0.8259 GB, free: 11.86 MB / 0.6388 GB Notification: Performance of FrontEnd: time 3.637e-06/0.7698, allocations: 4 kB / 0.8259 GB, free: 11.85 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0002577/0.7701, allocations: 0 / 0.8259 GB, free: 11.85 MB / 0.6388 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.01295/0.7831, allocations: 6.612 MB / 0.8324 GB, free: 5.125 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.7831, allocations: 8.031 kB / 0.8324 GB, free: 5.117 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008048/0.7839, allocations: 0.5594 MB / 0.8329 GB, free: 4.547 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002441/0.7863, allocations: 0.8125 MB / 0.8337 GB, free: 3.73 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009542/0.7959, allocations: 4.855 MB / 0.8384 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002325/0.7961, allocations: 261.9 kB / 0.8387 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00055/0.7967, allocations: 320 kB / 0.839 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01787/0.8145, allocations: 7.593 MB / 0.8464 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.973e-05/0.8146, allocations: 47.56 kB / 0.8465 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000424/0.8151, allocations: 168 kB / 0.8466 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.8152, allocations: 120 kB / 0.8467 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01584/0.831, allocations: 5.64 MB / 0.8522 GB, free: 15.57 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3991/1.23, allocations: 36.19 MB / 0.8876 GB, free: 84.8 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/1.242, allocations: 4.202 MB / 0.8917 GB, free: 84.29 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0029/1.245, allocations: 1.408 MB / 0.8931 GB, free: 83.78 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/1.246, allocations: 371.5 kB / 0.8934 GB, free: 83.66 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01117/1.257, allocations: 3.933 MB / 0.8973 GB, free: 82.16 MB / 0.67 GB Notification: Performance of pre-optimization done (n=619): time 8.636e-06/1.257, allocations: 0 / 0.8973 GB, free: 82.16 MB / 0.67 GB Notification: Performance of matching and sorting (n=619): time 0.02666/1.284, allocations: 8.751 MB / 0.9058 GB, free: 79.72 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003409/1.284, allocations: 1.176 MB / 0.9069 GB, free: 78.34 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009023/1.293, allocations: 4.636 MB / 0.9115 GB, free: 76.67 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001193/1.294, allocations: 75.64 kB / 0.9115 GB, free: 76.61 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001772/1.296, allocations: 2.318 MB / 0.9138 GB, free: 74.75 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002834/1.299, allocations: 2.084 MB / 0.9158 GB, free: 73.19 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002828/1.302, allocations: 1.397 MB / 0.9172 GB, free: 72.4 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.723e-05/1.302, allocations: 309 kB / 0.9175 GB, free: 72.09 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004165/1.306, allocations: 2.051 MB / 0.9195 GB, free: 70.99 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005898/1.312, allocations: 4.233 MB / 0.9236 GB, free: 67.04 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01054/1.322, allocations: 7.063 MB / 0.9305 GB, free: 61.77 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-05/1.323, allocations: 20.09 kB / 0.9306 GB, free: 61.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.017/1.34, allocations: 7.358 MB / 0.9377 GB, free: 58.45 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/1.34, allocations: 167.4 kB / 0.9379 GB, free: 58.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008966/1.349, allocations: 5.024 MB / 0.9428 GB, free: 55.95 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/1.349, allocations: 110.1 kB / 0.9429 GB, free: 55.95 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00596/1.355, allocations: 1.746 MB / 0.9446 GB, free: 55.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001988/1.355, allocations: 154.6 kB / 0.9448 GB, free: 55.58 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006127/1.361, allocations: 0.8283 MB / 0.9456 GB, free: 55.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/1.363, allocations: 458.6 kB / 0.946 GB, free: 55.07 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007741/1.37, allocations: 2.931 MB / 0.9489 GB, free: 53.44 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006186/1.376, allocations: 4.18 MB / 0.953 GB, free: 49.51 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01024/1.387, allocations: 6.973 MB / 0.9598 GB, free: 42.19 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001079/1.387, allocations: 20 kB / 0.9598 GB, free: 42.17 MB / 0.67 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.01692/1.404, allocations: 7.261 MB / 0.9669 GB, free: 34.98 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001629/1.404, allocations: 162.8 kB / 0.967 GB, free: 34.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009777/1.414, allocations: 4.924 MB / 0.9718 GB, free: 29.86 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001975/1.414, allocations: 110.7 kB / 0.9719 GB, free: 29.75 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005727/1.42, allocations: 1.731 MB / 0.9736 GB, free: 28.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001929/1.42, allocations: 151.5 kB / 0.9738 GB, free: 27.87 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006113/1.426, allocations: 0.6626 MB / 0.9744 GB, free: 27.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001411/1.427, allocations: 459.5 kB / 0.9749 GB, free: 26.89 MB / 0.67 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.002894/1.43, allocations: 0.7422 MB / 0.9756 GB, free: 26.17 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002642/1.433, allocations: 0.613 MB / 0.9762 GB, free: 25.55 MB / 0.67 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.01145/1.444, allocations: 5.779 MB / 0.9818 GB, free: 20.21 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.196456064004451] Failed to read output from testmodel.py, exit status != 0: 1.4523432569985744 1.462337027 0.690080256 Calling exit ...