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.01495/0.01495, allocations: 1.348 MB / 20.45 MB, free: 1.25 MB / 14.72 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.001428/0.001428, allocations: 78.78 kB / 24.02 MB, free: 2.59 MB / 14.72 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.001769/0.001769, allocations: 154.5 kB / 27.71 MB, free: 3.844 MB / 19.63 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.481/1.481, allocations: 177.1 MB / 208.4 MB, free: 7.668 MB / 190.1 MB " [Timeout remaining time 178] 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 1.063/1.063, allocations: 102.5 MB / 367.8 MB, free: 4.621 MB / 334.1 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.3.1 (/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 2.214e-06/2.214e-06, allocations: 0 / 0.5364 GB, free: 7.129 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.491e-05/3.712e-05, allocations: 6.281 kB / 0.5365 GB, free: 7.121 MB / 446.1 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.1821/0.1822, allocations: 60.63 MB / 0.5957 GB, free: 13.01 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.03018/0.2123, allocations: 18.33 MB / 0.6136 GB, free: 10.62 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003195/0.2155, allocations: 79.44 kB / 0.6136 GB, free: 10.54 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.005099/0.2206, allocations: 1.632 MB / 0.6152 GB, free: 8.898 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.006442/0.2271, allocations: 1.96 MB / 0.6171 GB, free: 6.926 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.007366/0.2344, allocations: 2.578 MB / 0.6197 GB, free: 4.344 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.007947/0.2424, allocations: 4.648 MB / 0.6242 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00292/0.2453, allocations: 1.436 MB / 0.6256 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004531/0.2498, allocations: 2.607 MB / 0.6282 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003234/0.2531, allocations: 1.79 MB / 0.6299 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000582/0.2536, allocations: 308 kB / 0.6302 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004315/0.258, allocations: 1.98 MB / 0.6321 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.259, allocations: 1.016 MB / 0.6331 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.2607, allocations: 1.091 MB / 0.6342 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009098/0.2698, allocations: 6.11 MB / 0.6401 GB, free: 15.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2698, allocations: 0 / 0.6401 GB, free: 15.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2698, allocations: 3.938 kB / 0.6402 GB, free: 15.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.367e-05/0.2699, allocations: 0 / 0.6402 GB, free: 15.27 MB / 0.545 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.00784/0.2777, allocations: 4.31 MB / 0.6444 GB, free: 10.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2777, allocations: 8.031 kB / 0.6444 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.2792, allocations: 0.5019 MB / 0.6449 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006288/0.2855, allocations: 3.268 MB / 0.6481 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.2856, allocations: 152.1 kB / 0.6482 GB, free: 6.879 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000292/0.2859, allocations: 196 kB / 0.6484 GB, free: 6.688 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.296, allocations: 4.464 MB / 0.6527 GB, free: 1.543 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-05/0.2961, allocations: 19.81 kB / 0.6528 GB, free: 1.523 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/0.2963, allocations: 92 kB / 0.6529 GB, free: 1.434 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.49e-05/0.2963, allocations: 64 kB / 0.6529 GB, free: 1.371 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008014/0.3044, allocations: 2.873 MB / 0.6557 GB, free: 14.46 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01945/0.3238, allocations: 17.75 MB / 0.673 GB, free: 12.07 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007462/0.3313, allocations: 2.387 MB / 0.6754 GB, free: 9.562 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/0.3332, allocations: 0.95 MB / 0.6763 GB, free: 8.551 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003462/0.3335, allocations: 105.1 kB / 0.6764 GB, free: 8.449 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007112/0.3407, allocations: 2.296 MB / 0.6787 GB, free: 6.016 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=332): time 7.053e-06/0.3407, allocations: 0 / 0.6787 GB, free: 6.016 MB / 0.5763 GB Notification: Performance of matching and sorting (n=333): time 0.05454/0.3952, allocations: 16.43 MB / 0.6947 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000625/0.3958, allocations: 0.7586 MB / 0.6954 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005154/0.401, allocations: 2.754 MB / 0.6981 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0007119/0.4017, allocations: 57.7 kB / 0.6982 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001555/0.4032, allocations: 1.41 MB / 0.6996 GB, free: 184 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.357/0.7603, allocations: 1.092 MB / 0.7006 GB, free: 132.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00291/0.7632, allocations: 0.7136 MB / 0.7013 GB, free: 132.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.7632, allocations: 302.6 kB / 0.7016 GB, free: 132.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003222/0.7664, allocations: 1.252 MB / 0.7028 GB, free: 132 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004005/0.7705, allocations: 2.469 MB / 0.7052 GB, free: 130 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006825/0.7773, allocations: 3.862 MB / 0.709 GB, free: 127.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.265e-05/0.7774, allocations: 10.62 kB / 0.709 GB, free: 127.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.01192/0.7893, allocations: 4.365 MB / 0.7133 GB, free: 125.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.7894, allocations: 150.2 kB / 0.7134 GB, free: 125.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007604/0.797, allocations: 3.16 MB / 0.7165 GB, free: 124 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.798, allocations: 173.5 kB / 0.7167 GB, free: 123.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003119/0.8012, allocations: 0.8799 MB / 0.7175 GB, free: 123.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00801/0.8092, allocations: 2.982 MB / 0.7205 GB, free: 121.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002974/0.8121, allocations: 167.8 kB / 0.7206 GB, free: 121.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009096/0.813, allocations: 230.4 kB / 0.7208 GB, free: 121.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005141/0.8182, allocations: 1.84 MB / 0.7226 GB, free: 120.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003418/0.8216, allocations: 2.467 MB / 0.725 GB, free: 118.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005801/0.8274, allocations: 3.85 MB / 0.7288 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.298e-05/0.8275, allocations: 7.719 kB / 0.7288 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.009003/0.8365, allocations: 4.33 MB / 0.733 GB, free: 113.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.75e-05/0.8366, allocations: 162.2 kB / 0.7332 GB, free: 113.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005717/0.8423, allocations: 3.123 MB / 0.7362 GB, free: 110 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006981/0.843, allocations: 136.8 kB / 0.7364 GB, free: 109.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/0.8456, allocations: 0.88 MB / 0.7372 GB, free: 108.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007107/0.8527, allocations: 2.443 MB / 0.7396 GB, free: 106.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002879/0.8556, allocations: 159.7 kB / 0.7398 GB, free: 106.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007603/0.8563, allocations: 231.9 kB / 0.74 GB, free: 106.1 MB / 0.5919 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.001515/0.8579, allocations: 0.5446 MB / 0.7405 GB, free: 105.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/0.859, allocations: 365.6 kB / 0.7409 GB, free: 105.2 MB / 0.5919 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.00636/0.8653, allocations: 3.684 MB / 0.7445 GB, free: 101.7 MB / 0.5919 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.710839316248894] Failed to read output from testmodel.py, exit status != 0: 1.0354048684239388 1.047089055 0.7741128500000001 Calling exit ...