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.01272/0.01272, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001524/0.001524, allocations: 109.2 kB / 24.19 MB, free: 2.684 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.002118/0.002118, allocations: 207.9 kB / 27.92 MB, free: 4.027 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.506/1.506, allocations: 230.6 MB / 262.1 MB, free: 6.012 MB / 206.1 MB " [Timeout remaining time 178] 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 1.143/1.143, allocations: 130.7 MB / 449.7 MB, free: 6.777 MB / 350.1 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 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|firstOrder.y|pump_3.pump.rho_CF_ps|pump_3.pump.rho_upstream_ps|pump_3.pumpFluidVolume.h|pump_3.pumpFluidVolume.p|speed1.phi|speed1.w",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|firstOrder.y|pump_3.pump.rho_CF_ps|pump_3.pump.rho_upstream_ps|pump_3.pumpFluidVolume.h|pump_3.pumpFluidVolume.p|speed1.phi|speed1.w",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign") [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.03337/0.03337, allocations: 20.79 MB / 0.6362 GB, free: 4.695 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.2086, allocations: 81.91 MB / 0.7162 GB, free: 2.695 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.5713/0.7798, allocations: 52.6 MB / 0.7676 GB, free: 15.55 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03391/0.8137, allocations: 21.6 MB / 0.7887 GB, free: 164 kB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00652/0.8203, allocations: 94.94 kB / 0.7887 GB, free: 120 kB / 0.5607 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.007528/0.8278, allocations: 2.137 MB / 0.7908 GB, free: 15.11 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.8383, allocations: 2.755 MB / 0.7935 GB, free: 13.32 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.008855/0.8471, allocations: 3.01 MB / 0.7965 GB, free: 11.07 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01555/0.8627, allocations: 6.613 MB / 0.8029 GB, free: 7.141 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004253/0.8669, allocations: 1.809 MB / 0.8047 GB, free: 5.812 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00741/0.8744, allocations: 2.692 MB / 0.8073 GB, free: 4.254 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006651/0.881, allocations: 2.798 MB / 0.8101 GB, free: 2.469 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001887/0.8829, allocations: 463 kB / 0.8105 GB, free: 2.238 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008955/0.8919, allocations: 3.008 MB / 0.8134 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00263/0.8945, allocations: 1.3 MB / 0.8147 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005089/0.8996, allocations: 2.402 MB / 0.817 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0173/0.9169, allocations: 8.259 MB / 0.8251 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.9169, allocations: 0 / 0.8251 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9169, allocations: 0 / 0.8251 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002332/0.9171, allocations: 1.5 kB / 0.8251 GB, free: 3.23 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.01348/0.9306, allocations: 5.215 MB / 0.8302 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.9306, allocations: 12.03 kB / 0.8302 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/0.9326, allocations: 0.621 MB / 0.8308 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008761/0.9414, allocations: 4.066 MB / 0.8348 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.9415, allocations: 177 kB / 0.835 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005029/0.9421, allocations: 240 kB / 0.8352 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/0.9548, allocations: 5.281 MB / 0.8403 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.411e-05/0.9549, allocations: 29.52 kB / 0.8404 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002868/0.9552, allocations: 112 kB / 0.8405 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.247e-05/0.9553, allocations: 76 kB / 0.8406 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01146/0.9667, allocations: 3.97 MB / 0.8444 GB, free: 14.76 MB / 0.6232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02829/0.995, allocations: 22.93 MB / 0.8668 GB, free: 7.148 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/1.005, allocations: 3.472 MB / 0.8702 GB, free: 3.598 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002808/1.008, allocations: 1.198 MB / 0.8714 GB, free: 2.363 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/1.009, allocations: 278.8 kB / 0.8717 GB, free: 2.098 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009193/1.018, allocations: 3.095 MB / 0.8747 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=470): time 6.472e-06/1.018, allocations: 0 / 0.8747 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=471): time 0.04392/1.062, allocations: 21.45 MB / 0.8956 GB, free: 9.281 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004885/1.063, allocations: 0.8294 MB / 0.8964 GB, free: 8.262 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005589/1.068, allocations: 3.264 MB / 0.8996 GB, free: 4.977 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008317/1.069, allocations: 61.69 kB / 0.8997 GB, free: 4.91 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001567/1.071, allocations: 1.602 MB / 0.9012 GB, free: 3.297 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002181/1.073, allocations: 1.587 MB / 0.9028 GB, free: 1.695 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001798/1.075, allocations: 0.9462 MB / 0.9037 GB, free: 0.7422 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.075, allocations: 305.1 kB / 0.904 GB, free: 452 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003411/1.078, allocations: 1.645 MB / 0.9056 GB, free: 14.79 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004709/1.083, allocations: 2.907 MB / 0.9085 GB, free: 11.35 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009116/1.092, allocations: 5.024 MB / 0.9134 GB, free: 5.852 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.291e-05/1.092, allocations: 8 kB / 0.9134 GB, free: 5.844 MB / 0.6857 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01409/1.106, allocations: 5.64 MB / 0.9189 GB, free: 204 kB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/1.106, allocations: 83.39 kB / 0.919 GB, free: 108 kB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009582/1.116, allocations: 4.268 MB / 0.9231 GB, free: 11.81 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02579/1.142, allocations: 3.079 MB / 0.9261 GB, free: 8.906 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00419/1.146, allocations: 1.139 MB / 0.9272 GB, free: 7.766 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009761/1.156, allocations: 3.769 MB / 0.9309 GB, free: 3.922 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00415/1.16, allocations: 223.1 kB / 0.9311 GB, free: 3.707 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007482/1.161, allocations: 314.4 kB / 0.9314 GB, free: 3.402 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00548/1.166, allocations: 2.374 MB / 0.9338 GB, free: 1.02 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004793/1.171, allocations: 2.88 MB / 0.9366 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00984/1.181, allocations: 4.98 MB / 0.9414 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.274e-05/1.181, allocations: 12 kB / 0.9414 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01278/1.193, allocations: 5.488 MB / 0.9468 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.713e-05/1.194, allocations: 83.39 kB / 0.9469 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008453/1.202, allocations: 4.137 MB / 0.9509 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02335/1.225, allocations: 2.731 MB / 0.9536 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004453/1.23, allocations: 1.166 MB / 0.9547 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008963/1.239, allocations: 3.469 MB / 0.9581 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003821/1.243, allocations: 219.6 kB / 0.9583 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008641/1.243, allocations: 311.6 kB / 0.9586 GB, free: 6.402 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.0016/1.245, allocations: 0.514 MB / 0.9591 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001608/1.247, allocations: 444.9 kB / 0.9595 GB, free: 5.43 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.0114/1.258, allocations: 5.395 MB / 0.9648 GB, free: 172 kB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.862527745000989] Failed to read output from testmodel.py, exit status != 0: 1.4829017670017492 1.9157705980000002 0.994887722 Calling exit ...