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.005998/0.005998, 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.0006701/0.0006701, 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.0007701/0.0007701, allocations: 164.4 kB / 27.86 MB, free: 5.094 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.8595/0.8595, allocations: 177.2 MB / 208.6 MB, free: 2.961 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.739/0.739, allocations: 102.5 MB / 367.9 MB, free: 1.484 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 1.874e-06/1.874e-06, allocations: 0 / 0.5362 GB, free: 40.03 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.564e-05, allocations: 8.156 kB / 0.5362 GB, free: 40.03 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.1181/0.1182, allocations: 63.94 MB / 0.5986 GB, free: 12.6 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02624/0.1444, allocations: 20.31 MB / 0.6185 GB, free: 8.215 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003464/0.1479, allocations: 99.25 kB / 0.6186 GB, free: 8.117 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.004592/0.1525, allocations: 2.043 MB / 0.6206 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.006608/0.1591, allocations: 2.846 MB / 0.6233 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005857/0.1649, allocations: 3.051 MB / 0.6263 GB, free: 144 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.008373/0.1733, allocations: 6.786 MB / 0.6329 GB, free: 9.332 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003255/0.1766, allocations: 1.981 MB / 0.6349 GB, free: 7.309 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005996/0.1826, allocations: 3.683 MB / 0.6385 GB, free: 3.617 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003406/0.186, allocations: 2.275 MB / 0.6407 GB, free: 1.336 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.001091/0.187, allocations: 464 kB / 0.6411 GB, free: 0.8828 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004079/0.1911, allocations: 2.249 MB / 0.6433 GB, free: 14.63 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.0009887/0.1921, allocations: 1.323 MB / 0.6446 GB, free: 13.3 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.002393/0.1945, allocations: 1.492 MB / 0.6461 GB, free: 11.8 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.009948/0.2045, allocations: 8.116 MB / 0.654 GB, free: 3.664 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2045, allocations: 0 / 0.654 GB, free: 3.664 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2045, allocations: 0 / 0.654 GB, free: 3.664 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0002501/0.2047, allocations: 0 / 0.654 GB, free: 3.664 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.008775/0.2135, allocations: 5.167 MB / 0.6591 GB, free: 14.42 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.2135, allocations: 8.031 kB / 0.6591 GB, free: 14.41 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004081/0.2139, allocations: 420.2 kB / 0.6595 GB, free: 13.99 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.2154, allocations: 0.6184 MB / 0.6601 GB, free: 13.37 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005467/0.2209, allocations: 4.061 MB / 0.664 GB, free: 9.238 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.221, allocations: 181 kB / 0.6642 GB, free: 9.059 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002478/0.2212, allocations: 232.4 kB / 0.6644 GB, free: 8.832 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007797/0.229, allocations: 5.997 MB / 0.6703 GB, free: 2.027 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.249e-05/0.2291, allocations: 27.75 kB / 0.6703 GB, free: 2 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.2293, allocations: 112 kB / 0.6704 GB, free: 1.891 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-05/0.2293, allocations: 80 kB / 0.6705 GB, free: 1.812 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006919/0.2362, allocations: 4.013 MB / 0.6744 GB, free: 13.78 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01808/0.2543, allocations: 21.7 MB / 0.6956 GB, free: 7.375 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006276/0.2606, allocations: 3.529 MB / 0.699 GB, free: 3.73 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/0.2624, allocations: 1.247 MB / 0.7003 GB, free: 2.434 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005882/0.2629, allocations: 269.8 kB / 0.7005 GB, free: 2.172 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005323/0.2683, allocations: 3.166 MB / 0.7036 GB, free: 14.9 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=470): time 5.46e-06/0.2683, allocations: 0 / 0.7036 GB, free: 14.9 MB / 0.6043 GB Notification: Performance of matching and sorting (n=471): time 0.02695/0.2952, allocations: 21.58 MB / 0.7247 GB, free: 9.078 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000281/0.2955, allocations: 0.8344 MB / 0.7255 GB, free: 8.055 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00391/0.2994, allocations: 3.318 MB / 0.7287 GB, free: 4.715 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0006748/0.3001, allocations: 62.2 kB / 0.7288 GB, free: 4.648 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.001432/0.3015, allocations: 1.602 MB / 0.7304 GB, free: 3.035 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.00133/0.3028, allocations: 1.564 MB / 0.7319 GB, free: 1.457 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/0.304, allocations: 0.9358 MB / 0.7328 GB, free: 0.5117 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 8.64e-05/0.3041, allocations: 305.1 kB / 0.7331 GB, free: 216 kB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/0.3063, allocations: 1.711 MB / 0.7348 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003116/0.3095, allocations: 3.168 MB / 0.7379 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00603/0.3155, allocations: 5.041 MB / 0.7428 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.473e-05/0.3155, allocations: 8 kB / 0.7428 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.008563/0.3241, allocations: 5.725 MB / 0.7484 GB, free: 15.29 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 7.906e-05/0.3242, allocations: 87.38 kB / 0.7485 GB, free: 15.19 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005951/0.3301, allocations: 4.356 MB / 0.7527 GB, free: 10.78 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01109/0.3412, allocations: 3.079 MB / 0.7557 GB, free: 7.695 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002737/0.3439, allocations: 1.139 MB / 0.7568 GB, free: 6.555 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005237/0.3492, allocations: 3.754 MB / 0.7605 GB, free: 2.656 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002611/0.3518, allocations: 219.6 kB / 0.7607 GB, free: 2.441 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005181/0.3523, allocations: 315.7 kB / 0.761 GB, free: 2.133 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.2824/0.6347, allocations: 2.437 MB / 0.7634 GB, free: 180.7 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003981/0.6387, allocations: 3.137 MB / 0.7665 GB, free: 179 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005998/0.6447, allocations: 4.982 MB / 0.7713 GB, free: 175.7 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.071e-05/0.6447, allocations: 15.62 kB / 0.7713 GB, free: 175.7 MB / 0.6512 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.008347/0.653, allocations: 5.566 MB / 0.7768 GB, free: 173.5 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.611e-05/0.6531, allocations: 85.48 kB / 0.7769 GB, free: 173.4 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005718/0.6588, allocations: 4.208 MB / 0.781 GB, free: 171.7 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01024/0.6691, allocations: 2.735 MB / 0.7836 GB, free: 171.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002929/0.672, allocations: 1.164 MB / 0.7848 GB, free: 171.5 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004503/0.6765, allocations: 3.466 MB / 0.7882 GB, free: 169.2 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/0.6792, allocations: 209.1 kB / 0.7884 GB, free: 169.1 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005333/0.6797, allocations: 309.6 kB / 0.7887 GB, free: 169.1 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.001354/0.6811, allocations: 0.5134 MB / 0.7892 GB, free: 168.6 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001285/0.6824, allocations: 447.7 kB / 0.7896 GB, free: 168.6 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.007781/0.6902, allocations: 5.425 MB / 0.7949 GB, free: 166.2 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.53011227119714] Failed to read output from testmodel.py, exit status != 0: 0.8429213389754295 0.850175747 0.644170092 Calling exit ...