Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet.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.008239/0.008239, 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.001064/0.001064, allocations: 91.45 kB / 24.16 MB, free: 400 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.0009864/0.0009864, allocations: 161 kB / 27.85 MB, free: 5.5 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.8693/0.8693, allocations: 177.1 MB / 208.6 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.7518/0.7518, allocations: 102.5 MB / 367.9 MB, free: 1.457 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_OffDesignInlet,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_OffDesignInlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_OffDesignInlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.5362 GB, free: 40.09 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.13e-05, allocations: 6.156 kB / 0.5362 GB, free: 40.09 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_OffDesignInlet): time 0.1149/0.1149, allocations: 56.76 MB / 0.5916 GB, free: 3.777 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.0193/0.1342, allocations: 16.81 MB / 0.608 GB, free: 2.906 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001701/0.1359, allocations: 47.69 kB / 0.6081 GB, free: 2.859 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.002733/0.1386, allocations: 1.142 MB / 0.6092 GB, free: 1.711 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.1413, allocations: 1.234 MB / 0.6104 GB, free: 480 kB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.003846/0.1452, allocations: 1.943 MB / 0.6123 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003468/0.1486, allocations: 2.819 MB / 0.615 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.1498, allocations: 0.8469 MB / 0.6159 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.1514, allocations: 1.57 MB / 0.6174 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.1524, allocations: 1.085 MB / 0.6185 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.1526, allocations: 200 kB / 0.6187 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002969/0.1556, allocations: 1.808 MB / 0.6204 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004176/0.156, allocations: 0.6578 MB / 0.6211 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006865/0.1567, allocations: 0.705 MB / 0.6217 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006489/0.1631, allocations: 4.475 MB / 0.6261 GB, free: 300 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.1632, allocations: 3.938 kB / 0.6261 GB, free: 296 kB / 0.5105 GB Notification: Performance of FrontEnd: time 2.014e-06/0.1632, allocations: 0 / 0.6261 GB, free: 296 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.21e-05/0.1632, allocations: 0 / 0.6261 GB, free: 296 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: 370 * Number of variables: 370 Notification: Performance of Generate backend data structure: time 0.004121/0.1673, allocations: 2.993 MB / 0.629 GB, free: 13.23 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.1674, allocations: 8.031 kB / 0.6291 GB, free: 13.22 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001731/0.1675, allocations: 199.5 kB / 0.6292 GB, free: 13.01 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006054/0.1681, allocations: 331.1 kB / 0.6296 GB, free: 12.69 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003202/0.1713, allocations: 2.548 MB / 0.632 GB, free: 10.1 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/0.1714, allocations: 90.47 kB / 0.6321 GB, free: 10.01 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.1715, allocations: 116.3 kB / 0.6322 GB, free: 9.898 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003068/0.1746, allocations: 2.464 MB / 0.6347 GB, free: 7.078 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.1746, allocations: 11.88 kB / 0.6347 GB, free: 7.066 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-05/0.1747, allocations: 60 kB / 0.6347 GB, free: 7.008 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.1747, allocations: 39.97 kB / 0.6348 GB, free: 6.969 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002727/0.1775, allocations: 1.679 MB / 0.6364 GB, free: 5.266 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00708/0.1845, allocations: 9.674 MB / 0.6458 GB, free: 11.23 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.187, allocations: 1.398 MB / 0.6472 GB, free: 9.762 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006877/0.1877, allocations: 0.5876 MB / 0.6478 GB, free: 9.141 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/0.1879, allocations: 80.89 kB / 0.6479 GB, free: 9.059 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002074/0.19, allocations: 1.381 MB / 0.6492 GB, free: 7.59 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=192): time 4.509e-06/0.19, allocations: 0 / 0.6492 GB, free: 7.59 MB / 0.5418 GB Notification: Performance of matching and sorting (n=193): time 0.01075/0.2008, allocations: 8.46 MB / 0.6575 GB, free: 14.97 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002005/0.201, allocations: 0.5126 MB / 0.658 GB, free: 14.34 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/0.2031, allocations: 1.868 MB / 0.6598 GB, free: 12.43 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.2032, allocations: 41.7 kB / 0.6598 GB, free: 12.39 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/0.2037, allocations: 0.8596 MB / 0.6607 GB, free: 11.52 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004486/0.2041, allocations: 0.6353 MB / 0.6613 GB, free: 10.88 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004523/0.2046, allocations: 435.5 kB / 0.6617 GB, free: 10.45 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.2047, allocations: 305.1 kB / 0.662 GB, free: 10.14 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009074/0.2056, allocations: 0.7366 MB / 0.6627 GB, free: 9.383 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.2069, allocations: 1.385 MB / 0.6641 GB, free: 7.691 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.2091, allocations: 2.187 MB / 0.6662 GB, free: 5.203 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.2091, allocations: 4 kB / 0.6662 GB, free: 5.199 MB / 0.5574 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.003456/0.2126, allocations: 2.567 MB / 0.6687 GB, free: 2.578 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.959e-05/0.2126, allocations: 113.1 kB / 0.6688 GB, free: 2.449 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002479/0.2151, allocations: 1.881 MB / 0.6707 GB, free: 0.5312 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004264/0.2155, allocations: 108.8 kB / 0.6708 GB, free: 432 kB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008661/0.2164, allocations: 0.4992 MB / 0.6713 GB, free: 15.92 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003856/0.2203, allocations: 2.42 MB / 0.6736 GB, free: 13.39 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.2214, allocations: 87.77 kB / 0.6737 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.2215, allocations: 135.9 kB / 0.6738 GB, free: 13.17 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001691/0.2232, allocations: 1.122 MB / 0.6749 GB, free: 12.02 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001279/0.2245, allocations: 1.392 MB / 0.6763 GB, free: 10.33 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002132/0.2266, allocations: 2.171 MB / 0.6784 GB, free: 7.852 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.197e-06/0.2266, allocations: 15.86 kB / 0.6784 GB, free: 7.836 MB / 0.573 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.003425/0.2301, allocations: 2.559 MB / 0.6809 GB, free: 5.23 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/0.2301, allocations: 109.1 kB / 0.681 GB, free: 5.105 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002397/0.2325, allocations: 1.873 MB / 0.6829 GB, free: 3.195 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003506/0.2329, allocations: 120.7 kB / 0.683 GB, free: 3.074 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008442/0.2337, allocations: 0.4953 MB / 0.6835 GB, free: 2.578 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003683/0.2374, allocations: 2.409 MB / 0.6858 GB, free: 60 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.2385, allocations: 91.92 kB / 0.6859 GB, free: 15.96 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.2386, allocations: 131.9 kB / 0.686 GB, free: 15.84 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 21 (Delta_T_in_Ramp.nextEventScaled,Delta_T_in_Ramp.nextEvent,$PRE.Delta_T_in_Ramp.nextEvent,Delta_T_in_Ramp.last,Delta_T_in_Ramp.b,Delta_T_in_Ramp.a,Delta_p_out_Ramp.nextEventScaled,Delta_p_out_Ramp.nextEvent,$PRE.Delta_p_out_Ramp.nextEvent,Delta_p_out_Ramp.last,Delta_p_out_Ramp.b,Delta_p_out_Ramp.a,rpmRamp.nextEventScaled,rpmRamp.nextEvent,$PRE.rpmRamp.nextEvent,rpmRamp.last,rpmRamp.b,rpmRamp.a,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 3 * 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.0005707/0.2392, allocations: 418.6 kB / 0.6864 GB, free: 15.4 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.2395, allocations: 246.3 kB / 0.6867 GB, free: 15.16 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 223 equation(s) and 215 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump2.summary.inlet.steamQuality, pump2.fluidIn.cp, pump2.fluidIn.cv, pump2.fluidIn.beta, pump2.fluidIn.kappa, pump2.fluidIn.drhodp_hxi, pump2.fluidIn.drhodh_pxi, _, pump2.fluidIn.w, pump2.fluidIn.gamma) = ($cse25, $cse26, $cse27, $cse28, $cse29, $cse30, $cse31, $cse32, $cse33, $cse34) 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.002599/0.2421, allocations: 2.09 MB / 0.6887 GB, free: 13.02 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3984032329171896] Failed to read output from testmodel.py, exit status != 0: 0.6562446281313896 0.666432374 0.501237863 Calling exit ...