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.008312/0.008312, allocations: 1.795 MB / 21.89 MB, free: 2.637 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.0007814/0.0007814, allocations: 90.48 kB / 25.62 MB, free: 6.469 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.0008579/0.0008579, allocations: 170.2 kB / 29.46 MB, free: 2.996 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 1.014/1.014, allocations: 177.1 MB / 210.3 MB, free: 3.586 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.6883/0.6883, allocations: 102.4 MB / 369.8 MB, free: 364 kB / 330.7 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 1.0.0 (/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.183e-06/1.183e-06, allocations: 0 / 469.9 MB, free: 19.04 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186e-05/1.305e-05, allocations: 5.312 kB / 469.9 MB, free: 19.03 MB / 410.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.1125/0.1125, allocations: 68.69 MB / 0.5259 GB, free: 3.602 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02405/0.1365, allocations: 21.15 MB / 0.5466 GB, free: 14.39 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.1388, allocations: 99.25 kB / 0.5467 GB, free: 14.29 MB / 474.8 MB [/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.003349/0.1421, allocations: 2.039 MB / 0.5487 GB, free: 12.24 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004043/0.1462, allocations: 2.842 MB / 0.5515 GB, free: 9.379 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004821/0.151, allocations: 3.059 MB / 0.5544 GB, free: 6.312 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.005635/0.1566, allocations: 6.797 MB / 0.5611 GB, free: 15.49 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.1583, allocations: 2.072 MB / 0.5631 GB, free: 13.38 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002871/0.1612, allocations: 3.691 MB / 0.5667 GB, free: 9.68 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.1632, allocations: 2.281 MB / 0.5689 GB, free: 7.395 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0004019/0.1636, allocations: 464 kB / 0.5694 GB, free: 6.941 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003558/0.1671, allocations: 2.249 MB / 0.5716 GB, free: 4.691 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0009778/0.1681, allocations: 1.327 MB / 0.5729 GB, free: 3.359 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.1693, allocations: 1.488 MB / 0.5743 GB, free: 1.867 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.005525/0.1748, allocations: 5.395 MB / 0.5796 GB, free: 12.45 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1748, allocations: 0 / 0.5796 GB, free: 12.45 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1748, allocations: 0 / 0.5796 GB, free: 12.45 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 3.004e-05/0.1749, allocations: 4 kB / 0.5796 GB, free: 12.45 MB / 0.4949 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.005176/0.1801, allocations: 5.393 MB / 0.5849 GB, free: 6.969 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1801, allocations: 8.031 kB / 0.5849 GB, free: 6.961 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.1813, allocations: 0.7981 MB / 0.5856 GB, free: 6.16 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004117/0.1854, allocations: 3.802 MB / 0.5894 GB, free: 2.281 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.1855, allocations: 181 kB / 0.5895 GB, free: 2.102 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002393/0.1858, allocations: 236.4 kB / 0.5898 GB, free: 1.871 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006414/0.1922, allocations: 5.539 MB / 0.5952 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.437e-05/0.1922, allocations: 35.64 kB / 0.5952 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/0.1924, allocations: 112 kB / 0.5953 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.397e-05/0.1925, allocations: 83.97 kB / 0.5954 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005073/0.1975, allocations: 2.736 MB / 0.5981 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01526/0.2128, allocations: 28.43 MB / 0.6258 GB, free: 10.99 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005209/0.218, allocations: 2.802 MB / 0.6286 GB, free: 8.035 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.219, allocations: 0.7693 MB / 0.6293 GB, free: 7.199 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005192/0.2196, allocations: 261.8 kB / 0.6296 GB, free: 6.945 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004303/0.2239, allocations: 2.553 MB / 0.6321 GB, free: 4.258 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=470): time 5.5e-06/0.2239, allocations: 0 / 0.6321 GB, free: 4.258 MB / 0.5418 GB Notification: Performance of matching and sorting (n=471): time 0.02191/0.2458, allocations: 18.94 MB / 0.6505 GB, free: 1.078 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002286/0.246, allocations: 0.8191 MB / 0.6513 GB, free: 68 kB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.203/0.449, allocations: 2.987 MB / 0.6543 GB, free: 154.9 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.000602/0.4496, allocations: 61.92 kB / 0.6543 GB, free: 154.9 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009047/0.4505, allocations: 1.753 MB / 0.656 GB, free: 154.4 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009399/0.4514, allocations: 1.59 MB / 0.6576 GB, free: 153.5 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009525/0.4524, allocations: 0.9918 MB / 0.6586 GB, free: 153.2 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.4524, allocations: 483.2 kB / 0.659 GB, free: 152.7 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.4538, allocations: 0.9169 MB / 0.6599 GB, free: 152.5 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002144/0.4559, allocations: 2.891 MB / 0.6627 GB, free: 149.8 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003976/0.4599, allocations: 3.899 MB / 0.6665 GB, free: 146.9 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.016e-05/0.4599, allocations: 13.62 kB / 0.6666 GB, free: 146.9 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.006625/0.4666, allocations: 4.229 MB / 0.6707 GB, free: 145.7 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 8.875e-05/0.4667, allocations: 86.02 kB / 0.6708 GB, free: 145.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004506/0.4712, allocations: 2.798 MB / 0.6735 GB, free: 144.8 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0111/0.4823, allocations: 2.782 MB / 0.6762 GB, free: 144.7 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/0.4844, allocations: 1.143 MB / 0.6773 GB, free: 144.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004131/0.4885, allocations: 3.997 MB / 0.6812 GB, free: 141.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.4903, allocations: 206.6 kB / 0.6814 GB, free: 141.6 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003451/0.4907, allocations: 302.9 kB / 0.6817 GB, free: 141.6 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002206/0.4929, allocations: 1.058 MB / 0.6828 GB, free: 141.2 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002113/0.495, allocations: 2.885 MB / 0.6856 GB, free: 138.5 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004471/0.4995, allocations: 3.867 MB / 0.6894 GB, free: 135.6 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.136e-05/0.4995, allocations: 10.12 kB / 0.6894 GB, free: 135.6 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.007712/0.5072, allocations: 4.135 MB / 0.6934 GB, free: 134 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.143e-05/0.5073, allocations: 87.17 kB / 0.6935 GB, free: 133.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004976/0.5122, allocations: 2.712 MB / 0.6961 GB, free: 132.8 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01039/0.5226, allocations: 2.48 MB / 0.6986 GB, free: 132 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002259/0.5249, allocations: 1.16 MB / 0.6997 GB, free: 131.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003945/0.5288, allocations: 3.825 MB / 0.7034 GB, free: 128.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/0.531, allocations: 198.6 kB / 0.7036 GB, free: 128.4 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003967/0.5314, allocations: 303 kB / 0.7039 GB, free: 128.3 MB / 0.5574 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.001408/0.5328, allocations: 0.6023 MB / 0.7045 GB, free: 127.8 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009479/0.5338, allocations: 0.4957 MB / 0.705 GB, free: 127.5 MB / 0.5574 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.005797/0.5396, allocations: 4.925 MB / 0.7098 GB, free: 125.1 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3531730289105326]