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.01049/0.01049, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001265/0.001265, allocations: 111.5 kB / 24.19 MB, free: 2.688 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.0015/0.0015, allocations: 203.9 kB / 27.91 MB, free: 4.027 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.506/1.506, allocations: 230.6 MB / 262.1 MB, free: 6 MB / 206.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.098/1.098, allocations: 130.7 MB / 449.7 MB, free: 6.559 MB / 350.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.TestPump_L1_OffDesignInlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="Time|firstOrder.y|pump2.rho_CF_ps|pump2.rho_upstream_ps|speed1.phi|speed1.w",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="Time|firstOrder.y|pump2.rho_CF_ps|pump2.rho_upstream_ps|speed1.phi|speed1.w",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet") [Timeout 800] "Notification: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.03645/0.03645, allocations: 20.79 MB / 0.6362 GB, free: 4.645 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.2278, allocations: 81.9 MB / 0.7162 GB, free: 2.652 MB / 0.5294 GB 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.5552/0.7831, allocations: 44.14 MB / 0.7593 GB, free: 21.54 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02346/0.8066, allocations: 18.02 MB / 0.7769 GB, free: 8.734 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002106/0.8087, allocations: 50.53 kB / 0.777 GB, free: 8.711 MB / 0.5607 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.00324/0.8119, allocations: 1.192 MB / 0.7781 GB, free: 8.16 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.003272/0.8152, allocations: 1.204 MB / 0.7793 GB, free: 7.445 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004818/0.82, allocations: 1.909 MB / 0.7812 GB, free: 6.516 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.004194/0.8242, allocations: 2.741 MB / 0.7839 GB, free: 5.195 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.8257, allocations: 0.7664 MB / 0.7846 GB, free: 4.828 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002339/0.828, allocations: 1.163 MB / 0.7857 GB, free: 4.301 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002575/0.8306, allocations: 1.343 MB / 0.787 GB, free: 3.695 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0004962/0.8311, allocations: 203.4 kB / 0.7872 GB, free: 3.695 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005204/0.8363, allocations: 2.509 MB / 0.7897 GB, free: 2.348 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0005783/0.8369, allocations: 0.6483 MB / 0.7903 GB, free: 1.859 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.838, allocations: 1.134 MB / 0.7914 GB, free: 1.016 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.009074/0.8471, allocations: 4.572 MB / 0.7959 GB, free: 14 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.8471, allocations: 0 / 0.7959 GB, free: 14 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8471, allocations: 0 / 0.7959 GB, free: 14 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.000162/0.8472, allocations: 0 / 0.7959 GB, free: 14 MB / 0.5763 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.008304/0.8555, allocations: 3.015 MB / 0.7988 GB, free: 11.79 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.8556, allocations: 9.625 kB / 0.7988 GB, free: 11.79 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.857, allocations: 331.6 kB / 0.7992 GB, free: 11.61 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008356/0.8654, allocations: 2.552 MB / 0.8017 GB, free: 9.883 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.8655, allocations: 85.66 kB / 0.8017 GB, free: 9.844 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004854/0.866, allocations: 121.8 kB / 0.8019 GB, free: 9.801 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008789/0.8748, allocations: 2.164 MB / 0.804 GB, free: 8.16 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.428e-05/0.8749, allocations: 18.22 kB / 0.804 GB, free: 8.148 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002798/0.8752, allocations: 57.17 kB / 0.804 GB, free: 8.113 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.409e-05/0.8752, allocations: 34.72 kB / 0.8041 GB, free: 8.113 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0077/0.8829, allocations: 1.597 MB / 0.8056 GB, free: 6.863 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01839/0.9013, allocations: 10.23 MB / 0.8156 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006969/0.9083, allocations: 1.314 MB / 0.8169 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00174/0.91, allocations: 0.4967 MB / 0.8174 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000415/0.9104, allocations: 88.86 kB / 0.8175 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005639/0.9161, allocations: 1.276 MB / 0.8187 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=192): time 5.319e-06/0.9161, allocations: 0 / 0.8187 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of matching and sorting (n=193): time 0.02165/0.9377, allocations: 8.269 MB / 0.8268 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004944/0.9382, allocations: 0.5048 MB / 0.8273 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004791/0.943, allocations: 1.849 MB / 0.8291 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004108/0.9434, allocations: 41.7 kB / 0.8291 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001264/0.9447, allocations: 0.8557 MB / 0.83 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001196/0.9459, allocations: 0.6428 MB / 0.8306 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00108/0.947, allocations: 443.4 kB / 0.831 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002643/0.9472, allocations: 307.8 kB / 0.8313 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/0.9496, allocations: 0.6379 MB / 0.8319 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003079/0.9527, allocations: 1.243 MB / 0.8332 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005747/0.9584, allocations: 2.171 MB / 0.8353 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.805e-05/0.9585, allocations: 8 kB / 0.8353 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007971/0.9664, allocations: 2.456 MB / 0.8377 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.9665, allocations: 109.1 kB / 0.8378 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004295/0.9708, allocations: 1.755 MB / 0.8395 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007773/0.9716, allocations: 122.3 kB / 0.8396 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/0.9733, allocations: 0.4953 MB / 0.8401 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008174/0.9815, allocations: 2.424 MB / 0.8425 GB, free: 15.78 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/0.9836, allocations: 87.77 kB / 0.8425 GB, free: 15.69 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000517/0.9842, allocations: 137.5 kB / 0.8427 GB, free: 15.56 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003148/0.9873, allocations: 1.035 MB / 0.8437 GB, free: 14.52 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002626/0.9899, allocations: 1.24 MB / 0.8449 GB, free: 13.02 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00421/0.9941, allocations: 2.171 MB / 0.847 GB, free: 10.6 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.856e-05/0.9942, allocations: 4 kB / 0.847 GB, free: 10.6 MB / 0.6232 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.006355/1.001, allocations: 2.444 MB / 0.8494 GB, free: 8.152 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.000117/1.001, allocations: 110.6 kB / 0.8495 GB, free: 8.027 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004268/1.005, allocations: 1.759 MB / 0.8512 GB, free: 6.262 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006592/1.006, allocations: 115.6 kB / 0.8513 GB, free: 6.148 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/1.007, allocations: 0.494 MB / 0.8518 GB, free: 5.656 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009061/1.016, allocations: 2.428 MB / 0.8542 GB, free: 3.164 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/1.018, allocations: 90.52 kB / 0.8543 GB, free: 3.078 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004685/1.019, allocations: 127.9 kB / 0.8544 GB, free: 2.953 MB / 0.6232 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.000962/1.02, allocations: 416.4 kB / 0.8548 GB, free: 2.523 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008351/1.021, allocations: 242.4 kB / 0.855 GB, free: 2.285 MB / 0.6232 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.004703/1.025, allocations: 2.072 MB / 0.8571 GB, free: 312 kB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.081388081191108] Failed to read output from testmodel.py, exit status != 0: 1.231192396953702 1.249544028 0.398799806 Calling exit ...