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.01831/0.01831, allocations: 1.348 MB / 20.45 MB, free: 1.262 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.002083/0.002083, allocations: 77.28 kB / 24.02 MB, free: 2.605 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.002908/0.002908, allocations: 156 kB / 27.71 MB, free: 3.859 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.491/1.491, allocations: 177.2 MB / 208.4 MB, free: 7.68 MB / 190.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.038/1.038, allocations: 102.5 MB / 367.8 MB, free: 4.574 MB / 334.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: 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_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_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.5364 GB, free: 7.164 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.574e-05/3.798e-05, allocations: 7.766 kB / 0.5364 GB, free: 7.156 MB / 446.1 MB 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.1759/0.1759, allocations: 63.99 MB / 0.5989 GB, free: 9.652 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.03499/0.2109, allocations: 20.31 MB / 0.6188 GB, free: 5.27 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003906/0.2148, allocations: 95.25 kB / 0.6189 GB, free: 5.176 MB / 0.5138 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.006033/0.2209, allocations: 2.039 MB / 0.6209 GB, free: 3.125 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.008446/0.2293, allocations: 2.842 MB / 0.6236 GB, free: 272 kB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.008274/0.2376, allocations: 3.059 MB / 0.6266 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01055/0.2481, allocations: 6.797 MB / 0.6333 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003477/0.2516, allocations: 1.969 MB / 0.6352 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006504/0.2581, allocations: 3.683 MB / 0.6388 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004377/0.2625, allocations: 2.275 MB / 0.641 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009605/0.2634, allocations: 464 kB / 0.6414 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005134/0.2686, allocations: 2.253 MB / 0.6436 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001511/0.2701, allocations: 1.323 MB / 0.6449 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002518/0.2726, allocations: 1.492 MB / 0.6464 GB, free: 8.855 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01218/0.2848, allocations: 8.116 MB / 0.6543 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2848, allocations: 0 / 0.6543 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2848, allocations: 0 / 0.6543 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001389/0.2849, allocations: 0 / 0.6543 GB, free: 0.7148 MB / 0.545 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.0104/0.2953, allocations: 5.16 MB / 0.6594 GB, free: 11.47 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2954, allocations: 8.031 kB / 0.6594 GB, free: 11.46 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001941/0.2973, allocations: 0.6262 MB / 0.66 GB, free: 10.84 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008124/0.3054, allocations: 4.058 MB / 0.6639 GB, free: 6.715 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/0.3056, allocations: 185 kB / 0.6641 GB, free: 6.531 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004364/0.3061, allocations: 228.4 kB / 0.6643 GB, free: 6.309 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01419/0.3203, allocations: 5.994 MB / 0.6702 GB, free: 15.51 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.3204, allocations: 35.69 kB / 0.6702 GB, free: 15.47 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003081/0.3207, allocations: 108 kB / 0.6703 GB, free: 15.37 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.712e-05/0.3208, allocations: 79.98 kB / 0.6704 GB, free: 15.29 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01379/0.3346, allocations: 4.017 MB / 0.6743 GB, free: 11.25 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02932/0.3639, allocations: 21.34 MB / 0.6952 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01161/0.3755, allocations: 3.515 MB / 0.6986 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003192/0.3787, allocations: 1.258 MB / 0.6998 GB, free: 288 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/0.3799, allocations: 265.8 kB / 0.7001 GB, free: 24 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3238/0.7037, allocations: 3.155 MB / 0.7032 GB, free: 130.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=470): time 8.306e-06/0.7037, allocations: 0 / 0.7032 GB, free: 130.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=471): time 0.04378/0.7475, allocations: 21.58 MB / 0.7242 GB, free: 118.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002325/0.7477, allocations: 0.8289 MB / 0.725 GB, free: 117.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004424/0.7522, allocations: 3.227 MB / 0.7282 GB, free: 116 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0009386/0.7531, allocations: 63.39 kB / 0.7283 GB, free: 116 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/0.7542, allocations: 1.622 MB / 0.7298 GB, free: 114.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00152/0.7557, allocations: 1.57 MB / 0.7314 GB, free: 113.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001277/0.757, allocations: 0.9404 MB / 0.7323 GB, free: 113.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.021e-05/0.757, allocations: 303.7 kB / 0.7326 GB, free: 113 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002829/0.7599, allocations: 1.707 MB / 0.7342 GB, free: 112 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003309/0.7632, allocations: 3.175 MB / 0.7373 GB, free: 108.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006377/0.7695, allocations: 5.038 MB / 0.7423 GB, free: 103.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.545e-05/0.7696, allocations: 12 kB / 0.7423 GB, free: 103.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01049/0.7801, allocations: 5.714 MB / 0.7479 GB, free: 97.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.997e-05/0.7801, allocations: 83.39 kB / 0.7479 GB, free: 97.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007537/0.7877, allocations: 4.358 MB / 0.7522 GB, free: 92.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02447/0.8121, allocations: 3.075 MB / 0.7552 GB, free: 90.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003945/0.8161, allocations: 1.143 MB / 0.7563 GB, free: 88.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008992/0.8251, allocations: 3.736 MB / 0.76 GB, free: 85.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0038/0.8289, allocations: 213.9 kB / 0.7602 GB, free: 84.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007312/0.8296, allocations: 315.7 kB / 0.7605 GB, free: 84.65 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005031/0.8346, allocations: 2.44 MB / 0.7628 GB, free: 82.19 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003489/0.8381, allocations: 3.136 MB / 0.7659 GB, free: 78.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006683/0.8448, allocations: 4.974 MB / 0.7708 GB, free: 72.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.837e-05/0.8448, allocations: 12 kB / 0.7708 GB, free: 72.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01048/0.8553, allocations: 5.564 MB / 0.7762 GB, free: 67.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.08e-05/0.8554, allocations: 87.39 kB / 0.7763 GB, free: 67.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007253/0.8626, allocations: 4.213 MB / 0.7804 GB, free: 63.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02288/0.8855, allocations: 2.726 MB / 0.7831 GB, free: 60.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004148/0.8896, allocations: 1.17 MB / 0.7842 GB, free: 59.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008171/0.8978, allocations: 3.448 MB / 0.7876 GB, free: 55.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003973/0.9018, allocations: 201 kB / 0.7878 GB, free: 55.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/0.9028, allocations: 307.8 kB / 0.7881 GB, free: 55.29 MB / 0.5919 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.002119/0.9049, allocations: 0.5287 MB / 0.7886 GB, free: 54.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001998/0.9069, allocations: 440.9 kB / 0.789 GB, free: 54.34 MB / 0.5919 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.009252/0.9162, allocations: 5.427 MB / 0.7943 GB, free: 49.27 MB / 0.5919 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.818234503269196] Failed to read output from testmodel.py, exit status != 0: 1.0979516953229904 1.113633649 0.825541121 Calling exit ...