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.008224/0.008224, allocations: 1.799 MB / 21.35 MB, free: 3.184 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.0008391/0.0008391, allocations: 91.81 kB / 25.15 MB, free: 7.473 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.0008538/0.0008538, allocations: 166.8 kB / 29.06 MB, free: 3.656 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.9637/0.9637, allocations: 177.2 MB / 210 MB, free: 3.543 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.6172/0.6172, allocations: 102.5 MB / 369.5 MB, free: 368 kB / 330.7 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 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_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.373e-06/1.373e-06, allocations: 0 / 470 MB, free: 19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.823e-05, allocations: 4.234 kB / 470 MB, free: 18.99 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.1138/0.1138, allocations: 68.79 MB / 0.5261 GB, free: 3.082 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02463/0.1384, allocations: 21.19 MB / 0.5468 GB, free: 13.84 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002934/0.1414, allocations: 103.2 kB / 0.5469 GB, free: 13.73 MB / 474.8 MB [/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.003551/0.1449, allocations: 2.043 MB / 0.5489 GB, free: 11.68 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005078/0.15, allocations: 2.861 MB / 0.5517 GB, free: 8.801 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005059/0.1551, allocations: 3.072 MB / 0.5547 GB, free: 5.727 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.007375/0.1624, allocations: 6.796 MB / 0.5614 GB, free: 14.91 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0027/0.1651, allocations: 2.076 MB / 0.5634 GB, free: 12.79 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1116/0.2768, allocations: 48.99 MB / 0.6112 GB, free: 12.99 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003302/0.2801, allocations: 2.158 MB / 0.6133 GB, free: 10.82 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0007304/0.2808, allocations: 408 kB / 0.6137 GB, free: 10.43 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004352/0.2852, allocations: 2.191 MB / 0.6159 GB, free: 8.23 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0008247/0.286, allocations: 1.21 MB / 0.617 GB, free: 7.016 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.2876, allocations: 1.402 MB / 0.6184 GB, free: 5.609 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.008113/0.2957, allocations: 5.251 MB / 0.6235 GB, free: 348 kB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.2957, allocations: 0 / 0.6235 GB, free: 348 kB / 0.5262 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2957, allocations: 0 / 0.6235 GB, free: 348 kB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0002123/0.2959, allocations: 0 / 0.6235 GB, free: 348 kB / 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.009629/0.3056, allocations: 5.147 MB / 0.6286 GB, free: 11.1 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 8.298e-05/0.3056, allocations: 8.031 kB / 0.6286 GB, free: 11.09 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.307, allocations: 0.7006 MB / 0.6293 GB, free: 10.39 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003755/0.3108, allocations: 2.984 MB / 0.6322 GB, free: 7.328 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.3109, allocations: 177 kB / 0.6323 GB, free: 7.152 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002513/0.3112, allocations: 248.3 kB / 0.6326 GB, free: 6.91 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007595/0.3188, allocations: 5.522 MB / 0.638 GB, free: 380 kB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.15e-05/0.3188, allocations: 39.62 kB / 0.638 GB, free: 340 kB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/0.319, allocations: 112 kB / 0.6381 GB, free: 228 kB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.829e-05/0.3191, allocations: 79.94 kB / 0.6382 GB, free: 148 kB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005219/0.3243, allocations: 2.755 MB / 0.6409 GB, free: 13.36 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2623/0.5866, allocations: 28.53 MB / 0.6687 GB, free: 86.07 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005051/0.5917, allocations: 2.793 MB / 0.6715 GB, free: 85.58 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008902/0.5926, allocations: 0.7617 MB / 0.6722 GB, free: 85.37 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004975/0.5931, allocations: 260.1 kB / 0.6725 GB, free: 85.36 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004272/0.5973, allocations: 2.565 MB / 0.675 GB, free: 84.87 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=467): time 7.985e-06/0.5973, allocations: 0 / 0.675 GB, free: 84.87 MB / 0.5574 GB Notification: Performance of matching and sorting (n=468): time 0.02191/0.6193, allocations: 19.02 MB / 0.6935 GB, free: 75.82 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001758/0.6194, allocations: 0.9446 MB / 0.6945 GB, free: 74.69 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00316/0.6226, allocations: 2.949 MB / 0.6973 GB, free: 74.27 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001707/0.6228, allocations: 61.36 kB / 0.6974 GB, free: 74.24 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009873/0.6237, allocations: 1.76 MB / 0.6991 GB, free: 73.54 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009354/0.6247, allocations: 1.586 MB / 0.7007 GB, free: 72.46 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001335/0.626, allocations: 0.9984 MB / 0.7016 GB, free: 72.37 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.769e-05/0.6261, allocations: 483.3 kB / 0.7021 GB, free: 71.89 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.6276, allocations: 0.9212 MB / 0.703 GB, free: 71.79 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002402/0.63, allocations: 3.104 MB / 0.706 GB, free: 69.06 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004478/0.6345, allocations: 3.948 MB / 0.7099 GB, free: 66.8 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.302e-05/0.6345, allocations: 14.56 kB / 0.7099 GB, free: 66.8 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.007293/0.6418, allocations: 4.268 MB / 0.7141 GB, free: 66.3 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.394e-05/0.6419, allocations: 88.28 kB / 0.7142 GB, free: 66.23 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004647/0.6465, allocations: 2.838 MB / 0.7169 GB, free: 65.97 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007049/0.6536, allocations: 1.634 MB / 0.7185 GB, free: 65.9 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.6557, allocations: 1.146 MB / 0.7196 GB, free: 65.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003421/0.6591, allocations: 3.613 MB / 0.7232 GB, free: 62.71 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.661, allocations: 212.2 kB / 0.7234 GB, free: 62.66 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003322/0.6613, allocations: 309.4 kB / 0.7237 GB, free: 62.61 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00207/0.6634, allocations: 1.066 MB / 0.7247 GB, free: 62.25 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002049/0.6654, allocations: 3.09 MB / 0.7277 GB, free: 59.29 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003752/0.6692, allocations: 3.916 MB / 0.7315 GB, free: 56.85 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.374e-05/0.6692, allocations: 10 kB / 0.7316 GB, free: 56.85 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.006029/0.6752, allocations: 4.209 MB / 0.7357 GB, free: 55.89 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.817e-05/0.6753, allocations: 90.34 kB / 0.7358 GB, free: 55.82 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003897/0.6792, allocations: 2.758 MB / 0.7384 GB, free: 55.04 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00573/0.6849, allocations: 1.404 MB / 0.7398 GB, free: 54.58 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/0.6869, allocations: 1.143 MB / 0.7409 GB, free: 54.34 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003057/0.6899, allocations: 3.58 MB / 0.7444 GB, free: 51.22 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.6916, allocations: 202.7 kB / 0.7446 GB, free: 51.1 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000303/0.6919, allocations: 310.8 kB / 0.7449 GB, free: 51.01 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.001121/0.693, allocations: 0.6038 MB / 0.7455 GB, free: 50.53 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007203/0.6937, allocations: 0.4946 MB / 0.746 GB, free: 50.25 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.0052/0.6989, allocations: 4.921 MB / 0.7508 GB, free: 45.96 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4780552089214325]