Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign.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.01195/0.01195, allocations: 2.332 MB / 21.18 MB, free: 3.535 MB / 13.93 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.0008798/0.0008798, allocations: 125.8 kB / 24.89 MB, free: 236 kB / 13.93 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.001606/0.001606, allocations: 219.7 kB / 28.73 MB, free: 1.039 MB / 18.57 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.9528/0.9528, allocations: 230.6 MB / 263 MB, free: 6.82 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7433/0.7433, allocations: 130.7 MB / 450.7 MB, free: 9.898 MB / 346.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 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 SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,fileNamePrefix="ClaRa_dev_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L2_OffDesign",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,fileNamePrefix="ClaRa_dev_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L2_OffDesign",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "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: ClaRa requested package SMArtInt of version 0.5.1. SMArtInt 1.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(ClaRa, SMArtInt, \"1.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.03058/0.03058, allocations: 29.94 MB / 0.6466 GB, free: 27.02 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1548, allocations: 82.04 MB / 0.7267 GB, free: 11.85 MB / 0.5418 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.TurboMachines.Pumps.Check.TestPump_L2_OffDesign): time 0.09424/0.249, allocations: 50.34 MB / 0.7759 GB, free: 9.406 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.0193/0.2683, allocations: 20.6 MB / 0.796 GB, free: 4.742 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.2696, allocations: 103.2 kB / 0.7961 GB, free: 4.641 MB / 0.6043 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 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.002637/0.2722, allocations: 2.02 MB / 0.7981 GB, free: 2.609 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.2751, allocations: 2.766 MB / 0.8008 GB, free: 15.83 MB / 0.6199 GB Notification: Performance of NFTyping.typeClassSections: time 0.003572/0.2787, allocations: 3.025 MB / 0.8037 GB, free: 12.8 MB / 0.6199 GB Notification: Performance of NFFlatten.flatten: time 0.004204/0.2829, allocations: 6.589 MB / 0.8101 GB, free: 6.184 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.2845, allocations: 1.954 MB / 0.812 GB, free: 4.184 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/0.2866, allocations: 2.705 MB / 0.8147 GB, free: 1.469 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002291/0.2889, allocations: 2.625 MB / 0.8173 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004006/0.2893, allocations: 464 kB / 0.8177 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002701/0.292, allocations: 2.223 MB / 0.8199 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006842/0.2927, allocations: 1.308 MB / 0.8211 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.2941, allocations: 1.842 MB / 0.8229 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005488/0.2996, allocations: 8.127 MB / 0.8309 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2996, allocations: 0 / 0.8309 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2996, allocations: 7.938 kB / 0.8309 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.429e-05/0.2996, allocations: 0 / 0.8309 GB, free: 0.8242 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 863 * Number of variables: 863 Notification: Performance of Generate backend data structure: time 0.1888/0.4885, allocations: 5.208 MB / 0.836 GB, free: 168.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4885, allocations: 10.47 kB / 0.836 GB, free: 168.3 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000292/0.4888, allocations: 418.6 kB / 0.8364 GB, free: 168.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009192/0.4897, allocations: 0.6198 MB / 0.837 GB, free: 167.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00413/0.4938, allocations: 4.053 MB / 0.8409 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.4939, allocations: 179.3 kB / 0.8411 GB, free: 165.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.4942, allocations: 233.4 kB / 0.8413 GB, free: 165.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006668/0.5008, allocations: 5.994 MB / 0.8472 GB, free: 161.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.215e-05/0.5009, allocations: 29.91 kB / 0.8472 GB, free: 161.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/0.5011, allocations: 117.2 kB / 0.8473 GB, free: 161.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.183e-05/0.5011, allocations: 78.3 kB / 0.8474 GB, free: 161.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006549/0.5077, allocations: 4.012 MB / 0.8513 GB, free: 160.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/0.5188, allocations: 21.76 MB / 0.8726 GB, free: 142.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00547/0.5243, allocations: 3.52 MB / 0.876 GB, free: 140.4 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.5257, allocations: 1.249 MB / 0.8772 GB, free: 139.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005514/0.5262, allocations: 265.2 kB / 0.8775 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004773/0.531, allocations: 3.164 MB / 0.8806 GB, free: 137.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=470): time 4.007e-06/0.531, allocations: 0 / 0.8806 GB, free: 137.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=471): time 0.02342/0.5544, allocations: 21.59 MB / 0.9017 GB, free: 121.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.5546, allocations: 0.8307 MB / 0.9025 GB, free: 120.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/0.5576, allocations: 3.322 MB / 0.9057 GB, free: 117.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.5577, allocations: 68.36 kB / 0.9058 GB, free: 117.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000745/0.5585, allocations: 1.602 MB / 0.9073 GB, free: 115.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007673/0.5592, allocations: 1.583 MB / 0.9089 GB, free: 114.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008852/0.5601, allocations: 0.9514 MB / 0.9098 GB, free: 113.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.847e-05/0.5602, allocations: 301.1 kB / 0.9101 GB, free: 112.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/0.562, allocations: 1.707 MB / 0.9118 GB, free: 111.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002237/0.5642, allocations: 3.174 MB / 0.9149 GB, free: 107.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00451/0.5687, allocations: 5.028 MB / 0.9198 GB, free: 101.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.5687, allocations: 8 kB / 0.9198 GB, free: 101.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.006539/0.5753, allocations: 5.713 MB / 0.9254 GB, free: 96.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.189e-05/0.5753, allocations: 93.19 kB / 0.9255 GB, free: 95.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004912/0.5802, allocations: 4.343 MB / 0.9297 GB, free: 91.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01059/0.5908, allocations: 3.086 MB / 0.9327 GB, free: 88.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/0.5932, allocations: 1.135 MB / 0.9338 GB, free: 87.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004636/0.5979, allocations: 3.766 MB / 0.9375 GB, free: 83.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/0.6002, allocations: 218.1 kB / 0.9377 GB, free: 83.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003536/0.6006, allocations: 307.8 kB / 0.938 GB, free: 83.13 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003493/0.6041, allocations: 2.444 MB / 0.9404 GB, free: 80.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002441/0.6065, allocations: 3.139 MB / 0.9435 GB, free: 76.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004579/0.6111, allocations: 4.978 MB / 0.9483 GB, free: 71.42 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-05/0.6111, allocations: 14.62 kB / 0.9483 GB, free: 71.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.006776/0.6179, allocations: 5.579 MB / 0.9538 GB, free: 65.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.907e-05/0.6179, allocations: 87.38 kB / 0.9539 GB, free: 65.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004884/0.6228, allocations: 4.213 MB / 0.958 GB, free: 61.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009516/0.6323, allocations: 2.725 MB / 0.9606 GB, free: 58.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/0.6343, allocations: 1.169 MB / 0.9618 GB, free: 57.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004032/0.6384, allocations: 3.463 MB / 0.9652 GB, free: 54.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/0.6406, allocations: 210.2 kB / 0.9654 GB, free: 53.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003309/0.6409, allocations: 310.4 kB / 0.9657 GB, free: 53.69 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 171 * Number of states: 0 () * Number of discrete variables: 15 (p_out_n1.nextEventScaled,p_out_n1.nextEvent,$PRE.p_out_n1.nextEvent,p_out_n1.last,p_out_n1.b,p_out_n1.a,ramp1.nextEventScaled,ramp1.nextEvent,$PRE.ramp1.nextEvent,ramp1.last,ramp1.b,ramp1.a,$whenCondition2,$whenCondition1,valveVLE_L1_1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (595): * Single equations (assignments): 591 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of prepare postOptimizeDAE: time 0.001165/0.6421, allocations: 0.5321 MB / 0.9662 GB, free: 53.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006742/0.6427, allocations: 444.9 kB / 0.9666 GB, free: 52.71 MB / 0.6355 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 664 equation(s) and 637 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump_3.summary.inlet.steamQuality, pump_3.fluidIn.cp, pump_3.fluidIn.cv, pump_3.fluidIn.beta, pump_3.fluidIn.kappa, pump_3.fluidIn.drhodp_hxi, pump_3.fluidIn.drhodh_pxi, _, pump_3.fluidIn.w, pump_3.fluidIn.gamma) = ($cse37, $cse38, $cse39, $cse40, $cse41, $cse42, $cse43, $cse44, $cse45, $cse46) has size 9 but 7 variables ($whenCondition2, p_out_n1.a, p_out_n1.b, p_out_n1.last, p_out_n1.nextEvent, p_out_n1.nextEventScaled, p_out_n1.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006192/0.6489, allocations: 5.428 MB / 0.9719 GB, free: 47.61 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.5899443896487355]