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.01072/0.01072, 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.00137/0.00137, allocations: 105.3 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.001839/0.001839, allocations: 212.5 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.48/1.48, allocations: 230.6 MB / 262.1 MB, free: 5.832 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.091/1.091, allocations: 130.7 MB / 449.6 MB, free: 6.426 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.0669/0.0669, allocations: 20.99 MB / 0.6358 GB, free: 4.734 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.2394, allocations: 81.92 MB / 0.7158 GB, free: 2.711 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.502/0.7414, allocations: 52.44 MB / 0.767 GB, free: 16.09 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03144/0.7729, allocations: 18.65 MB / 0.7853 GB, free: 3.062 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007068/0.78, allocations: 136.3 kB / 0.7854 GB, free: 2.996 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.006807/0.7868, allocations: 2.221 MB / 0.7876 GB, free: 1.957 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.01185/0.7986, allocations: 3.366 MB / 0.7909 GB, free: 15.68 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01208/0.8107, allocations: 3.874 MB / 0.7946 GB, free: 12.85 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01642/0.8271, allocations: 8.651 MB / 0.8031 GB, free: 7.75 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006361/0.8335, allocations: 2.738 MB / 0.8058 GB, free: 5.723 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008679/0.8422, allocations: 3.546 MB / 0.8092 GB, free: 2.891 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008431/0.8506, allocations: 3.476 MB / 0.8126 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002866/0.8534, allocations: 0.5573 MB / 0.8132 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007258/0.8607, allocations: 1.892 MB / 0.815 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003338/0.864, allocations: 1.697 MB / 0.8167 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.006167/0.8702, allocations: 2.383 MB / 0.819 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01725/0.8875, allocations: 9.043 MB / 0.8278 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.8875, allocations: 1.5 kB / 0.8278 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.475e-06/0.8875, allocations: 2.688 kB / 0.8278 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003624/0.8878, allocations: 0 / 0.8278 GB, free: 15.77 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.01728/0.9051, allocations: 6.525 MB / 0.8342 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.9052, allocations: 8.031 kB / 0.8342 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001603/0.9068, allocations: 0.5633 MB / 0.8348 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00318/0.9099, allocations: 0.8074 MB / 0.8355 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/0.9211, allocations: 4.66 MB / 0.8401 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003607/0.9214, allocations: 251.7 kB / 0.8403 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001084/0.9225, allocations: 327.9 kB / 0.8406 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02136/0.9439, allocations: 8.525 MB / 0.849 GB, free: 8.668 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001835/0.9441, allocations: 47.56 kB / 0.849 GB, free: 8.621 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001049/0.9451, allocations: 168 kB / 0.8492 GB, free: 8.457 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001852/0.9453, allocations: 114.7 kB / 0.8493 GB, free: 8.348 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01689/0.9622, allocations: 5.736 MB / 0.8549 GB, free: 2.598 MB / 0.6232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0368/0.999, allocations: 34.47 MB / 0.8885 GB, free: 14.93 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/1.012, allocations: 4.313 MB / 0.8928 GB, free: 10.41 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003426/1.015, allocations: 1.53 MB / 0.8943 GB, free: 8.797 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/1.016, allocations: 271.2 kB / 0.8945 GB, free: 8.539 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0118/1.028, allocations: 4.066 MB / 0.8985 GB, free: 4.266 MB / 0.67 GB Notification: Performance of pre-optimization done (n=619): time 1.125e-05/1.028, allocations: 0 / 0.8985 GB, free: 4.266 MB / 0.67 GB Notification: Performance of matching and sorting (n=619): time 0.02759/1.055, allocations: 8.998 MB / 0.9073 GB, free: 11.21 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006633/1.056, allocations: 1.177 MB / 0.9084 GB, free: 9.762 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008445/1.065, allocations: 4.744 MB / 0.9131 GB, free: 5.043 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.001158/1.066, allocations: 69.7 kB / 0.9131 GB, free: 4.969 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.002491/1.068, allocations: 2.324 MB / 0.9154 GB, free: 2.633 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.003279/1.071, allocations: 2.079 MB / 0.9174 GB, free: 0.5352 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002844/1.074, allocations: 1.394 MB / 0.9188 GB, free: 15.13 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.074, allocations: 305.1 kB / 0.9191 GB, free: 14.83 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004461/1.079, allocations: 2.179 MB / 0.9212 GB, free: 12.62 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007034/1.086, allocations: 4.566 MB / 0.9257 GB, free: 6.973 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01231/1.098, allocations: 7.078 MB / 0.9326 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.401e-05/1.098, allocations: 20 kB / 0.9326 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.01959/1.118, allocations: 7.518 MB / 0.9399 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001723/1.118, allocations: 162.8 kB / 0.9401 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01088/1.129, allocations: 5.194 MB / 0.9452 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002023/1.129, allocations: 108 kB / 0.9453 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006261/1.135, allocations: 1.746 MB / 0.947 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001876/1.136, allocations: 159.4 kB / 0.9471 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006076/1.142, allocations: 0.8197 MB / 0.9479 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/1.143, allocations: 463.7 kB / 0.9484 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007198/1.15, allocations: 3.048 MB / 0.9513 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006325/1.156, allocations: 4.518 MB / 0.9558 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01114/1.168, allocations: 6.976 MB / 0.9626 GB, free: 14.15 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.973e-05/1.168, allocations: 20 kB / 0.9626 GB, free: 14.13 MB / 0.7482 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.01651/1.184, allocations: 7.424 MB / 0.9698 GB, free: 6.688 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002015/1.184, allocations: 168.5 kB / 0.97 GB, free: 6.5 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0105/1.195, allocations: 5.084 MB / 0.975 GB, free: 1.371 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/1.195, allocations: 108 kB / 0.9751 GB, free: 1.266 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006187/1.201, allocations: 1.738 MB / 0.9768 GB, free: 15.52 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002309/1.201, allocations: 155.4 kB / 0.9769 GB, free: 15.37 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005392/1.207, allocations: 0.6639 MB / 0.9776 GB, free: 14.71 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/1.208, allocations: 451.7 kB / 0.978 GB, free: 14.27 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.00232/1.21, allocations: 0.7478 MB / 0.9787 GB, free: 13.5 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002268/1.213, allocations: 0.6052 MB / 0.9793 GB, free: 12.89 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.01208/1.225, allocations: 5.858 MB / 0.985 GB, free: 7.41 MB / 0.7638 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.537328897044063] Failed to read output from testmodel.py, exit status != 0: 1.7191343982703984 1.733198241 0.842832392 Calling exit ...