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.006009/0.006009, allocations: 1.443 MB / 21.3 MB, free: 3.254 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.0006789/0.0006789, allocations: 90.55 kB / 24.91 MB, free: 7.266 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.0007094/0.0007094, allocations: 164.7 kB / 28.62 MB, free: 4.445 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.8736/0.8736, allocations: 177.2 MB / 209.4 MB, free: 2.977 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.7223/0.7223, allocations: 102.5 MB / 368.7 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: 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.833e-06/1.833e-06, allocations: 0 / 0.5374 GB, free: 39.75 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.534e-05, allocations: 2.281 kB / 0.5374 GB, free: 39.74 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.TestPumpModels): time 0.1101/0.1102, allocations: 60.6 MB / 0.5966 GB, free: 15.43 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02048/0.1306, allocations: 18.34 MB / 0.6145 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.1322, allocations: 79.44 kB / 0.6146 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002483/0.1347, allocations: 1.624 MB / 0.6162 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.1369, allocations: 1.972 MB / 0.6181 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003917/0.1408, allocations: 2.563 MB / 0.6206 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003305/0.1441, allocations: 4.657 MB / 0.6251 GB, free: 2.09 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.1452, allocations: 1.42 MB / 0.6265 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.1473, allocations: 2.615 MB / 0.6291 GB, free: 14.01 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.1487, allocations: 1.784 MB / 0.6308 GB, free: 12.22 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002552/0.1489, allocations: 308 kB / 0.6311 GB, free: 11.92 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002741/0.1517, allocations: 1.984 MB / 0.633 GB, free: 9.93 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005334/0.1522, allocations: 1.004 MB / 0.634 GB, free: 8.922 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006986/0.1529, allocations: 1.098 MB / 0.6351 GB, free: 7.82 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.004303/0.1572, allocations: 6.098 MB / 0.6411 GB, free: 1.703 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1572, allocations: 11.98 kB / 0.6411 GB, free: 1.691 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1572, allocations: 0 / 0.6411 GB, free: 1.691 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.465e-05/0.1572, allocations: 0 / 0.6411 GB, free: 1.691 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.004153/0.1614, allocations: 4.299 MB / 0.6453 GB, free: 13.31 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.1614, allocations: 12.03 kB / 0.6453 GB, free: 13.3 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008097/0.1622, allocations: 0.5019 MB / 0.6458 GB, free: 12.79 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003661/0.1659, allocations: 3.287 MB / 0.649 GB, free: 9.438 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.166, allocations: 148.1 kB / 0.6491 GB, free: 9.293 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004526/0.1665, allocations: 192.1 kB / 0.6493 GB, free: 9.105 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00512/0.1716, allocations: 4.464 MB / 0.6537 GB, free: 3.961 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.823e-05/0.1716, allocations: 27.75 kB / 0.6537 GB, free: 3.934 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.1718, allocations: 92 kB / 0.6538 GB, free: 3.844 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.843e-05/0.1718, allocations: 60 kB / 0.6538 GB, free: 3.785 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00449/0.1763, allocations: 2.884 MB / 0.6566 GB, free: 0.8672 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01106/0.1874, allocations: 17.73 MB / 0.674 GB, free: 14.49 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003707/0.1911, allocations: 2.391 MB / 0.6763 GB, free: 11.98 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.1923, allocations: 0.9632 MB / 0.6772 GB, free: 10.96 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002425/0.1925, allocations: 101.1 kB / 0.6773 GB, free: 10.86 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003099/0.1956, allocations: 2.302 MB / 0.6796 GB, free: 8.426 MB / 0.573 GB Notification: Performance of pre-optimization done (n=332): time 4.508e-06/0.1956, allocations: 0 / 0.6796 GB, free: 8.426 MB / 0.573 GB Notification: Performance of matching and sorting (n=333): time 0.01748/0.2131, allocations: 16.42 MB / 0.6956 GB, free: 7.77 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002576/0.2133, allocations: 0.7507 MB / 0.6964 GB, free: 6.852 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/0.2161, allocations: 2.758 MB / 0.699 GB, free: 4.082 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.2162, allocations: 53.7 kB / 0.6991 GB, free: 4.023 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007617/0.217, allocations: 1.414 MB / 0.7005 GB, free: 2.594 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005934/0.2176, allocations: 1.092 MB / 0.7015 GB, free: 1.492 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006782/0.2183, allocations: 0.7221 MB / 0.7023 GB, free: 0.7617 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 7.429e-05/0.2183, allocations: 309.1 kB / 0.7025 GB, free: 468 kB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/0.2197, allocations: 1.253 MB / 0.7038 GB, free: 15.17 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/0.2219, allocations: 2.47 MB / 0.7062 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003616/0.2255, allocations: 3.858 MB / 0.7099 GB, free: 7.742 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.2255, allocations: 15.98 kB / 0.71 GB, free: 7.727 MB / 0.6043 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.005305/0.2308, allocations: 4.353 MB / 0.7142 GB, free: 3.301 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.611e-05/0.2309, allocations: 150.8 kB / 0.7144 GB, free: 3.129 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003714/0.2346, allocations: 3.155 MB / 0.7174 GB, free: 15.91 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004446/0.2351, allocations: 173.5 kB / 0.7176 GB, free: 15.74 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/0.2366, allocations: 0.8813 MB / 0.7185 GB, free: 14.86 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003881/0.2405, allocations: 2.985 MB / 0.7214 GB, free: 11.75 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009621/0.2415, allocations: 167.5 kB / 0.7215 GB, free: 11.58 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/0.2417, allocations: 227.9 kB / 0.7218 GB, free: 11.36 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002104/0.2438, allocations: 1.848 MB / 0.7236 GB, free: 9.48 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002051/0.2458, allocations: 2.455 MB / 0.726 GB, free: 6.473 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003477/0.2493, allocations: 3.862 MB / 0.7297 GB, free: 2.066 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.768e-06/0.2493, allocations: 8 kB / 0.7297 GB, free: 2.059 MB / 0.6199 GB Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.004897/0.2542, allocations: 4.329 MB / 0.734 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.561e-05/0.2543, allocations: 150.8 kB / 0.7341 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003573/0.2579, allocations: 3.124 MB / 0.7372 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003178/0.2582, allocations: 148.9 kB / 0.7373 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.2597, allocations: 0.8852 MB / 0.7382 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003472/0.2632, allocations: 2.421 MB / 0.7405 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009418/0.2641, allocations: 163.6 kB / 0.7407 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/0.2644, allocations: 231.9 kB / 0.7409 GB, free: 6.371 MB / 0.6355 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.0006265/0.265, allocations: 0.5389 MB / 0.7414 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003643/0.2653, allocations: 373.5 kB / 0.7418 GB, free: 5.434 MB / 0.6355 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.004016/0.2694, allocations: 3.692 MB / 0.7454 GB, free: 1.672 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.287800050340593] Failed to read output from testmodel.py, exit status != 0: 0.6534896427765489 0.660325253 0.501700783 Calling exit ...