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.005901/0.005901, allocations: 1.435 MB / 21.29 MB, free: 3.266 MB / 18.57 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.0006779/0.0006779, allocations: 92.64 kB / 24.9 MB, free: 7.262 MB / 18.57 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.0006944/0.0006944, allocations: 168.9 kB / 28.62 MB, free: 4.457 MB / 18.57 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 0.83/0.83, allocations: 177.1 MB / 209.4 MB, free: 3 MB / 186.7 MB " [Timeout remaining time 179] 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 0.719/0.719, allocations: 102.5 MB / 368.7 MB, free: 1.441 MB / 330.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5374 GB, free: 39.84 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.09e-05, allocations: 2.906 kB / 0.5374 GB, free: 39.84 MB / 490.8 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.1123/0.1123, allocations: 63.95 MB / 0.5998 GB, free: 12.06 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.0244/0.1367, allocations: 20.31 MB / 0.6197 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005385/0.1421, allocations: 99.25 kB / 0.6198 GB, free: 7.586 MB / 0.5105 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.00449/0.1466, allocations: 2.043 MB / 0.6218 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005888/0.1525, allocations: 2.838 MB / 0.6245 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005257/0.1578, allocations: 3.071 MB / 0.6275 GB, free: 15.59 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.007083/0.1648, allocations: 6.781 MB / 0.6342 GB, free: 8.793 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002565/0.1674, allocations: 1.965 MB / 0.6361 GB, free: 6.785 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004184/0.1716, allocations: 3.695 MB / 0.6397 GB, free: 3.082 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002306/0.1739, allocations: 2.278 MB / 0.6419 GB, free: 0.7969 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0006152/0.1745, allocations: 471.9 kB / 0.6424 GB, free: 344 kB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003708/0.1782, allocations: 2.245 MB / 0.6445 GB, free: 14.09 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.000838/0.1791, allocations: 1.327 MB / 0.6458 GB, free: 12.75 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.1804, allocations: 1.484 MB / 0.6473 GB, free: 11.27 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.007258/0.1876, allocations: 8.124 MB / 0.6552 GB, free: 3.117 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.1876, allocations: 0 / 0.6552 GB, free: 3.117 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.674e-06/0.1876, allocations: 0 / 0.6552 GB, free: 3.117 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 4.147e-05/0.1877, allocations: 0 / 0.6552 GB, free: 3.117 MB / 0.5418 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.005708/0.1934, allocations: 5.159 MB / 0.6603 GB, free: 13.88 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1934, allocations: 12.03 kB / 0.6603 GB, free: 13.87 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009949/0.1944, allocations: 0.6184 MB / 0.6609 GB, free: 13.25 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004767/0.1992, allocations: 4.066 MB / 0.6649 GB, free: 9.117 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.1993, allocations: 177 kB / 0.665 GB, free: 8.941 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/0.1995, allocations: 232.3 kB / 0.6652 GB, free: 8.715 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007809/0.2073, allocations: 5.994 MB / 0.6711 GB, free: 1.914 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.928e-05/0.2074, allocations: 31.69 kB / 0.6711 GB, free: 1.883 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.2076, allocations: 116 kB / 0.6712 GB, free: 1.77 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.569e-05/0.2076, allocations: 79.98 kB / 0.6713 GB, free: 1.691 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006499/0.2141, allocations: 4.013 MB / 0.6752 GB, free: 13.66 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01763/0.2318, allocations: 21.33 MB / 0.6961 GB, free: 7.629 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006418/0.2382, allocations: 3.516 MB / 0.6995 GB, free: 4 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.2397, allocations: 1.268 MB / 0.7007 GB, free: 2.68 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005806/0.2403, allocations: 257.6 kB / 0.701 GB, free: 2.43 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005017/0.2453, allocations: 3.166 MB / 0.7041 GB, free: 15.16 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=470): time 5.461e-06/0.2454, allocations: 0 / 0.7041 GB, free: 15.16 MB / 0.6043 GB Notification: Performance of matching and sorting (n=471): time 0.02727/0.2726, allocations: 21.59 MB / 0.7252 GB, free: 9.332 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003391/0.273, allocations: 0.823 MB / 0.726 GB, free: 8.316 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003851/0.2768, allocations: 3.229 MB / 0.7291 GB, free: 5.102 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0002825/0.2771, allocations: 57.7 kB / 0.7292 GB, free: 5.039 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/0.2781, allocations: 1.617 MB / 0.7307 GB, free: 3.406 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.00118/0.2793, allocations: 1.568 MB / 0.7323 GB, free: 1.824 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001062/0.2804, allocations: 0.9319 MB / 0.7332 GB, free: 0.8828 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2805, allocations: 308.9 kB / 0.7335 GB, free: 0.582 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/0.2828, allocations: 1.708 MB / 0.7352 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0029/0.2857, allocations: 3.175 MB / 0.7383 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005848/0.2916, allocations: 5.027 MB / 0.7432 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/0.2916, allocations: 15.94 kB / 0.7432 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.008337/0.2999, allocations: 5.709 MB / 0.7488 GB, free: 15.68 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 7.545e-05/0.3, allocations: 87.39 kB / 0.7488 GB, free: 15.58 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005665/0.3057, allocations: 4.356 MB / 0.7531 GB, free: 11.17 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01141/0.3171, allocations: 3.087 MB / 0.7561 GB, free: 8.078 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/0.3192, allocations: 1.139 MB / 0.7572 GB, free: 6.938 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005205/0.3244, allocations: 3.746 MB / 0.7609 GB, free: 3.059 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/0.3266, allocations: 211.6 kB / 0.7611 GB, free: 2.852 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003473/0.327, allocations: 315.8 kB / 0.7614 GB, free: 2.543 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003571/0.3306, allocations: 2.433 MB / 0.7638 GB, free: 92 kB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.2658/0.5964, allocations: 3.136 MB / 0.7668 GB, free: 179.1 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004854/0.6012, allocations: 4.98 MB / 0.7717 GB, free: 176 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.419e-05/0.6012, allocations: 10.44 kB / 0.7717 GB, free: 176 MB / 0.6512 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.007005/0.6082, allocations: 5.564 MB / 0.7771 GB, free: 173.8 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 5.601e-05/0.6083, allocations: 87.67 kB / 0.7772 GB, free: 173.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005413/0.6137, allocations: 4.215 MB / 0.7813 GB, free: 172 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0104/0.6241, allocations: 2.723 MB / 0.784 GB, free: 171.9 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/0.6262, allocations: 1.171 MB / 0.7851 GB, free: 171.7 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004437/0.6307, allocations: 3.45 MB / 0.7885 GB, free: 169.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/0.6326, allocations: 208.8 kB / 0.7887 GB, free: 169.4 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003542/0.633, allocations: 311.4 kB / 0.789 GB, free: 169.4 MB / 0.6512 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.000941/0.6339, allocations: 0.5131 MB / 0.7895 GB, free: 168.9 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006072/0.6345, allocations: 444.2 kB / 0.7899 GB, free: 168.9 MB / 0.6512 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.006521/0.641, allocations: 5.418 MB / 0.7952 GB, free: 166.6 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.344887643121183] Failed to read output from testmodel.py, exit status != 0: 0.7865528902038932 0.792832022 0.603810136 Calling exit ...