Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.008578/0.008578, allocations: 1.777 MB / 21.57 MB, free: 2.906 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.001175/0.001175, allocations: 88.23 kB / 25.4 MB, free: 6.996 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.001398/0.001398, allocations: 156.9 kB / 29.33 MB, free: 3.137 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 1.014/1.014, allocations: 177.2 MB / 210.3 MB, free: 3.414 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.6326/0.6326, allocations: 102.5 MB / 369.9 MB, free: 248 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.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_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_ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 3.938 kB / 470.5 MB, free: 18.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.211e-05, allocations: 2.312 kB / 470.5 MB, free: 18.78 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.1216/0.1217, allocations: 64.5 MB / 0.5224 GB, free: 7.121 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02251/0.1442, allocations: 19.05 MB / 0.541 GB, free: 4.02 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002852/0.147, allocations: 83.38 kB / 0.5411 GB, free: 3.938 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004006/0.151, allocations: 1.624 MB / 0.5427 GB, free: 2.305 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004941/0.156, allocations: 1.984 MB / 0.5446 GB, free: 316 kB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005263/0.1612, allocations: 2.583 MB / 0.5471 GB, free: 13.72 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.006002/0.1672, allocations: 4.639 MB / 0.5517 GB, free: 9.062 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/0.1696, allocations: 1.546 MB / 0.5532 GB, free: 7.48 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1271/0.2967, allocations: 47.86 MB / 0.5999 GB, free: 8.789 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003066/0.2997, allocations: 1.655 MB / 0.6015 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0009821/0.3007, allocations: 256 kB / 0.6018 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003981/0.3047, allocations: 1.906 MB / 0.6037 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0008797/0.3056, allocations: 0.8831 MB / 0.6045 GB, free: 4.082 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.3074, allocations: 1.013 MB / 0.6055 GB, free: 3.066 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.007678/0.3151, allocations: 4.324 MB / 0.6097 GB, free: 14.73 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3151, allocations: 0 / 0.6097 GB, free: 14.73 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.093e-06/0.3151, allocations: 0 / 0.6097 GB, free: 14.73 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001459/0.3152, allocations: 0 / 0.6097 GB, free: 14.73 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.005121/0.3203, allocations: 4.313 MB / 0.6139 GB, free: 10.33 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3204, allocations: 8.031 kB / 0.6139 GB, free: 10.32 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005793/0.321, allocations: 0.5607 MB / 0.6145 GB, free: 9.758 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/0.3236, allocations: 2.132 MB / 0.6166 GB, free: 7.547 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.701e-05/0.3237, allocations: 144.1 kB / 0.6167 GB, free: 7.406 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.3238, allocations: 200.1 kB / 0.6169 GB, free: 7.211 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004563/0.3284, allocations: 4.128 MB / 0.6209 GB, free: 2.203 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.706e-05/0.3285, allocations: 19.81 kB / 0.621 GB, free: 2.184 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.3286, allocations: 96 kB / 0.621 GB, free: 2.09 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/0.3286, allocations: 60 kB / 0.6211 GB, free: 2.031 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003356/0.332, allocations: 1.839 MB / 0.6229 GB, free: 156 kB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01329/0.3453, allocations: 24.18 MB / 0.6465 GB, free: 7.141 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003262/0.3485, allocations: 1.845 MB / 0.6483 GB, free: 5.141 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005251/0.3491, allocations: 0.5401 MB / 0.6488 GB, free: 4.531 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002481/0.3493, allocations: 168.5 kB / 0.649 GB, free: 4.363 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002828/0.3521, allocations: 1.829 MB / 0.6508 GB, free: 2.379 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=332): time 5.76e-06/0.3521, allocations: 0 / 0.6508 GB, free: 2.379 MB / 0.5574 GB Notification: Performance of matching and sorting (n=333): time 0.2222/0.5743, allocations: 5.881 MB / 0.6565 GB, free: 118.2 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.5745, allocations: 0.8504 MB / 0.6574 GB, free: 117.2 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/0.5764, allocations: 2.556 MB / 0.6599 GB, free: 116.8 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.5765, allocations: 55.58 kB / 0.6599 GB, free: 116.8 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007462/0.5773, allocations: 1.563 MB / 0.6614 GB, free: 116.2 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005634/0.5778, allocations: 1.126 MB / 0.6625 GB, free: 115.5 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006543/0.5785, allocations: 0.7755 MB / 0.6633 GB, free: 115.4 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.15e-05/0.5785, allocations: 479.4 kB / 0.6638 GB, free: 114.9 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005907/0.5791, allocations: 0.5809 MB / 0.6643 GB, free: 114.8 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.5804, allocations: 2.437 MB / 0.6667 GB, free: 112.4 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002591/0.583, allocations: 3.052 MB / 0.6697 GB, free: 110.2 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.201e-05/0.583, allocations: 8.906 kB / 0.6697 GB, free: 110.2 MB / 0.5574 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.00427/0.5872, allocations: 3.154 MB / 0.6728 GB, free: 109.7 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.526e-05/0.5873, allocations: 150.6 kB / 0.6729 GB, free: 109.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002158/0.5895, allocations: 1.97 MB / 0.6748 GB, free: 109.2 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003412/0.5898, allocations: 150.8 kB / 0.675 GB, free: 109.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.5912, allocations: 0.8728 MB / 0.6758 GB, free: 109.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003128/0.5943, allocations: 3.605 MB / 0.6794 GB, free: 106.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.5959, allocations: 168.3 kB / 0.6795 GB, free: 106.4 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003442/0.5963, allocations: 204.1 kB / 0.6797 GB, free: 106.4 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00165/0.5979, allocations: 0.7364 MB / 0.6804 GB, free: 106.2 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001613/0.5995, allocations: 2.432 MB / 0.6828 GB, free: 103.8 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0028/0.6023, allocations: 3.054 MB / 0.6858 GB, free: 101.6 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.306e-05/0.6023, allocations: 9.688 kB / 0.6858 GB, free: 101.6 MB / 0.5574 GB Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.004331/0.6067, allocations: 3.123 MB / 0.6888 GB, free: 101.1 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.821e-05/0.6067, allocations: 154.3 kB / 0.689 GB, free: 100.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002433/0.6092, allocations: 1.923 MB / 0.6909 GB, free: 100.6 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003326/0.6095, allocations: 127.6 kB / 0.691 GB, free: 100.6 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.6111, allocations: 0.8795 MB / 0.6918 GB, free: 100.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/0.6141, allocations: 2.81 MB / 0.6946 GB, free: 98.68 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/0.6161, allocations: 154.5 kB / 0.6947 GB, free: 98.66 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003737/0.6165, allocations: 200.2 kB / 0.6949 GB, free: 98.66 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.001036/0.6175, allocations: 0.6317 MB / 0.6955 GB, free: 98.24 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007604/0.6182, allocations: 430 kB / 0.696 GB, free: 98.03 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.003963/0.6222, allocations: 3.258 MB / 0.6991 GB, free: 97.53 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.447316857986152]