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.005842/0.005842, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0006703/0.0006703, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.000861/0.000861, allocations: 164.9 kB / 27.85 MB, free: 5.098 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.866/0.866, allocations: 177.2 MB / 208.6 MB, free: 2.945 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.7397/0.7397, allocations: 102.5 MB / 367.9 MB, free: 1.48 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: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L2_OffDesign",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L2_OffDesign",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.5362 GB, free: 40.08 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.371e-05, allocations: 6.969 kB / 0.5362 GB, free: 40.07 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.1137/0.1137, allocations: 63.95 MB / 0.5986 GB, free: 12.56 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02272/0.1365, allocations: 20.31 MB / 0.6185 GB, free: 8.176 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/0.1384, allocations: 95.25 kB / 0.6186 GB, free: 8.082 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.003273/0.1417, allocations: 2.047 MB / 0.6206 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003794/0.1455, allocations: 2.842 MB / 0.6233 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004531/0.15, allocations: 3.055 MB / 0.6263 GB, free: 108 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.005351/0.1553, allocations: 6.795 MB / 0.6329 GB, free: 9.281 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/0.1569, allocations: 1.973 MB / 0.6349 GB, free: 7.266 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002633/0.1596, allocations: 3.683 MB / 0.6385 GB, free: 3.574 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.1614, allocations: 2.279 MB / 0.6407 GB, free: 1.289 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003415/0.1617, allocations: 464 kB / 0.6411 GB, free: 0.8359 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003265/0.165, allocations: 2.241 MB / 0.6433 GB, free: 14.59 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.0007195/0.1657, allocations: 1.319 MB / 0.6446 GB, free: 13.27 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.1667, allocations: 1.492 MB / 0.6461 GB, free: 11.77 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.005666/0.1724, allocations: 8.12 MB / 0.654 GB, free: 3.625 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1724, allocations: 0 / 0.654 GB, free: 3.625 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.214e-06/0.1724, allocations: 0 / 0.654 GB, free: 3.625 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 3.31e-05/0.1724, allocations: 0 / 0.654 GB, free: 3.625 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.005141/0.1776, allocations: 5.169 MB / 0.6591 GB, free: 14.38 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.1776, allocations: 16.03 kB / 0.6591 GB, free: 14.36 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003466/0.178, allocations: 412.3 kB / 0.6595 GB, free: 13.95 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009445/0.1789, allocations: 0.6184 MB / 0.6601 GB, free: 13.33 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004522/0.1834, allocations: 4.073 MB / 0.664 GB, free: 9.191 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.1835, allocations: 177 kB / 0.6642 GB, free: 9.016 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002343/0.1838, allocations: 232.4 kB / 0.6644 GB, free: 8.789 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006839/0.1906, allocations: 5.997 MB / 0.6703 GB, free: 1.984 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.024e-05/0.1906, allocations: 35.75 kB / 0.6703 GB, free: 1.949 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.1908, allocations: 112 kB / 0.6704 GB, free: 1.84 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.716e-05/0.1909, allocations: 79.98 kB / 0.6705 GB, free: 1.762 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005975/0.1968, allocations: 4.013 MB / 0.6744 GB, free: 13.73 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01335/0.2102, allocations: 21.68 MB / 0.6956 GB, free: 7.34 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005591/0.2158, allocations: 3.523 MB / 0.699 GB, free: 3.699 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.2172, allocations: 1.26 MB / 0.7003 GB, free: 2.387 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005224/0.2177, allocations: 257.8 kB / 0.7005 GB, free: 2.137 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004571/0.2223, allocations: 3.17 MB / 0.7036 GB, free: 14.86 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=470): time 3.788e-06/0.2223, allocations: 0 / 0.7036 GB, free: 14.86 MB / 0.6043 GB Notification: Performance of matching and sorting (n=471): time 0.0232/0.2455, allocations: 21.59 MB / 0.7247 GB, free: 9.035 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002427/0.2457, allocations: 0.8344 MB / 0.7255 GB, free: 8.012 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00307/0.2488, allocations: 3.322 MB / 0.7288 GB, free: 4.668 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.2489, allocations: 61.7 kB / 0.7288 GB, free: 4.602 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008537/0.2498, allocations: 1.598 MB / 0.7304 GB, free: 2.992 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009058/0.2507, allocations: 1.564 MB / 0.7319 GB, free: 1.414 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009349/0.2516, allocations: 0.9358 MB / 0.7328 GB, free: 480 kB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 7.351e-05/0.2517, allocations: 305.1 kB / 0.7331 GB, free: 172 kB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002059/0.2538, allocations: 1.708 MB / 0.7348 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002804/0.2566, allocations: 3.171 MB / 0.7379 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005045/0.2616, allocations: 5.033 MB / 0.7428 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/0.2616, allocations: 12 kB / 0.7428 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.00713/0.2688, allocations: 5.721 MB / 0.7484 GB, free: 15.25 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.801e-05/0.2688, allocations: 83.39 kB / 0.7485 GB, free: 15.16 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005677/0.2745, allocations: 4.364 MB / 0.7527 GB, free: 10.74 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01101/0.2855, allocations: 3.079 MB / 0.7557 GB, free: 7.656 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/0.2875, allocations: 1.139 MB / 0.7568 GB, free: 6.516 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005368/0.2929, allocations: 3.757 MB / 0.7605 GB, free: 2.613 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.2947, allocations: 219.6 kB / 0.7607 GB, free: 2.398 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003279/0.2951, allocations: 315.7 kB / 0.761 GB, free: 2.09 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.2728/0.5679, allocations: 2.433 MB / 0.7634 GB, free: 181.6 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003646/0.5715, allocations: 3.139 MB / 0.7665 GB, free: 179.8 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006288/0.5778, allocations: 4.97 MB / 0.7713 GB, free: 176.6 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.839e-05/0.5778, allocations: 15.75 kB / 0.7713 GB, free: 176.6 MB / 0.6512 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.008535/0.5863, allocations: 5.569 MB / 0.7768 GB, free: 174.4 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 7.308e-05/0.5864, allocations: 86.78 kB / 0.7769 GB, free: 174.3 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006045/0.5925, allocations: 4.211 MB / 0.781 GB, free: 172.6 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01063/0.6031, allocations: 2.738 MB / 0.7836 GB, free: 172.5 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003116/0.6062, allocations: 1.166 MB / 0.7848 GB, free: 172.3 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004716/0.6109, allocations: 3.463 MB / 0.7882 GB, free: 170.1 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/0.6138, allocations: 208 kB / 0.7884 GB, free: 170 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005848/0.6143, allocations: 308.9 kB / 0.7887 GB, free: 169.9 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.001192/0.6155, allocations: 0.5112 MB / 0.7892 GB, free: 169.5 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/0.6166, allocations: 459.5 kB / 0.7896 GB, free: 169.5 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.007589/0.6242, allocations: 5.421 MB / 0.7949 GB, free: 167.2 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.498233729042113] Failed to read output from testmodel.py, exit status != 0: 0.7982080550864339 0.810691367 0.635882541 Calling exit ...