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.005927/0.005927, allocations: 1.358 MB / 20.45 MB, free: 4.098 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.07935/0.07935, allocations: 18.25 MB / 42.2 MB, free: 5.176 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.0008868/0.0008868, allocations: 83.08 kB / 53.06 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.001054/0.001054, allocations: 157.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.8857/0.8857, 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-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.5203/0.5203, allocations: 102.6 MB / 418.7 MB, free: 5.305 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-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: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.603 GB, free: 352 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.226e-05, allocations: 2.281 kB / 0.603 GB, free: 348 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_compressible): time 0.01786/0.01788, allocations: 19.42 MB / 0.622 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02691/0.04479, allocations: 18.43 MB / 0.64 GB, free: 10.34 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006412/0.0512, allocations: 134.9 kB / 0.6401 GB, free: 10.21 MB / 0.5262 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.00587/0.05707, allocations: 2.236 MB / 0.6423 GB, free: 7.961 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.00883/0.0659, allocations: 3.452 MB / 0.6457 GB, free: 4.488 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008333/0.07423, allocations: 3.93 MB / 0.6495 GB, free: 0.5664 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01136/0.08559, allocations: 8.886 MB / 0.6582 GB, free: 7.652 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004838/0.09043, allocations: 2.8 MB / 0.6609 GB, free: 4.793 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2839/0.3744, allocations: 4.799 MB / 0.6656 GB, free: 23.15 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005576/0.3799, allocations: 3.01 MB / 0.6685 GB, free: 23.15 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002581/0.3825, allocations: 0.5545 MB / 0.6691 GB, free: 23.15 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006214/0.3887, allocations: 1.905 MB / 0.6709 GB, free: 23.15 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.003364/0.3921, allocations: 1.723 MB / 0.6726 GB, free: 23.15 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.005246/0.3973, allocations: 1.918 MB / 0.6745 GB, free: 23.15 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01331/0.4106, allocations: 8.947 MB / 0.6832 GB, free: 22.64 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.4107, allocations: 0.5625 kB / 0.6832 GB, free: 22.64 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4107, allocations: 0 / 0.6832 GB, free: 22.64 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0003651/0.411, allocations: 0.75 kB / 0.6832 GB, free: 22.64 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.01622/0.4272, allocations: 6.465 MB / 0.6896 GB, free: 19.66 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.4273, allocations: 10 kB / 0.6896 GB, free: 19.66 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001735/0.429, allocations: 0.5571 MB / 0.6901 GB, free: 19.59 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002763/0.4318, allocations: 0.8172 MB / 0.6909 GB, free: 19.21 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009646/0.4414, allocations: 4.643 MB / 0.6954 GB, free: 18.19 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003363/0.4418, allocations: 251.6 kB / 0.6957 GB, free: 18.18 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001046/0.4428, allocations: 326 kB / 0.696 GB, free: 18.18 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01399/0.4568, allocations: 8.518 MB / 0.7043 GB, free: 13.3 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001766/0.457, allocations: 48.81 kB / 0.7044 GB, free: 13.3 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004195/0.4574, allocations: 173.5 kB / 0.7045 GB, free: 13.19 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.4575, allocations: 114.5 kB / 0.7046 GB, free: 13.19 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.4686, allocations: 5.727 MB / 0.7102 GB, free: 11.57 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0269/0.4955, allocations: 34.36 MB / 0.7438 GB, free: 12.02 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008445/0.5039, allocations: 4.309 MB / 0.748 GB, free: 9.586 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002898/0.5068, allocations: 1.531 MB / 0.7495 GB, free: 8.598 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007703/0.5076, allocations: 277.2 kB / 0.7497 GB, free: 8.496 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008539/0.5161, allocations: 4.055 MB / 0.7537 GB, free: 6 MB / 0.573 GB Notification: Performance of pre-optimization done (n=619): time 1.283e-05/0.5161, allocations: 0 / 0.7537 GB, free: 6 MB / 0.573 GB Notification: Performance of matching and sorting (n=619): time 0.01879/0.5349, allocations: 9.01 MB / 0.7625 GB, free: 412 kB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003679/0.5353, allocations: 1.172 MB / 0.7636 GB, free: 14.97 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007025/0.5423, allocations: 4.753 MB / 0.7683 GB, free: 10.24 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.00107/0.5434, allocations: 70.55 kB / 0.7684 GB, free: 10.17 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001567/0.545, allocations: 2.309 MB / 0.7706 GB, free: 7.867 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.002664/0.5476, allocations: 2.055 MB / 0.7726 GB, free: 5.848 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002237/0.5499, allocations: 1.376 MB / 0.774 GB, free: 4.461 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 7.427e-05/0.5499, allocations: 305.1 kB / 0.7742 GB, free: 4.16 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003167/0.5531, allocations: 2.179 MB / 0.7764 GB, free: 1.945 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005227/0.5583, allocations: 4.558 MB / 0.7808 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/0.5689, allocations: 7.08 MB / 0.7877 GB, free: 4.531 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.094e-05/0.569, allocations: 20 kB / 0.7878 GB, free: 4.512 MB / 0.6043 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.01759/0.5866, allocations: 7.521 MB / 0.7951 GB, free: 13.35 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001568/0.5867, allocations: 166.7 kB / 0.7953 GB, free: 13.16 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01063/0.5974, allocations: 5.19 MB / 0.8003 GB, free: 7.965 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001839/0.5976, allocations: 112 kB / 0.8004 GB, free: 7.855 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005376/0.6029, allocations: 1.743 MB / 0.8021 GB, free: 6.223 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001621/0.6031, allocations: 155.1 kB / 0.8023 GB, free: 6.102 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005086/0.6082, allocations: 0.8213 MB / 0.8031 GB, free: 5.277 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/0.6095, allocations: 467.7 kB / 0.8035 GB, free: 4.82 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007257/0.6167, allocations: 3.049 MB / 0.8065 GB, free: 1.738 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005555/0.6223, allocations: 4.518 MB / 0.8109 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008605/0.6309, allocations: 6.981 MB / 0.8177 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.94e-05/0.6309, allocations: 20 kB / 0.8178 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.01284/0.6438, allocations: 7.412 MB / 0.825 GB, free: 13.4 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.6439, allocations: 166.8 kB / 0.8252 GB, free: 13.21 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007744/0.6516, allocations: 5.093 MB / 0.8301 GB, free: 8.117 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001315/0.6518, allocations: 108 kB / 0.8302 GB, free: 8.012 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003984/0.6557, allocations: 1.733 MB / 0.8319 GB, free: 6.316 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001243/0.6559, allocations: 155.4 kB / 0.8321 GB, free: 6.164 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004428/0.6603, allocations: 0.6645 MB / 0.8327 GB, free: 5.496 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/0.6614, allocations: 451.7 kB / 0.8332 GB, free: 5.055 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.001715/0.6631, allocations: 0.7428 MB / 0.8339 GB, free: 4.277 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001743/0.6648, allocations: 0.6135 MB / 0.8345 GB, free: 3.66 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.007908/0.6727, allocations: 5.84 MB / 0.8402 GB, free: 13.84 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.506812097504735]