Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.0135/0.0135, allocations: 1.741 MB / 21.38 MB, free: 476 kB / 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.001543/0.001543, allocations: 100 kB / 24.96 MB, free: 2.066 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.002042/0.002042, allocations: 210.9 kB / 28.68 MB, free: 3.348 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.484/1.484, allocations: 230.6 MB / 262.9 MB, free: 5.828 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.153/1.153, allocations: 130.7 MB / 450.4 MB, free: 6.414 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.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L2_OffDesign",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L2_OffDesign",fmuType="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: 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.06723/0.06723, allocations: 20.6 MB / 0.6362 GB, free: 5.125 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.2494, allocations: 81.9 MB / 0.7162 GB, free: 3.133 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.TurboMachines.Pumps.Check.TestPump_L2_OffDesign): time 0.5353/0.7847, allocations: 50.31 MB / 0.7653 GB, free: 17.72 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03626/0.8209, allocations: 20.58 MB / 0.7854 GB, free: 3.414 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006183/0.8271, allocations: 100.2 kB / 0.7855 GB, free: 3.367 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.006984/0.8341, allocations: 2.037 MB / 0.7875 GB, free: 2.441 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.01112/0.8452, allocations: 2.772 MB / 0.7902 GB, free: 0.7266 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.009537/0.8547, allocations: 3.016 MB / 0.7932 GB, free: 14.47 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01432/0.8691, allocations: 6.605 MB / 0.7996 GB, free: 10.54 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00536/0.8744, allocations: 1.812 MB / 0.8014 GB, free: 9.219 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009702/0.8841, allocations: 2.7 MB / 0.804 GB, free: 7.652 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008819/0.8929, allocations: 2.794 MB / 0.8068 GB, free: 5.863 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.003114/0.8961, allocations: 464 kB / 0.8072 GB, free: 5.656 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009/0.9051, allocations: 2.281 MB / 0.8094 GB, free: 3.375 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002818/0.9079, allocations: 1.315 MB / 0.8107 GB, free: 2.055 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.005058/0.9129, allocations: 1.834 MB / 0.8125 GB, free: 216 kB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01889/0.9318, allocations: 8.137 MB / 0.8204 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.9318, allocations: 0 / 0.8204 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.725e-06/0.9318, allocations: 4 kB / 0.8205 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002563/0.9321, allocations: 0 / 0.8205 GB, free: 8.043 MB / 0.5919 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.01395/0.946, allocations: 5.21 MB / 0.8255 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.9461, allocations: 10.69 kB / 0.8256 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001042/0.9462, allocations: 68.78 kB / 0.8256 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009502/0.9471, allocations: 416.3 kB / 0.826 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/0.9495, allocations: 0.6184 MB / 0.8266 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/0.9597, allocations: 4.077 MB / 0.8306 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002205/0.9599, allocations: 180.7 kB / 0.8308 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006293/0.9605, allocations: 232 kB / 0.831 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/0.976, allocations: 5.999 MB / 0.8369 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.784e-05/0.9761, allocations: 27.75 kB / 0.8369 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003712/0.9764, allocations: 115.9 kB / 0.837 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-05/0.9765, allocations: 79.98 kB / 0.8371 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01357/0.9901, allocations: 4.028 MB / 0.841 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03331/1.023, allocations: 21.76 MB / 0.8623 GB, free: 11.63 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/1.035, allocations: 3.528 MB / 0.8657 GB, free: 8 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003229/1.038, allocations: 1.248 MB / 0.8669 GB, free: 6.699 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/1.04, allocations: 257.7 kB / 0.8672 GB, free: 6.457 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01028/1.05, allocations: 3.163 MB / 0.8702 GB, free: 3.191 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=470): time 8.315e-06/1.05, allocations: 0 / 0.8702 GB, free: 3.191 MB / 0.6388 GB Notification: Performance of matching and sorting (n=471): time 0.05048/1.1, allocations: 21.6 MB / 0.8913 GB, free: 13.38 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000517/1.101, allocations: 0.8268 MB / 0.8921 GB, free: 12.36 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006287/1.107, allocations: 3.267 MB / 0.8953 GB, free: 9.078 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008967/1.108, allocations: 65.7 kB / 0.8954 GB, free: 9.008 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001821/1.11, allocations: 1.601 MB / 0.897 GB, free: 7.398 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002524/1.112, allocations: 1.591 MB / 0.8985 GB, free: 5.793 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002223/1.115, allocations: 0.9475 MB / 0.8994 GB, free: 4.836 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.115, allocations: 301.1 kB / 0.8997 GB, free: 4.539 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003909/1.119, allocations: 1.707 MB / 0.9014 GB, free: 2.809 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005635/1.124, allocations: 3.174 MB / 0.9045 GB, free: 15.02 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/1.135, allocations: 5.018 MB / 0.9094 GB, free: 9.484 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-05/1.135, allocations: 12 kB / 0.9094 GB, free: 9.473 MB / 0.6857 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01604/1.151, allocations: 5.714 MB / 0.915 GB, free: 3.742 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/1.151, allocations: 87.33 kB / 0.9151 GB, free: 3.645 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01101/1.162, allocations: 4.346 MB / 0.9193 GB, free: 15.26 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02604/1.188, allocations: 3.086 MB / 0.9223 GB, free: 12.34 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004474/1.193, allocations: 1.141 MB / 0.9234 GB, free: 11.2 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/1.203, allocations: 3.762 MB / 0.9271 GB, free: 7.359 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003893/1.207, allocations: 221.5 kB / 0.9273 GB, free: 7.148 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/1.208, allocations: 307.8 kB / 0.9276 GB, free: 6.848 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006383/1.214, allocations: 2.432 MB / 0.93 GB, free: 4.395 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005586/1.22, allocations: 3.144 MB / 0.9331 GB, free: 0.6289 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01005/1.23, allocations: 4.978 MB / 0.9379 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.2e-05/1.23, allocations: 12 kB / 0.9379 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01541/1.245, allocations: 5.569 MB / 0.9434 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/1.245, allocations: 95.33 kB / 0.9435 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01327/1.259, allocations: 4.209 MB / 0.9476 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02522/1.284, allocations: 2.727 MB / 0.9502 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004794/1.289, allocations: 1.17 MB / 0.9514 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/1.299, allocations: 3.475 MB / 0.9548 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004037/1.303, allocations: 214.2 kB / 0.955 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001271/1.305, allocations: 300.7 kB / 0.9553 GB, free: 9.398 MB / 0.7325 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.002214/1.307, allocations: 0.5243 MB / 0.9558 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002236/1.309, allocations: 441 kB / 0.9562 GB, free: 8.422 MB / 0.7325 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.01323/1.322, allocations: 5.41 MB / 0.9615 GB, free: 3.234 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.72760303504765] Failed to read output from testmodel.py, exit status != 0: 1.5162304380210117 1.880274304 0.944367405 Calling exit ...