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.01157/0.01157, allocations: 1.754 MB / 20.61 MB, free: 1.004 MB / 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.001338/0.001338, allocations: 99.84 kB / 24.18 MB, free: 2.438 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.001663/0.001663, allocations: 213.1 kB / 27.9 MB, free: 3.742 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.444/1.444, allocations: 230.6 MB / 262.1 MB, free: 5.855 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.07/1.07, allocations: 130.7 MB / 449.7 MB, free: 6.641 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="me",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="me",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.06644/0.06644, allocations: 20.98 MB / 0.6358 GB, free: 4.812 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.2467, allocations: 81.92 MB / 0.7158 GB, free: 2.789 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.5474/0.7941, allocations: 50.33 MB / 0.765 GB, free: 17.58 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03334/0.8275, allocations: 20.6 MB / 0.7851 GB, free: 3.273 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005959/0.8334, allocations: 98.47 kB / 0.7852 GB, free: 3.227 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.007056/0.8405, allocations: 2.035 MB / 0.7872 GB, free: 2.305 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.8519, allocations: 2.759 MB / 0.7899 GB, free: 0.5547 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.01084/0.8627, allocations: 3.013 MB / 0.7928 GB, free: 14.3 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01516/0.8779, allocations: 6.596 MB / 0.7993 GB, free: 10.38 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005027/0.8829, allocations: 1.951 MB / 0.8012 GB, free: 8.918 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007109/0.89, allocations: 2.705 MB / 0.8038 GB, free: 7.352 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006666/0.8967, allocations: 2.623 MB / 0.8064 GB, free: 5.73 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.002072/0.8987, allocations: 463.8 kB / 0.8068 GB, free: 5.434 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008116/0.9069, allocations: 2.221 MB / 0.809 GB, free: 3.215 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.003045/0.9099, allocations: 1.316 MB / 0.8103 GB, free: 1.895 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.00433/0.9142, allocations: 1.834 MB / 0.812 GB, free: 52 kB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01605/0.9303, allocations: 8.127 MB / 0.82 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.9303, allocations: 0 / 0.82 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9303, allocations: 7.781 kB / 0.82 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002216/0.9305, allocations: 0 / 0.82 GB, free: 7.891 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.01179/0.9423, allocations: 5.209 MB / 0.8251 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.9424, allocations: 8.031 kB / 0.8251 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006011/0.943, allocations: 412.3 kB / 0.8255 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/0.9449, allocations: 0.6258 MB / 0.8261 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008768/0.9537, allocations: 4.067 MB / 0.8301 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/0.9538, allocations: 181 kB / 0.8302 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000482/0.9543, allocations: 231.9 kB / 0.8305 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01425/0.9686, allocations: 5.999 MB / 0.8363 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/0.9687, allocations: 27.75 kB / 0.8363 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005608/0.9693, allocations: 118.7 kB / 0.8365 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.9694, allocations: 76 kB / 0.8365 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01242/0.9818, allocations: 4.02 MB / 0.8405 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03211/1.014, allocations: 21.76 MB / 0.8617 GB, free: 11.57 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/1.025, allocations: 3.531 MB / 0.8652 GB, free: 7.938 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002967/1.028, allocations: 1.247 MB / 0.8664 GB, free: 6.641 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/1.029, allocations: 263.2 kB / 0.8666 GB, free: 6.391 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009954/1.039, allocations: 3.153 MB / 0.8697 GB, free: 3.133 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=470): time 1.321e-05/1.039, allocations: 5.5 kB / 0.8697 GB, free: 3.129 MB / 0.6388 GB Notification: Performance of matching and sorting (n=471): time 0.04702/1.086, allocations: 21.6 MB / 0.8908 GB, free: 13.32 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005152/1.087, allocations: 0.8229 MB / 0.8916 GB, free: 12.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005424/1.092, allocations: 3.322 MB / 0.8948 GB, free: 8.961 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007706/1.093, allocations: 61.7 kB / 0.8949 GB, free: 8.895 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001693/1.094, allocations: 1.602 MB / 0.8965 GB, free: 7.281 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002428/1.097, allocations: 1.587 MB / 0.898 GB, free: 5.68 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00182/1.099, allocations: 0.9475 MB / 0.8989 GB, free: 4.723 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.099, allocations: 303.8 kB / 0.8992 GB, free: 4.426 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003435/1.102, allocations: 1.711 MB / 0.9009 GB, free: 2.691 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004816/1.107, allocations: 3.168 MB / 0.904 GB, free: 14.9 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008918/1.116, allocations: 5.031 MB / 0.9089 GB, free: 9.363 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-05/1.116, allocations: 12 kB / 0.9089 GB, free: 9.352 MB / 0.6857 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01313/1.129, allocations: 5.71 MB / 0.9145 GB, free: 3.625 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001951/1.129, allocations: 90.03 kB / 0.9146 GB, free: 3.527 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00924/1.139, allocations: 4.345 MB / 0.9188 GB, free: 15.14 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02428/1.163, allocations: 3.075 MB / 0.9218 GB, free: 12.23 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004289/1.167, allocations: 1.139 MB / 0.9229 GB, free: 11.09 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009676/1.177, allocations: 3.771 MB / 0.9266 GB, free: 7.242 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00348/1.18, allocations: 218.2 kB / 0.9268 GB, free: 7.031 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007997/1.181, allocations: 310.1 kB / 0.9271 GB, free: 6.73 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005422/1.187, allocations: 2.432 MB / 0.9295 GB, free: 4.277 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005028/1.192, allocations: 3.143 MB / 0.9326 GB, free: 0.5156 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00927/1.201, allocations: 4.98 MB / 0.9374 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.413e-05/1.201, allocations: 14.69 kB / 0.9375 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01415/1.215, allocations: 5.57 MB / 0.9429 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/1.215, allocations: 92.78 kB / 0.943 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009192/1.224, allocations: 4.204 MB / 0.9471 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02233/1.247, allocations: 2.724 MB / 0.9497 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004472/1.251, allocations: 1.173 MB / 0.9509 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008851/1.26, allocations: 3.467 MB / 0.9543 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/1.263, allocations: 210.2 kB / 0.9545 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000631/1.264, allocations: 310.5 kB / 0.9548 GB, free: 9.285 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.00143/1.265, allocations: 0.5205 MB / 0.9553 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/1.267, allocations: 452.9 kB / 0.9557 GB, free: 8.301 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.01106/1.278, allocations: 5.437 MB / 0.961 GB, free: 3.105 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.502147737890482] Failed to read output from testmodel.py, exit status != 0: 1.4705711849965155 1.797920561 0.864143305 Calling exit ...