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.01067/0.01067, allocations: 1.348 MB / 20.45 MB, free: 1.25 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.001508/0.001508, allocations: 79.25 kB / 24.02 MB, free: 2.586 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.001738/0.001738, allocations: 154.5 kB / 27.71 MB, free: 3.844 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.457/1.457, allocations: 177.2 MB / 208.4 MB, free: 7.664 MB / 190.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.085/1.085, allocations: 102.5 MB / 367.8 MB, free: 4.57 MB / 334.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_OffDesign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|speed1.phi|speed1.w",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|speed1.phi|speed1.w",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 1.625 kB / 0.5365 GB, free: 7.125 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.116e-05, allocations: 3.812 kB / 0.5365 GB, free: 7.121 MB / 446.1 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.1675/0.1675, allocations: 56.72 MB / 0.5919 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02765/0.1952, allocations: 16.69 MB / 0.6082 GB, free: 168 kB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.1968, allocations: 51.62 kB / 0.6082 GB, free: 116 kB / 0.4982 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.003767/0.2006, allocations: 1.22 MB / 0.6094 GB, free: 14.89 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.00373/0.2043, allocations: 1.324 MB / 0.6107 GB, free: 13.55 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.005016/0.2093, allocations: 1.859 MB / 0.6125 GB, free: 11.69 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.004483/0.2138, allocations: 2.819 MB / 0.6153 GB, free: 8.859 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.2153, allocations: 0.8508 MB / 0.6161 GB, free: 7.984 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002336/0.2176, allocations: 1.574 MB / 0.6176 GB, free: 6.406 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.2194, allocations: 1.18 MB / 0.6188 GB, free: 5.223 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.000343/0.2198, allocations: 200 kB / 0.619 GB, free: 5.027 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003993/0.2238, allocations: 1.742 MB / 0.6207 GB, free: 3.281 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0007123/0.2245, allocations: 0.6772 MB / 0.6213 GB, free: 2.602 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.2255, allocations: 0.6972 MB / 0.622 GB, free: 1.902 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.008661/0.2341, allocations: 4.428 MB / 0.6263 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2341, allocations: 0 / 0.6263 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2341, allocations: 0 / 0.6263 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.557e-05/0.2342, allocations: 0 / 0.6263 GB, free: 13.46 MB / 0.5294 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.00643/0.2406, allocations: 3.008 MB / 0.6293 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.2407, allocations: 8.031 kB / 0.6293 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.2418, allocations: 343 kB / 0.6296 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005139/0.2469, allocations: 2.578 MB / 0.6321 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.906e-05/0.247, allocations: 86.5 kB / 0.6322 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/0.2472, allocations: 112.3 kB / 0.6323 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005392/0.2526, allocations: 2.438 MB / 0.6347 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.011e-05/0.2527, allocations: 15.81 kB / 0.6347 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.2528, allocations: 48 kB / 0.6348 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/0.2529, allocations: 40 kB / 0.6348 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004586/0.2575, allocations: 1.669 MB / 0.6364 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01111/0.2686, allocations: 9.493 MB / 0.6457 GB, free: 8.832 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003944/0.2725, allocations: 1.32 MB / 0.647 GB, free: 7.445 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.2736, allocations: 0.5622 MB / 0.6475 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002513/0.2739, allocations: 72.55 kB / 0.6476 GB, free: 6.781 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003303/0.2772, allocations: 1.287 MB / 0.6489 GB, free: 5.406 MB / 0.545 GB Notification: Performance of pre-optimization done (n=178): time 3.386e-06/0.2772, allocations: 0 / 0.6489 GB, free: 5.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=179): time 0.01853/0.2957, allocations: 8.746 MB / 0.6574 GB, free: 12.52 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002993/0.296, allocations: 0.5048 MB / 0.6579 GB, free: 11.9 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/0.2989, allocations: 1.985 MB / 0.6598 GB, free: 9.883 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000186/0.2991, allocations: 45.7 kB / 0.6599 GB, free: 9.832 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008836/0.3, allocations: 0.9182 MB / 0.6608 GB, free: 8.902 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006285/0.3006, allocations: 0.6002 MB / 0.6614 GB, free: 8.297 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000682/0.3013, allocations: 431.6 kB / 0.6618 GB, free: 7.871 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3014, allocations: 305.1 kB / 0.6621 GB, free: 7.57 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.3029, allocations: 0.7153 MB / 0.6628 GB, free: 6.836 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.3049, allocations: 1.389 MB / 0.6641 GB, free: 5.137 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/0.3084, allocations: 2.15 MB / 0.6662 GB, free: 2.688 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/0.3084, allocations: 8 kB / 0.6662 GB, free: 2.68 MB / 0.5607 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005708/0.3141, allocations: 2.553 MB / 0.6687 GB, free: 92 kB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.3142, allocations: 83.44 kB / 0.6688 GB, free: 15.99 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00401/0.3182, allocations: 1.802 MB / 0.6706 GB, free: 14.16 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007613/0.319, allocations: 116.7 kB / 0.6707 GB, free: 14.05 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/0.3206, allocations: 0.4914 MB / 0.6711 GB, free: 13.55 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00816/0.3288, allocations: 2.394 MB / 0.6735 GB, free: 11.06 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.3305, allocations: 95.72 kB / 0.6736 GB, free: 10.97 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003959/0.3309, allocations: 127.9 kB / 0.6737 GB, free: 10.84 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002906/0.3338, allocations: 1.14 MB / 0.6748 GB, free: 9.688 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002376/0.3362, allocations: 1.381 MB / 0.6762 GB, free: 8 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004035/0.3402, allocations: 2.162 MB / 0.6783 GB, free: 5.539 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.133e-05/0.3403, allocations: 7.938 kB / 0.6783 GB, free: 5.531 MB / 0.5763 GB Notification: Performance of matching and sorting (n=273) (initialization_lambda0): time 0.006203/0.3465, allocations: 2.542 MB / 0.6808 GB, free: 2.957 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.911e-05/0.3466, allocations: 83.38 kB / 0.6808 GB, free: 2.863 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004185/0.3507, allocations: 1.786 MB / 0.6826 GB, free: 1.047 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007151/0.3515, allocations: 125 kB / 0.6827 GB, free: 0.9219 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.3531, allocations: 0.4914 MB / 0.6832 GB, free: 440 kB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007921/0.361, allocations: 2.394 MB / 0.6855 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.3628, allocations: 95.81 kB / 0.6856 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003747/0.3631, allocations: 127.9 kB / 0.6857 GB, free: 13.72 MB / 0.5919 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.0009191/0.3641, allocations: 382.9 kB / 0.6861 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008371/0.3649, allocations: 238.4 kB / 0.6863 GB, free: 13.09 MB / 0.5919 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.00491/0.3698, allocations: 2.045 MB / 0.6883 GB, free: 11 MB / 0.5919 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.471116255968809] Failed to read output from testmodel.py, exit status != 0: 0.7569632604718208 0.7664931269999999 0.530061927 Calling exit ...