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.008276/0.008276, allocations: 1.781 MB / 22.36 MB, free: 2.117 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.001062/0.001062, allocations: 78.16 kB / 26.19 MB, free: 6.078 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.001231/0.001231, allocations: 163.9 kB / 30.12 MB, free: 2.184 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.9963/0.9963, allocations: 177.2 MB / 211.1 MB, free: 3.449 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.6086/0.6086, allocations: 102.4 MB / 370.6 MB, free: 204 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.022e-06/1.022e-06, allocations: 0 / 471.2 MB, free: 18.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.105e-05, allocations: 2.859 kB / 471.2 MB, free: 18.79 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.1469/0.1469, allocations: 68.28 MB / 0.5269 GB, free: 3.316 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02457/0.1714, allocations: 21.06 MB / 0.5474 GB, free: 14.2 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004169/0.1756, allocations: 99.25 kB / 0.5475 GB, free: 14.1 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.004889/0.1805, allocations: 2.043 MB / 0.5495 GB, free: 12.04 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.006998/0.1875, allocations: 2.873 MB / 0.5523 GB, free: 9.152 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005493/0.193, allocations: 3.067 MB / 0.5553 GB, free: 6.078 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.007486/0.2005, allocations: 6.792 MB / 0.5619 GB, free: 15.26 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003198/0.2037, allocations: 2.072 MB / 0.564 GB, free: 13.15 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1214/0.3251, allocations: 48.99 MB / 0.6118 GB, free: 13.35 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003387/0.3285, allocations: 2.165 MB / 0.6139 GB, free: 11.18 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.000821/0.3293, allocations: 404 kB / 0.6143 GB, free: 10.79 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003958/0.3333, allocations: 2.191 MB / 0.6164 GB, free: 8.59 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009451/0.3342, allocations: 1.214 MB / 0.6176 GB, free: 7.371 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.002033/0.3362, allocations: 1.395 MB / 0.619 GB, free: 5.973 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.007435/0.3437, allocations: 5.243 MB / 0.6241 GB, free: 0.7109 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3437, allocations: 4 kB / 0.6241 GB, free: 0.707 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3437, allocations: 4 kB / 0.6241 GB, free: 0.7031 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001195/0.3438, allocations: 0 / 0.6241 GB, free: 0.7031 MB / 0.5262 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.005739/0.3495, allocations: 5.193 MB / 0.6292 GB, free: 11.42 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3496, allocations: 8.031 kB / 0.6292 GB, free: 11.41 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008205/0.3504, allocations: 0.7045 MB / 0.6299 GB, free: 10.7 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003074/0.3535, allocations: 2.953 MB / 0.6328 GB, free: 7.672 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.3536, allocations: 177 kB / 0.6329 GB, free: 7.496 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/0.3538, allocations: 244.4 kB / 0.6332 GB, free: 7.258 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005813/0.3596, allocations: 5.31 MB / 0.6384 GB, free: 0.9297 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-05/0.3597, allocations: 39.62 kB / 0.6384 GB, free: 0.8906 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/0.3599, allocations: 116 kB / 0.6385 GB, free: 0.7773 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.884e-05/0.3599, allocations: 76 kB / 0.6386 GB, free: 0.7031 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004376/0.3643, allocations: 2.483 MB / 0.641 GB, free: 14.18 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2421/0.6064, allocations: 28.03 MB / 0.6684 GB, free: 86.13 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006255/0.6127, allocations: 2.625 MB / 0.6709 GB, free: 85.63 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008647/0.6135, allocations: 0.6493 MB / 0.6716 GB, free: 85.42 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005866/0.6141, allocations: 258.7 kB / 0.6718 GB, free: 85.41 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005267/0.6194, allocations: 2.443 MB / 0.6742 GB, free: 84.93 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=467): time 9.739e-06/0.6194, allocations: 3.828 kB / 0.6742 GB, free: 84.93 MB / 0.5574 GB Notification: Performance of matching and sorting (n=468): time 0.02043/0.6398, allocations: 7.968 MB / 0.682 GB, free: 84.12 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/0.64, allocations: 0.9505 MB / 0.6829 GB, free: 82.99 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002885/0.6429, allocations: 2.903 MB / 0.6858 GB, free: 82.59 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0002056/0.6431, allocations: 61.05 kB / 0.6858 GB, free: 82.56 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.6441, allocations: 1.788 MB / 0.6876 GB, free: 81.99 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001026/0.6452, allocations: 1.595 MB / 0.6891 GB, free: 81.12 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00137/0.6465, allocations: 1.022 MB / 0.6901 GB, free: 81.02 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.035e-05/0.6466, allocations: 476.8 kB / 0.6906 GB, free: 80.55 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.6479, allocations: 0.7577 MB / 0.6913 GB, free: 80.45 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.6498, allocations: 2.957 MB / 0.6942 GB, free: 77.72 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003082/0.6528, allocations: 3.654 MB / 0.6978 GB, free: 75.46 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/0.6529, allocations: 11.41 kB / 0.6978 GB, free: 75.46 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.005673/0.6585, allocations: 3.898 MB / 0.7016 GB, free: 74.96 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.007e-05/0.6586, allocations: 91.2 kB / 0.7017 GB, free: 74.89 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003513/0.6621, allocations: 2.524 MB / 0.7041 GB, free: 74.64 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007292/0.6694, allocations: 1.625 MB / 0.7057 GB, free: 74.61 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/0.6716, allocations: 1.14 MB / 0.7068 GB, free: 74.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003285/0.6749, allocations: 3.568 MB / 0.7103 GB, free: 71.52 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.6767, allocations: 209 kB / 0.7105 GB, free: 71.49 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003197/0.6771, allocations: 270.2 kB / 0.7108 GB, free: 71.44 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001732/0.6788, allocations: 0.9002 MB / 0.7117 GB, free: 71.07 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001609/0.6804, allocations: 2.943 MB / 0.7145 GB, free: 68.12 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00293/0.6833, allocations: 3.637 MB / 0.7181 GB, free: 65.68 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.706e-05/0.6833, allocations: 13.38 kB / 0.7181 GB, free: 65.68 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.004731/0.6881, allocations: 3.835 MB / 0.7218 GB, free: 64.72 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.315e-05/0.6881, allocations: 88.27 kB / 0.7219 GB, free: 64.66 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002954/0.6911, allocations: 2.474 MB / 0.7243 GB, free: 64.02 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005776/0.6968, allocations: 1.398 MB / 0.7257 GB, free: 63.6 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/0.6988, allocations: 1.137 MB / 0.7268 GB, free: 63.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002953/0.7017, allocations: 3.528 MB / 0.7303 GB, free: 60.44 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.7034, allocations: 197.6 kB / 0.7305 GB, free: 60.41 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002897/0.7037, allocations: 274.4 kB / 0.7307 GB, free: 60.36 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (598): * Single equations (assignments): 594 * 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,28)} Notification: Performance of prepare postOptimizeDAE: time 0.001043/0.7048, allocations: 0.6034 MB / 0.7313 GB, free: 60.02 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007986/0.7056, allocations: 0.5021 MB / 0.7318 GB, free: 59.77 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 659 equation(s) and 632 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.004925/0.7105, allocations: 4.772 MB / 0.7365 GB, free: 58.17 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4348938637413085]