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.009581/0.009581, allocations: 1.439 MB / 21.3 MB, free: 3.254 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.0007266/0.0007266, allocations: 93.39 kB / 24.91 MB, free: 7.27 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.0007576/0.0007576, allocations: 167.8 kB / 28.62 MB, free: 4.449 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.8834/0.8834, allocations: 177.1 MB / 209.4 MB, free: 2.969 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7173/0.7173, allocations: 102.5 MB / 368.7 MB, free: 1.52 MB / 330.8 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.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_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 1.593e-06/1.593e-06, allocations: 0 / 0.5374 GB, free: 39.67 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.315e-05, allocations: 3.469 kB / 0.5374 GB, free: 39.66 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.1099/0.1099, allocations: 63.95 MB / 0.5999 GB, free: 11.98 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02707/0.137, allocations: 20.31 MB / 0.6197 GB, free: 7.602 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00474/0.1417, allocations: 99.25 kB / 0.6198 GB, free: 7.504 MB / 0.5105 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.00611/0.1479, allocations: 2.047 MB / 0.6218 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.008359/0.1562, allocations: 2.846 MB / 0.6246 GB, free: 2.582 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005327/0.1615, allocations: 3.051 MB / 0.6275 GB, free: 15.52 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.00615/0.1677, allocations: 6.781 MB / 0.6342 GB, free: 8.719 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.1694, allocations: 1.977 MB / 0.6361 GB, free: 6.699 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00302/0.1724, allocations: 3.695 MB / 0.6397 GB, free: 2.996 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/0.1742, allocations: 2.277 MB / 0.6419 GB, free: 0.7148 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003526/0.1746, allocations: 464 kB / 0.6424 GB, free: 268 kB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003468/0.178, allocations: 2.249 MB / 0.6446 GB, free: 14.01 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.0007263/0.1788, allocations: 1.327 MB / 0.6459 GB, free: 12.68 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.1798, allocations: 1.488 MB / 0.6473 GB, free: 11.18 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.006158/0.186, allocations: 8.112 MB / 0.6552 GB, free: 3.047 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.186, allocations: 0 / 0.6552 GB, free: 3.047 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.964e-06/0.186, allocations: 0 / 0.6552 GB, free: 3.047 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 3.347e-05/0.186, allocations: 3.938 kB / 0.6552 GB, free: 3.043 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.005502/0.1915, allocations: 5.159 MB / 0.6603 GB, free: 13.8 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1916, allocations: 8.031 kB / 0.6603 GB, free: 13.8 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009297/0.1925, allocations: 0.6223 MB / 0.6609 GB, free: 13.17 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004212/0.1967, allocations: 4.063 MB / 0.6649 GB, free: 9.043 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.1968, allocations: 181 kB / 0.665 GB, free: 8.863 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/0.1971, allocations: 228.4 kB / 0.6653 GB, free: 8.641 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007237/0.2043, allocations: 5.998 MB / 0.6711 GB, free: 1.836 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.213e-05/0.2043, allocations: 31.69 kB / 0.6711 GB, free: 1.805 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/0.2045, allocations: 112 kB / 0.6712 GB, free: 1.695 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-05/0.2046, allocations: 79.98 kB / 0.6713 GB, free: 1.617 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006175/0.2107, allocations: 4.017 MB / 0.6752 GB, free: 13.58 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01397/0.2247, allocations: 21.34 MB / 0.6961 GB, free: 7.547 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005467/0.2302, allocations: 3.526 MB / 0.6995 GB, free: 3.906 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.2316, allocations: 1.249 MB / 0.7007 GB, free: 2.605 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005323/0.2321, allocations: 265.6 kB / 0.701 GB, free: 2.348 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0047/0.2368, allocations: 3.159 MB / 0.7041 GB, free: 15.08 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=470): time 4.048e-06/0.2368, allocations: 0 / 0.7041 GB, free: 15.08 MB / 0.6043 GB Notification: Performance of matching and sorting (n=471): time 0.02372/0.2606, allocations: 21.58 MB / 0.7252 GB, free: 9.262 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002622/0.2608, allocations: 0.8307 MB / 0.726 GB, free: 8.238 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003165/0.264, allocations: 3.229 MB / 0.7291 GB, free: 5.023 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0001687/0.2642, allocations: 61.7 kB / 0.7292 GB, free: 4.957 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.2652, allocations: 1.618 MB / 0.7308 GB, free: 3.324 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008905/0.2661, allocations: 1.564 MB / 0.7323 GB, free: 1.746 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000926/0.267, allocations: 0.9358 MB / 0.7332 GB, free: 0.8008 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.2671, allocations: 312.9 kB / 0.7335 GB, free: 0.4961 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002026/0.2691, allocations: 1.703 MB / 0.7352 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002812/0.2719, allocations: 3.175 MB / 0.7383 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005073/0.277, allocations: 5.03 MB / 0.7432 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.277, allocations: 12 kB / 0.7432 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.006975/0.284, allocations: 5.714 MB / 0.7488 GB, free: 15.59 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.988e-05/0.2841, allocations: 83.39 kB / 0.7489 GB, free: 15.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00542/0.2895, allocations: 4.355 MB / 0.7531 GB, free: 11.09 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01077/0.3002, allocations: 3.091 MB / 0.7561 GB, free: 7.992 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/0.3022, allocations: 1.139 MB / 0.7572 GB, free: 6.852 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004808/0.307, allocations: 3.738 MB / 0.7609 GB, free: 2.98 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.3087, allocations: 211.6 kB / 0.7611 GB, free: 2.773 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003294/0.309, allocations: 315.8 kB / 0.7614 GB, free: 2.465 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00345/0.3125, allocations: 2.44 MB / 0.7638 GB, free: 4 kB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.2792/0.5916, allocations: 3.136 MB / 0.7668 GB, free: 179 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00471/0.5963, allocations: 4.974 MB / 0.7717 GB, free: 176 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.407e-05/0.5963, allocations: 11.19 kB / 0.7717 GB, free: 176 MB / 0.6512 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.0069/0.6032, allocations: 5.563 MB / 0.7771 GB, free: 173.8 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 5.892e-05/0.6033, allocations: 93.92 kB / 0.7772 GB, free: 173.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005284/0.6086, allocations: 4.215 MB / 0.7813 GB, free: 172 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/0.6187, allocations: 2.728 MB / 0.784 GB, free: 171.8 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/0.6209, allocations: 1.168 MB / 0.7851 GB, free: 171.7 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004121/0.625, allocations: 3.448 MB / 0.7885 GB, free: 169.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/0.6269, allocations: 206 kB / 0.7887 GB, free: 169.4 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003521/0.6272, allocations: 306.5 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.0008983/0.6281, allocations: 0.5197 MB / 0.7895 GB, free: 168.9 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000596/0.6287, allocations: 437.6 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.006312/0.635, allocations: 5.427 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.4890092005953193] Failed to read output from testmodel.py, exit status != 0: 0.7888045981526375 0.798676659 0.610751124 Calling exit ...