Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_compressible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.01373/0.01373, allocations: 1.761 MB / 20.61 MB, free: 3.863 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.08791/0.08791, allocations: 25.61 MB / 49.71 MB, free: 2.926 MB / 33.03 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.001023/0.001023, allocations: 114.1 kB / 60.65 MB, free: 3.023 MB / 44.04 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.001249/0.001249, allocations: 223.5 kB / 71.73 MB, free: 6.484 MB / 44.04 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 0.9938/0.9938, allocations: 230.6 MB / 313.3 MB, free: 11.8 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.7878/0.7878, allocations: 130.8 MB / 0.4964 GB, free: 2.395 MB / 362.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_compressible,fileNamePrefix="ClaRa_dev_ClaRa_Components_VolumesValvesFittings_Valves_Check_Test_EN60534_compressible",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_compressible,fileNamePrefix="ClaRa_dev_ClaRa_Components_VolumesValvesFittings_Valves_Check_Test_EN60534_compressible",fmuType="me_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: 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: 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: Performance of FrontEnd - loaded program: time 0.003509/0.003509, allocations: 152.3 kB / 0.6901 GB, free: 46.73 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1513, allocations: 89.28 MB / 0.7773 GB, free: 3.117 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_compressible): time 0.01404/0.1653, allocations: 19.44 MB / 0.7963 GB, free: 15.59 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02413/0.1895, allocations: 18.66 MB / 0.8145 GB, free: 12.87 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003978/0.1935, allocations: 142.9 kB / 0.8147 GB, free: 12.73 MB / 0.5887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/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.004082/0.1975, allocations: 2.206 MB / 0.8168 GB, free: 10.51 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.00672/0.2043, allocations: 3.373 MB / 0.8201 GB, free: 7.117 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006305/0.2106, allocations: 3.884 MB / 0.8239 GB, free: 3.246 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.008188/0.2187, allocations: 8.636 MB / 0.8323 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002524/0.2213, allocations: 2.742 MB / 0.835 GB, free: 7.781 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003015/0.2243, allocations: 3.538 MB / 0.8385 GB, free: 4.23 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002901/0.2272, allocations: 3.484 MB / 0.8419 GB, free: 0.7305 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.0006447/0.2278, allocations: 0.5508 MB / 0.8424 GB, free: 184 kB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002814/0.2306, allocations: 1.892 MB / 0.8443 GB, free: 14.28 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.0009903/0.2316, allocations: 1.697 MB / 0.8459 GB, free: 12.58 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.001784/0.2334, allocations: 2.386 MB / 0.8483 GB, free: 10.18 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.00641/0.2398, allocations: 9.04 MB / 0.8571 GB, free: 1.109 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2398, allocations: 0 / 0.8571 GB, free: 1.109 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2398, allocations: 0 / 0.8571 GB, free: 1.109 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 7.509e-05/0.2399, allocations: 0 / 0.8571 GB, free: 1.109 MB / 0.6199 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.006007/0.2459, allocations: 6.53 MB / 0.8635 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.246, allocations: 8.031 kB / 0.8635 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004471/0.2464, allocations: 0.5633 MB / 0.864 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.2476, allocations: 0.8125 MB / 0.8648 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004922/0.2525, allocations: 4.647 MB / 0.8693 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.2527, allocations: 255 kB / 0.8696 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002836/0.2529, allocations: 319.9 kB / 0.8699 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009556/0.2625, allocations: 8.524 MB / 0.8782 GB, free: 9.957 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-05/0.2626, allocations: 47.56 kB / 0.8783 GB, free: 9.91 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000231/0.2628, allocations: 179.9 kB / 0.8784 GB, free: 9.734 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-05/0.2629, allocations: 112 kB / 0.8785 GB, free: 9.625 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008708/0.2716, allocations: 5.737 MB / 0.8841 GB, free: 3.855 MB / 0.6512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3443/0.6159, allocations: 34.46 MB / 0.9178 GB, free: 88.31 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008935/0.6248, allocations: 4.308 MB / 0.922 GB, free: 87.09 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002381/0.6272, allocations: 1.528 MB / 0.9235 GB, free: 86.23 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006521/0.6278, allocations: 278.6 kB / 0.9238 GB, free: 86.2 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007323/0.6352, allocations: 4.056 MB / 0.9277 GB, free: 84.57 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=619): time 7.915e-06/0.6352, allocations: 0.875 kB / 0.9277 GB, free: 84.57 MB / 0.6668 GB Notification: Performance of matching and sorting (n=619): time 0.01745/0.6526, allocations: 9.015 MB / 0.9365 GB, free: 81.86 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002585/0.6529, allocations: 1.175 MB / 0.9377 GB, free: 80.46 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005617/0.6585, allocations: 4.741 MB / 0.9423 GB, free: 78.58 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.000589/0.6591, allocations: 77.05 kB / 0.9424 GB, free: 78.52 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.6601, allocations: 2.329 MB / 0.9447 GB, free: 76.61 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.001165/0.6613, allocations: 2.083 MB / 0.9467 GB, free: 74.79 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001263/0.6625, allocations: 1.391 MB / 0.948 GB, free: 74 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 3.229e-05/0.6626, allocations: 301.1 kB / 0.9483 GB, free: 73.7 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002466/0.665, allocations: 2.179 MB / 0.9505 GB, free: 72.46 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003083/0.6681, allocations: 4.565 MB / 0.9549 GB, free: 68.12 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005814/0.6739, allocations: 7.072 MB / 0.9618 GB, free: 61.02 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.311e-05/0.674, allocations: 26.89 kB / 0.9618 GB, free: 60.99 MB / 0.6668 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.008286/0.6823, allocations: 7.518 MB / 0.9692 GB, free: 53.42 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-05/0.6823, allocations: 166.8 kB / 0.9693 GB, free: 53.23 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005357/0.6877, allocations: 5.189 MB / 0.9744 GB, free: 47.99 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.728e-05/0.6878, allocations: 108 kB / 0.9745 GB, free: 47.89 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/0.6906, allocations: 1.747 MB / 0.9762 GB, free: 46.14 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.47e-05/0.6907, allocations: 151.5 kB / 0.9764 GB, free: 45.99 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/0.6937, allocations: 0.8264 MB / 0.9772 GB, free: 45.16 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004428/0.6941, allocations: 459.7 kB / 0.9776 GB, free: 44.71 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004089/0.6982, allocations: 3.053 MB / 0.9806 GB, free: 41.62 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003033/0.7012, allocations: 4.515 MB / 0.985 GB, free: 36.03 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005731/0.707, allocations: 6.992 MB / 0.9918 GB, free: 28.02 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.262e-05/0.707, allocations: 20 kB / 0.9919 GB, free: 28 MB / 0.6668 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.008761/0.7158, allocations: 7.407 MB / 0.9991 GB, free: 20.52 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 7.172e-05/0.7158, allocations: 166.8 kB / 0.9992 GB, free: 20.34 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005242/0.7211, allocations: 5.089 MB / 1.004 GB, free: 15.2 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.09e-05/0.7211, allocations: 108 kB / 1.004 GB, free: 15.09 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002761/0.7239, allocations: 1.731 MB / 1.006 GB, free: 13.36 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.703e-05/0.7239, allocations: 151.5 kB / 1.006 GB, free: 13.21 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/0.7269, allocations: 0.6665 MB / 1.007 GB, free: 12.54 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003858/0.7273, allocations: 462.5 kB / 1.007 GB, free: 12.09 MB / 0.6668 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.001425/0.7287, allocations: 0.7387 MB / 1.008 GB, free: 11.32 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007861/0.7295, allocations: 0.6091 MB / 1.009 GB, free: 10.71 MB / 0.6668 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 1.9.0-ClaRa/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.005436/0.735, allocations: 5.859 MB / 1.014 GB, free: 4.812 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.847124582156539]