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 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.01023/0.01023, allocations: 1.354 MB / 20.45 MB, free: 4.102 MB / 18.57 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.08371/0.08371, allocations: 18.24 MB / 42.2 MB, free: 5.195 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.0008889/0.0008889, allocations: 92.81 kB / 53.07 MB, free: 6.508 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.001041/0.001041, allocations: 165.5 kB / 64.04 MB, free: 10.2 MB / 58.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 0.9421/0.9421, allocations: 177.2 MB / 252.1 MB, free: 11.77 MB / 218.7 MB " [Timeout remaining time 179] 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 0.4947/0.4947, allocations: 102.5 MB / 418.6 MB, free: 5.191 MB / 362.7 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 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_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_ClaRa_Components_VolumesValvesFittings_Valves_Check_Test_EN60534_compressible",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 0.6029 GB, free: 284 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.326e-05, allocations: 7.812 kB / 0.6029 GB, free: 276 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_compressible): time 0.01354/0.01356, allocations: 19.42 MB / 0.6219 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02253/0.03608, allocations: 18.43 MB / 0.6399 GB, free: 10.27 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003555/0.03964, allocations: 134.9 kB / 0.64 GB, free: 10.14 MB / 0.5262 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.00383/0.04347, allocations: 2.233 MB / 0.6422 GB, free: 7.895 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.006189/0.04966, allocations: 3.452 MB / 0.6456 GB, free: 4.422 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005778/0.05544, allocations: 3.933 MB / 0.6494 GB, free: 0.4961 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.008119/0.06356, allocations: 8.883 MB / 0.6581 GB, free: 7.586 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003477/0.06703, allocations: 2.808 MB / 0.6608 GB, free: 4.719 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2462/0.3132, allocations: 4.796 MB / 0.6655 GB, free: 22.62 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004738/0.3179, allocations: 3.013 MB / 0.6685 GB, free: 22.62 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001679/0.3196, allocations: 0.5577 MB / 0.669 GB, free: 22.62 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003703/0.3233, allocations: 1.904 MB / 0.6709 GB, free: 22.62 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.3245, allocations: 1.721 MB / 0.6725 GB, free: 22.62 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.001677/0.3262, allocations: 1.92 MB / 0.6744 GB, free: 22.62 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.007703/0.3339, allocations: 8.944 MB / 0.6832 GB, free: 22.11 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3339, allocations: 0 / 0.6832 GB, free: 22.11 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.574e-06/0.3339, allocations: 0 / 0.6832 GB, free: 22.11 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001203/0.334, allocations: 0.8438 kB / 0.6832 GB, free: 22.11 MB / 0.5418 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.006632/0.3406, allocations: 6.467 MB / 0.6895 GB, free: 19.13 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.3407, allocations: 9.594 kB / 0.6895 GB, free: 19.13 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006075/0.3413, allocations: 0.558 MB / 0.69 GB, free: 19.06 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.343, allocations: 0.8127 MB / 0.6908 GB, free: 18.68 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005692/0.3487, allocations: 4.636 MB / 0.6953 GB, free: 17.67 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.3488, allocations: 253.3 kB / 0.6956 GB, free: 17.66 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003211/0.3491, allocations: 327.3 kB / 0.6959 GB, free: 17.66 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009666/0.3588, allocations: 8.522 MB / 0.7042 GB, free: 13.11 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.199e-05/0.3589, allocations: 49.41 kB / 0.7043 GB, free: 13.11 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002725/0.3592, allocations: 169.4 kB / 0.7044 GB, free: 13 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.204e-05/0.3592, allocations: 114.6 kB / 0.7045 GB, free: 13 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008703/0.3679, allocations: 5.731 MB / 0.7101 GB, free: 11.38 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01808/0.386, allocations: 34.35 MB / 0.7437 GB, free: 11.83 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006923/0.3929, allocations: 4.301 MB / 0.7479 GB, free: 9.398 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.3946, allocations: 1.532 MB / 0.7494 GB, free: 8.414 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005539/0.3952, allocations: 276 kB / 0.7496 GB, free: 8.316 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00621/0.4014, allocations: 4.06 MB / 0.7536 GB, free: 5.816 MB / 0.573 GB Notification: Performance of pre-optimization done (n=619): time 5.631e-06/0.4014, allocations: 4 kB / 0.7536 GB, free: 5.812 MB / 0.573 GB Notification: Performance of matching and sorting (n=619): time 0.01574/0.4171, allocations: 9.004 MB / 0.7624 GB, free: 192 kB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005602/0.4177, allocations: 1.175 MB / 0.7636 GB, free: 14.75 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004613/0.4223, allocations: 4.745 MB / 0.7682 GB, free: 10.03 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002203/0.4225, allocations: 77.7 kB / 0.7683 GB, free: 9.949 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.00146/0.424, allocations: 2.302 MB / 0.7705 GB, free: 7.652 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001152/0.4251, allocations: 2.06 MB / 0.7725 GB, free: 5.629 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/0.4265, allocations: 1.375 MB / 0.7739 GB, free: 4.246 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 6.466e-05/0.4266, allocations: 305.1 kB / 0.7742 GB, free: 3.945 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002652/0.4292, allocations: 2.177 MB / 0.7763 GB, free: 1.73 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003989/0.4332, allocations: 4.559 MB / 0.7807 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00682/0.44, allocations: 7.082 MB / 0.7876 GB, free: 4.316 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.237e-05/0.4401, allocations: 20 kB / 0.7877 GB, free: 4.297 MB / 0.6043 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.01027/0.4503, allocations: 7.518 MB / 0.795 GB, free: 13.13 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.4504, allocations: 166.5 kB / 0.7952 GB, free: 12.95 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00635/0.4568, allocations: 5.192 MB / 0.8002 GB, free: 7.746 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.993e-05/0.4569, allocations: 108.1 kB / 0.8003 GB, free: 7.641 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003161/0.46, allocations: 1.746 MB / 0.802 GB, free: 6.004 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.215e-05/0.4601, allocations: 154.7 kB / 0.8022 GB, free: 5.883 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/0.4632, allocations: 0.8186 MB / 0.803 GB, free: 5.059 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004804/0.4637, allocations: 466.1 kB / 0.8034 GB, free: 4.605 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00476/0.4684, allocations: 3.048 MB / 0.8064 GB, free: 1.523 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003957/0.4724, allocations: 4.515 MB / 0.8108 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006844/0.4792, allocations: 6.983 MB / 0.8176 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.028e-05/0.4792, allocations: 20 kB / 0.8177 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.009744/0.489, allocations: 7.412 MB / 0.8249 GB, free: 13.19 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 8.862e-05/0.4891, allocations: 170.7 kB / 0.8251 GB, free: 13 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005836/0.4949, allocations: 5.087 MB / 0.83 GB, free: 7.902 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-05/0.495, allocations: 112 kB / 0.8301 GB, free: 7.793 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003315/0.4983, allocations: 1.734 MB / 0.8318 GB, free: 6.062 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.922e-05/0.4984, allocations: 151.5 kB / 0.832 GB, free: 5.914 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003469/0.5018, allocations: 0.6607 MB / 0.8326 GB, free: 5.25 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004687/0.5023, allocations: 455.7 kB / 0.8331 GB, free: 4.805 MB / 0.6512 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.001518/0.5038, allocations: 0.7456 MB / 0.8338 GB, free: 4.027 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/0.5048, allocations: 0.6091 MB / 0.8344 GB, free: 3.414 MB / 0.6512 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.00684/0.5117, allocations: 5.844 MB / 0.8401 GB, free: 13.73 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3588091051205993]