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.0106/0.0106, allocations: 1.762 MB / 20.59 MB, free: 1.297 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.001275/0.001275, allocations: 107.9 kB / 24.19 MB, free: 2.688 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.001583/0.001583, allocations: 211.8 kB / 27.92 MB, free: 4.035 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.47/1.47, allocations: 230.6 MB / 262.1 MB, free: 6.02 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.084/1.084, allocations: 130.7 MB / 449.7 MB, free: 6.602 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.032/0.032, allocations: 20.78 MB / 0.6357 GB, free: 5.184 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1925, allocations: 81.91 MB / 0.7157 GB, free: 3.168 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.5224/0.7148, allocations: 52.61 MB / 0.7671 GB, free: 15.66 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03048/0.7453, allocations: 21.59 MB / 0.7882 GB, free: 280 kB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004397/0.7497, allocations: 99.06 kB / 0.7883 GB, free: 232 kB / 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.005879/0.7556, allocations: 2.137 MB / 0.7904 GB, free: 15.21 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.008692/0.7643, allocations: 2.755 MB / 0.7931 GB, free: 13.48 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.008703/0.773, allocations: 3.012 MB / 0.796 GB, free: 11.23 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01271/0.7857, allocations: 6.606 MB / 0.8024 GB, free: 7.309 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004224/0.7899, allocations: 1.815 MB / 0.8042 GB, free: 5.977 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00589/0.7958, allocations: 2.696 MB / 0.8069 GB, free: 4.414 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005829/0.8017, allocations: 2.797 MB / 0.8096 GB, free: 2.633 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001555/0.8032, allocations: 461.1 kB / 0.81 GB, free: 2.559 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007846/0.8111, allocations: 3.006 MB / 0.813 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002505/0.8136, allocations: 1.308 MB / 0.8142 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005172/0.8187, allocations: 2.402 MB / 0.8166 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01564/0.8344, allocations: 8.267 MB / 0.8247 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.8344, allocations: 0 / 0.8247 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8344, allocations: 2.625 kB / 0.8247 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002127/0.8346, allocations: 1.5 kB / 0.8247 GB, free: 3.539 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.01298/0.8476, allocations: 5.205 MB / 0.8297 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.8476, allocations: 10.69 kB / 0.8298 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001018/0.8486, allocations: 424.2 kB / 0.8302 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002505/0.8511, allocations: 0.6223 MB / 0.8308 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008885/0.86, allocations: 4.051 MB / 0.8347 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002307/0.8603, allocations: 177 kB / 0.8349 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007194/0.861, allocations: 239.8 kB / 0.8351 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01472/0.8757, allocations: 5.275 MB / 0.8403 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/0.8758, allocations: 31.75 kB / 0.8403 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005957/0.8764, allocations: 108 kB / 0.8404 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.8765, allocations: 82.69 kB / 0.8405 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01239/0.8889, allocations: 3.97 MB / 0.8444 GB, free: 14.67 MB / 0.6232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03038/0.9193, allocations: 22.93 MB / 0.8667 GB, free: 7.059 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.9303, allocations: 3.49 MB / 0.8702 GB, free: 3.484 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002887/0.9332, allocations: 1.193 MB / 0.8713 GB, free: 2.254 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/0.9343, allocations: 269.5 kB / 0.8716 GB, free: 2 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009621/0.9439, allocations: 3.108 MB / 0.8746 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=470): time 9.988e-06/0.9439, allocations: 0 / 0.8746 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=471): time 0.04943/0.9934, allocations: 21.45 MB / 0.8956 GB, free: 9.164 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006173/0.994, allocations: 0.8256 MB / 0.8964 GB, free: 8.148 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005523/0.9995, allocations: 3.263 MB / 0.8996 GB, free: 4.867 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007866/1, allocations: 61.7 kB / 0.8996 GB, free: 4.801 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001612/1.002, allocations: 1.605 MB / 0.9012 GB, free: 3.188 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002144/1.004, allocations: 1.587 MB / 0.9027 GB, free: 1.586 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001659/1.006, allocations: 0.9475 MB / 0.9037 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.006, allocations: 301.1 kB / 0.9039 GB, free: 340 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003486/1.009, allocations: 1.644 MB / 0.9055 GB, free: 14.68 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00477/1.014, allocations: 2.903 MB / 0.9084 GB, free: 11.25 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009022/1.023, allocations: 5.019 MB / 0.9133 GB, free: 5.746 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.3e-05/1.023, allocations: 12 kB / 0.9133 GB, free: 5.734 MB / 0.6857 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01287/1.036, allocations: 5.64 MB / 0.9188 GB, free: 96 kB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001353/1.036, allocations: 91.19 kB / 0.9189 GB, free: 15.99 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009149/1.045, allocations: 4.267 MB / 0.9231 GB, free: 11.7 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02626/1.072, allocations: 3.081 MB / 0.9261 GB, free: 8.793 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00428/1.076, allocations: 1.145 MB / 0.9272 GB, free: 7.648 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/1.086, allocations: 3.769 MB / 0.9309 GB, free: 3.805 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003606/1.09, allocations: 214.1 kB / 0.9311 GB, free: 3.598 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008731/1.09, allocations: 311.8 kB / 0.9314 GB, free: 3.293 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005657/1.096, allocations: 2.373 MB / 0.9337 GB, free: 0.9141 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004825/1.101, allocations: 2.877 MB / 0.9365 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008744/1.11, allocations: 4.983 MB / 0.9414 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.152e-05/1.11, allocations: 8 kB / 0.9414 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01285/1.123, allocations: 5.496 MB / 0.9467 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.033e-05/1.123, allocations: 83.39 kB / 0.9468 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008991/1.132, allocations: 4.137 MB / 0.9509 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02339/1.155, allocations: 2.725 MB / 0.9535 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004251/1.159, allocations: 1.17 MB / 0.9547 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008983/1.168, allocations: 3.47 MB / 0.958 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003109/1.171, allocations: 211.7 kB / 0.9582 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006166/1.172, allocations: 307.8 kB / 0.9585 GB, free: 6.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.001245/1.173, allocations: 0.514 MB / 0.959 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/1.174, allocations: 452.9 kB / 0.9595 GB, free: 5.305 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.01075/1.185, allocations: 5.4 MB / 0.9648 GB, free: 48 kB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.366524487035349] Failed to read output from testmodel.py, exit status != 0: 1.3678671149536967 1.7158414050000002 0.878089632 Calling exit ...