Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels.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.01035/0.01035, allocations: 1.794 MB / 21.35 MB, free: 3.195 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.0007948/0.0007948, allocations: 82.16 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.0008637/0.0008637, allocations: 163.6 kB / 29.06 MB, free: 3.672 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.8974/0.8974, allocations: 177.2 MB / 210 MB, free: 3.617 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.6091/0.6091, allocations: 102.4 MB / 369.5 MB, free: 404 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.TestPumpModels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5029,variableFilter="Time|pump_3.rho_CF_ps|pump_3.rho_upstream_ps|pump_3.rpm|speed1.phi",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5029,variableFilter="Time|pump_3.rho_CF_ps|pump_3.rho_upstream_ps|pump_3.rpm|speed1.phi",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 3.938 kB / 470 MB, free: 19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.491e-05, allocations: 3.953 kB / 470 MB, free: 19 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.TestPumpModels): time 0.1108/0.1108, allocations: 64.86 MB / 0.5223 GB, free: 7.082 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01999/0.1308, allocations: 19.18 MB / 0.541 GB, free: 3.859 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.1328, allocations: 83.38 kB / 0.5411 GB, free: 3.777 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002616/0.1355, allocations: 1.612 MB / 0.5427 GB, free: 2.156 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003291/0.1387, allocations: 1.995 MB / 0.5446 GB, free: 152 kB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004092/0.1428, allocations: 2.571 MB / 0.5471 GB, free: 13.57 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.004184/0.147, allocations: 4.653 MB / 0.5517 GB, free: 8.906 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001706/0.1487, allocations: 1.55 MB / 0.5532 GB, free: 7.32 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1126/0.2614, allocations: 47.85 MB / 0.5999 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.2636, allocations: 1.655 MB / 0.6015 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004111/0.264, allocations: 256 kB / 0.6018 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003072/0.2671, allocations: 1.91 MB / 0.6036 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005202/0.2676, allocations: 0.8831 MB / 0.6045 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0008931/0.2685, allocations: 1.005 MB / 0.6055 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004227/0.2727, allocations: 4.328 MB / 0.6097 GB, free: 14.55 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2727, allocations: 8 kB / 0.6097 GB, free: 14.55 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2727, allocations: 0 / 0.6097 GB, free: 14.55 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 6.801e-05/0.2728, allocations: 0 / 0.6097 GB, free: 14.55 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: 657 * Number of variables: 657 Notification: Performance of Generate backend data structure: time 0.004024/0.2768, allocations: 4.278 MB / 0.6139 GB, free: 10.18 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2769, allocations: 8.031 kB / 0.6139 GB, free: 10.18 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005138/0.2774, allocations: 0.5607 MB / 0.6144 GB, free: 9.613 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/0.2795, allocations: 2.151 MB / 0.6165 GB, free: 7.383 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.224e-05/0.2796, allocations: 140.1 kB / 0.6167 GB, free: 7.246 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.2797, allocations: 200.1 kB / 0.6169 GB, free: 7.051 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004439/0.2842, allocations: 4.265 MB / 0.621 GB, free: 1.906 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.701e-05/0.2842, allocations: 31.69 kB / 0.6211 GB, free: 1.875 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.2844, allocations: 92 kB / 0.6212 GB, free: 1.785 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-05/0.2844, allocations: 64 kB / 0.6212 GB, free: 1.723 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00347/0.2879, allocations: 2.031 MB / 0.6232 GB, free: 15.66 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.2988, allocations: 24.62 MB / 0.6472 GB, free: 6.191 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/0.302, allocations: 1.962 MB / 0.6492 GB, free: 4.074 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006433/0.3027, allocations: 0.6143 MB / 0.6498 GB, free: 3.391 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/0.3029, allocations: 117.1 kB / 0.6499 GB, free: 3.273 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002837/0.3057, allocations: 1.904 MB / 0.6517 GB, free: 1.215 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=332): time 3.327e-06/0.3057, allocations: 0 / 0.6517 GB, free: 1.215 MB / 0.5574 GB Notification: Performance of matching and sorting (n=333): time 0.217/0.5227, allocations: 14.59 MB / 0.666 GB, free: 110.4 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.5228, allocations: 0.8534 MB / 0.6668 GB, free: 109.4 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/0.5249, allocations: 2.588 MB / 0.6693 GB, free: 109 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.5251, allocations: 57.75 kB / 0.6694 GB, free: 109 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007029/0.5258, allocations: 1.54 MB / 0.6709 GB, free: 108.4 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005311/0.5263, allocations: 1.106 MB / 0.672 GB, free: 107.8 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006657/0.527, allocations: 0.7614 MB / 0.6727 GB, free: 107.7 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.011e-05/0.527, allocations: 480.8 kB / 0.6732 GB, free: 107.3 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009203/0.5279, allocations: 0.6935 MB / 0.6739 GB, free: 107.1 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.5294, allocations: 2.536 MB / 0.6763 GB, free: 104.7 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/0.5318, allocations: 3.225 MB / 0.6795 GB, free: 102.5 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/0.5318, allocations: 11.61 kB / 0.6795 GB, free: 102.5 MB / 0.5574 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.003815/0.5357, allocations: 3.363 MB / 0.6828 GB, free: 102 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.35e-05/0.5357, allocations: 151.4 kB / 0.6829 GB, free: 101.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002528/0.5382, allocations: 2.118 MB / 0.685 GB, free: 101.5 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003672/0.5386, allocations: 149.9 kB / 0.6851 GB, free: 101.5 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.5401, allocations: 0.8723 MB / 0.686 GB, free: 101.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003207/0.5433, allocations: 3.633 MB / 0.6895 GB, free: 98.77 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009527/0.5442, allocations: 163.1 kB / 0.6897 GB, free: 98.75 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000236/0.5445, allocations: 230 kB / 0.6899 GB, free: 98.75 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001273/0.5457, allocations: 0.8546 MB / 0.6908 GB, free: 98.49 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001461/0.5472, allocations: 2.527 MB / 0.6932 GB, free: 96.1 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002767/0.55, allocations: 3.227 MB / 0.6964 GB, free: 93.92 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.572e-05/0.55, allocations: 14.73 kB / 0.6964 GB, free: 93.92 MB / 0.5574 GB Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.004297/0.5543, allocations: 3.336 MB / 0.6996 GB, free: 93.39 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-05/0.5543, allocations: 151.1 kB / 0.6998 GB, free: 93.27 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002869/0.5572, allocations: 2.08 MB / 0.7018 GB, free: 92.95 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002885/0.5575, allocations: 120.3 kB / 0.7019 GB, free: 92.94 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.5592, allocations: 0.8808 MB / 0.7028 GB, free: 92.94 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/0.5622, allocations: 2.83 MB / 0.7056 GB, free: 90.99 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.5632, allocations: 162.9 kB / 0.7057 GB, free: 90.97 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/0.5635, allocations: 229 kB / 0.7059 GB, free: 90.97 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 28 (p_out_n3.nextEventScaled,p_out_n3.nextEvent,$PRE.p_out_n3.nextEvent,p_out_n3.last,p_out_n3.b,p_out_n3.a,p_out_n2.nextEventScaled,p_out_n2.nextEvent,$PRE.p_out_n2.nextEvent,p_out_n2.last,p_out_n2.b,p_out_n2.a,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,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (467): * Single equations (assignments): 461 * Array equations: 0 * Algorithm blocks: 4 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007825/0.5642, allocations: 0.6335 MB / 0.7065 GB, free: 90.58 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004891/0.5647, allocations: 422.2 kB / 0.707 GB, free: 90.38 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 388 equation(s) and 372 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump_1.summary.inlet.steamQuality, pump_1.fluidIn.cp, pump_1.fluidIn.cv, pump_1.fluidIn.beta, pump_1.fluidIn.kappa, pump_1.fluidIn.drhodp_hxi, pump_1.fluidIn.drhodh_pxi, _, pump_1.fluidIn.w, pump_1.fluidIn.gamma) = ($cse49, $cse50, $cse51, $cse52, $cse53, $cse54, $cse55, $cse56, $cse57, $cse58) has size 9 but 7 variables ($whenCondition1, ramp1.a, ramp1.b, ramp1.last, ramp1.nextEvent, ramp1.nextEventScaled, ramp1.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003622/0.5684, allocations: 3.345 MB / 0.7102 GB, free: 89.93 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.099944522138685]