Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign.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.006075/0.006075, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.000759/0.000759, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0008652/0.0008652, allocations: 164.9 kB / 27.85 MB, free: 5.098 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.8622/0.8622, allocations: 177.2 MB / 208.6 MB, free: 2.965 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.7366/0.7366, allocations: 102.5 MB / 367.9 MB, free: 1.48 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: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_OffDesign",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_OffDesign",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0.5362 GB, free: 40.09 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141e-05/1.248e-05, allocations: 2.5 kB / 0.5362 GB, free: 40.08 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.TestPump_L1_OffDesign): time 0.1104/0.1104, allocations: 56.69 MB / 0.5915 GB, free: 3.84 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01576/0.1262, allocations: 16.7 MB / 0.6078 GB, free: 3.086 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006853/0.1269, allocations: 47.69 kB / 0.6079 GB, free: 3.039 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.00216/0.129, allocations: 1.22 MB / 0.6091 GB, free: 1.812 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.1305, allocations: 1.328 MB / 0.6104 GB, free: 488 kB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.1332, allocations: 1.865 MB / 0.6122 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001777/0.135, allocations: 2.808 MB / 0.6149 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008345/0.1358, allocations: 0.8547 MB / 0.6158 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.1369, allocations: 1.574 MB / 0.6173 GB, free: 9.328 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009464/0.1379, allocations: 1.19 MB / 0.6185 GB, free: 8.137 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.1381, allocations: 200 kB / 0.6187 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.1404, allocations: 1.738 MB / 0.6204 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000371/0.1408, allocations: 0.6811 MB / 0.621 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004835/0.1413, allocations: 0.7011 MB / 0.6217 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003499/0.1448, allocations: 4.416 MB / 0.626 GB, free: 392 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1448, allocations: 0 / 0.626 GB, free: 392 kB / 0.5105 GB Notification: Performance of FrontEnd: time 2.284e-06/0.1448, allocations: 0 / 0.626 GB, free: 392 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.906e-05/0.1448, allocations: 0 / 0.626 GB, free: 392 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.002927/0.1477, allocations: 3.011 MB / 0.629 GB, free: 13.31 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.1478, allocations: 16.03 kB / 0.629 GB, free: 13.3 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001534/0.1479, allocations: 191.3 kB / 0.6292 GB, free: 13.1 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004958/0.1484, allocations: 339 kB / 0.6295 GB, free: 12.77 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/0.1512, allocations: 2.584 MB / 0.632 GB, free: 10.15 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.834e-05/0.1513, allocations: 86.5 kB / 0.6321 GB, free: 10.06 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.1514, allocations: 108.4 kB / 0.6322 GB, free: 9.957 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.1541, allocations: 2.434 MB / 0.6346 GB, free: 7.172 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.1541, allocations: 15.86 kB / 0.6346 GB, free: 7.156 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.688e-05/0.1542, allocations: 56 kB / 0.6346 GB, free: 7.102 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.421e-05/0.1542, allocations: 40 kB / 0.6347 GB, free: 7.062 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002323/0.1565, allocations: 1.657 MB / 0.6363 GB, free: 5.387 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005788/0.1623, allocations: 9.665 MB / 0.6457 GB, free: 11.37 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.1643, allocations: 1.308 MB / 0.647 GB, free: 9.996 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006017/0.1649, allocations: 0.5622 MB / 0.6476 GB, free: 9.406 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.1651, allocations: 76.55 kB / 0.6476 GB, free: 9.332 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001681/0.1668, allocations: 1.279 MB / 0.6489 GB, free: 7.965 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=178): time 2.434e-06/0.1668, allocations: 0 / 0.6489 GB, free: 7.965 MB / 0.5418 GB Notification: Performance of matching and sorting (n=179): time 0.009512/0.1763, allocations: 8.754 MB / 0.6574 GB, free: 15.07 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002421/0.1765, allocations: 0.5087 MB / 0.6579 GB, free: 14.45 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/0.1782, allocations: 2.037 MB / 0.6599 GB, free: 12.38 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-05/0.1783, allocations: 41.7 kB / 0.66 GB, free: 12.34 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.000475/0.1788, allocations: 0.9068 MB / 0.6609 GB, free: 11.42 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/0.1791, allocations: 0.6002 MB / 0.6614 GB, free: 10.81 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003852/0.1795, allocations: 423.7 kB / 0.6618 GB, free: 10.39 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.1795, allocations: 305.1 kB / 0.6621 GB, free: 10.09 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008195/0.1803, allocations: 0.723 MB / 0.6628 GB, free: 9.352 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.1814, allocations: 1.385 MB / 0.6642 GB, free: 7.652 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002055/0.1835, allocations: 2.15 MB / 0.6663 GB, free: 5.207 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.1835, allocations: 8 kB / 0.6663 GB, free: 5.199 MB / 0.5574 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.002899/0.1864, allocations: 2.561 MB / 0.6688 GB, free: 2.602 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.072e-05/0.1865, allocations: 83.38 kB / 0.6689 GB, free: 2.508 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00214/0.1886, allocations: 1.795 MB / 0.6706 GB, free: 0.6836 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003619/0.189, allocations: 116.8 kB / 0.6707 GB, free: 0.5664 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008658/0.1898, allocations: 0.4953 MB / 0.6712 GB, free: 72 kB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003549/0.1934, allocations: 2.421 MB / 0.6736 GB, free: 13.54 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005678/0.194, allocations: 95.66 kB / 0.6737 GB, free: 13.45 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.1941, allocations: 127.9 kB / 0.6738 GB, free: 13.32 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001268/0.1954, allocations: 1.144 MB / 0.6749 GB, free: 12.16 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001095/0.1965, allocations: 1.385 MB / 0.6763 GB, free: 10.46 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002057/0.1985, allocations: 2.154 MB / 0.6784 GB, free: 8.016 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.681e-06/0.1985, allocations: 4 kB / 0.6784 GB, free: 8.012 MB / 0.573 GB Notification: Performance of matching and sorting (n=273) (initialization_lambda0): time 0.002803/0.2013, allocations: 2.554 MB / 0.6809 GB, free: 5.426 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.32e-05/0.2014, allocations: 79.39 kB / 0.6809 GB, free: 5.336 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00206/0.2034, allocations: 1.798 MB / 0.6827 GB, free: 3.508 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002845/0.2037, allocations: 109 kB / 0.6828 GB, free: 3.398 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007733/0.2045, allocations: 0.4991 MB / 0.6833 GB, free: 2.898 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003455/0.2079, allocations: 2.417 MB / 0.6857 GB, free: 380 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005396/0.2085, allocations: 95.86 kB / 0.6857 GB, free: 284 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.2086, allocations: 127.9 kB / 0.6859 GB, free: 156 kB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 14 (Delta_pRamp.nextEventScaled,Delta_pRamp.nextEvent,$PRE.Delta_pRamp.nextEvent,Delta_pRamp.last,Delta_pRamp.b,Delta_pRamp.a,rpmRamp.nextEventScaled,rpmRamp.nextEvent,$PRE.rpmRamp.nextEvent,rpmRamp.last,rpmRamp.b,rpmRamp.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003664/0.209, allocations: 377.5 kB / 0.6862 GB, free: 15.77 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.2092, allocations: 250.3 kB / 0.6865 GB, free: 15.52 MB / 0.5887 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 190 equation(s) and 183 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump.summary.inlet.steamQuality, pump.fluidIn.cp, pump.fluidIn.cv, pump.fluidIn.beta, pump.fluidIn.kappa, pump.fluidIn.drhodp_hxi, pump.fluidIn.drhodh_pxi, _, pump.fluidIn.w, pump.fluidIn.gamma) = ($cse35, $cse36, $cse37, $cse38, $cse39, $cse40, $cse41, $cse42, $cse43, $cse44) has size 9 but 7 variables ($whenCondition1, rpmRamp.a, rpmRamp.b, rpmRamp.last, rpmRamp.nextEvent, rpmRamp.nextEventScaled, rpmRamp.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/0.2113, allocations: 2.042 MB / 0.6885 GB, free: 13.43 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.2932019270956516] Failed to read output from testmodel.py, exit status != 0: 0.6255129678174853 0.63481809 0.488221152 Calling exit ...