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.008212/0.008212, allocations: 1.787 MB / 20.88 MB, free: 3.648 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.003753/0.003753, allocations: 80.78 kB / 24.59 MB, free: 7.203 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.0009145/0.0009145, allocations: 170.6 kB / 28.41 MB, free: 4.316 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.8405/0.8405, allocations: 177.2 MB / 209.3 MB, free: 2.516 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.675/0.675, allocations: 102.5 MB / 368.7 MB, free: 0.9922 MB / 330.8 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels,fileNamePrefix="ClaRa_dev_ClaRa_Components_TurboMachines_Pumps_Check_TestPumpModels",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels,fileNamePrefix="ClaRa_dev_ClaRa_Components_TurboMachines_Pumps_Check_TestPumpModels",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.5378 GB, free: 39.04 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.608e-06/1.072e-05, allocations: 6.531 kB / 0.5378 GB, free: 39.04 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.1108/0.1108, allocations: 69.28 MB / 0.6055 GB, free: 5.859 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01761/0.1284, allocations: 18.32 MB / 0.6234 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.1295, allocations: 83.44 kB / 0.6235 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.1318, allocations: 1.628 MB / 0.6251 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.1339, allocations: 1.961 MB / 0.627 GB, free: 15.78 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.1371, allocations: 2.583 MB / 0.6295 GB, free: 13.19 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.00293/0.1401, allocations: 4.642 MB / 0.634 GB, free: 8.531 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.1413, allocations: 1.471 MB / 0.6355 GB, free: 7.02 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.143, allocations: 2.603 MB / 0.638 GB, free: 4.41 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001345/0.1444, allocations: 1.794 MB / 0.6398 GB, free: 2.613 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002646/0.1446, allocations: 308 kB / 0.6401 GB, free: 2.312 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002356/0.147, allocations: 1.972 MB / 0.642 GB, free: 344 kB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.000525/0.1475, allocations: 1.016 MB / 0.643 GB, free: 15.32 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.0007242/0.1483, allocations: 1.102 MB / 0.6441 GB, free: 14.21 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.004068/0.1523, allocations: 6.098 MB / 0.65 GB, free: 8.094 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1523, allocations: 4 kB / 0.65 GB, free: 8.09 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.724e-06/0.1523, allocations: 0 / 0.65 GB, free: 8.09 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 2.817e-05/0.1524, allocations: 3.938 kB / 0.65 GB, free: 8.086 MB / 0.5418 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.003886/0.1562, allocations: 4.31 MB / 0.6542 GB, free: 3.695 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1563, allocations: 8.031 kB / 0.6542 GB, free: 3.688 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002498/0.1565, allocations: 330.9 kB / 0.6546 GB, free: 3.355 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007337/0.1573, allocations: 0.5019 MB / 0.655 GB, free: 2.852 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003447/0.1607, allocations: 3.281 MB / 0.6582 GB, free: 15.5 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.988e-05/0.1608, allocations: 144.1 kB / 0.6584 GB, free: 15.36 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.161, allocations: 187.9 kB / 0.6586 GB, free: 15.18 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004906/0.1659, allocations: 4.472 MB / 0.6629 GB, free: 10.02 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.1659, allocations: 23.81 kB / 0.663 GB, free: 10 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.166, allocations: 92 kB / 0.663 GB, free: 9.91 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.392e-05/0.1661, allocations: 60 kB / 0.6631 GB, free: 9.852 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00419/0.1703, allocations: 2.881 MB / 0.6659 GB, free: 6.938 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009966/0.1802, allocations: 18 MB / 0.6835 GB, free: 4.27 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003792/0.184, allocations: 2.387 MB / 0.6858 GB, free: 1.77 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.1852, allocations: 0.9547 MB / 0.6868 GB, free: 0.7539 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002177/0.1854, allocations: 109.1 kB / 0.6869 GB, free: 0.6484 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003864/0.1892, allocations: 2.285 MB / 0.6891 GB, free: 14.23 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=332): time 5.41e-06/0.1892, allocations: 3.984 kB / 0.6891 GB, free: 14.22 MB / 0.5887 GB Notification: Performance of matching and sorting (n=333): time 0.01722/0.2065, allocations: 16.43 MB / 0.7051 GB, free: 13.56 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002121/0.2067, allocations: 0.7547 MB / 0.7059 GB, free: 12.64 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002625/0.2093, allocations: 2.848 MB / 0.7087 GB, free: 9.785 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.2094, allocations: 57.7 kB / 0.7087 GB, free: 9.723 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007164/0.2101, allocations: 1.395 MB / 0.7101 GB, free: 8.312 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.000594/0.2107, allocations: 1.092 MB / 0.7111 GB, free: 7.211 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006978/0.2114, allocations: 0.7181 MB / 0.7118 GB, free: 6.484 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.2115, allocations: 306.2 kB / 0.7121 GB, free: 6.184 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.213, allocations: 1.253 MB / 0.7134 GB, free: 4.898 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002161/0.2151, allocations: 2.467 MB / 0.7158 GB, free: 1.875 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003629/0.2188, allocations: 3.866 MB / 0.7195 GB, free: 13.46 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.2188, allocations: 15.94 kB / 0.7196 GB, free: 13.45 MB / 0.6199 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.005305/0.2241, allocations: 4.361 MB / 0.7238 GB, free: 9.02 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-05/0.2242, allocations: 155.7 kB / 0.724 GB, free: 8.844 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003722/0.2279, allocations: 3.166 MB / 0.7271 GB, free: 5.621 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004425/0.2283, allocations: 169.6 kB / 0.7272 GB, free: 5.449 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.2298, allocations: 0.8735 MB / 0.7281 GB, free: 4.574 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003923/0.2337, allocations: 3.008 MB / 0.731 GB, free: 1.426 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.2347, allocations: 167.5 kB / 0.7312 GB, free: 1.262 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.2349, allocations: 228 kB / 0.7314 GB, free: 1.039 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002181/0.2371, allocations: 1.844 MB / 0.7332 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002032/0.2392, allocations: 2.463 MB / 0.7356 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003655/0.2428, allocations: 3.858 MB / 0.7394 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.245e-05/0.2428, allocations: 8 kB / 0.7394 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.00509/0.2479, allocations: 4.333 MB / 0.7436 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.463e-05/0.248, allocations: 146.8 kB / 0.7437 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003993/0.252, allocations: 3.126 MB / 0.7468 GB, free: 15.99 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003334/0.2523, allocations: 148.7 kB / 0.7469 GB, free: 15.84 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.2538, allocations: 0.8814 MB / 0.7478 GB, free: 14.96 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003598/0.2574, allocations: 2.452 MB / 0.7502 GB, free: 12.39 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.2584, allocations: 159.6 kB / 0.7503 GB, free: 12.23 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002197/0.2586, allocations: 236 kB / 0.7506 GB, free: 12 MB / 0.6512 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.0006276/0.2592, allocations: 0.5387 MB / 0.7511 GB, free: 11.43 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003904/0.2596, allocations: 373.5 kB / 0.7515 GB, free: 11.07 MB / 0.6512 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.003985/0.2636, allocations: 3.693 MB / 0.7551 GB, free: 7.305 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.0677482495084405]