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.008424/0.008424, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.001324/0.001324, allocations: 83.39 kB / 25.4 MB, free: 7 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.001922/0.001922, allocations: 162.7 kB / 29.34 MB, free: 3.133 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 1.013/1.013, allocations: 177.1 MB / 210.3 MB, free: 3.445 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.5986/0.5986, allocations: 102.5 MB / 369.9 MB, free: 224 kB / 330.7 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 1.0.0 (/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 1.303e-06/1.303e-06, allocations: 0 / 470.4 MB, free: 18.87 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.482e-05, allocations: 4.938 kB / 470.4 MB, free: 18.87 MB / 410.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.1162/0.1163, allocations: 60.08 MB / 0.5181 GB, free: 11.57 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02075/0.137, allocations: 17.4 MB / 0.5351 GB, free: 10.12 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.1386, allocations: 47.62 kB / 0.5351 GB, free: 10.07 MB / 458.8 MB [/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.002552/0.1411, allocations: 1.229 MB / 0.5363 GB, free: 8.836 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002577/0.1437, allocations: 1.328 MB / 0.5376 GB, free: 7.5 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003616/0.1473, allocations: 1.888 MB / 0.5395 GB, free: 5.605 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.003608/0.1509, allocations: 2.815 MB / 0.5422 GB, free: 2.781 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.152, allocations: 0.9099 MB / 0.5431 GB, free: 1.852 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1108/0.2628, allocations: 46.75 MB / 0.5888 GB, free: 4.289 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.2645, allocations: 1.063 MB / 0.5898 GB, free: 3.223 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0002707/0.2647, allocations: 152 kB / 0.5899 GB, free: 3.074 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003298/0.268, allocations: 1.676 MB / 0.5916 GB, free: 1.395 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0005004/0.2685, allocations: 0.5758 MB / 0.5921 GB, free: 0.8164 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0007488/0.2693, allocations: 0.6036 MB / 0.5927 GB, free: 216 kB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.005034/0.2743, allocations: 3.25 MB / 0.5959 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2743, allocations: 0 / 0.5959 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2743, allocations: 0 / 0.5959 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.646e-05/0.2744, allocations: 4 kB / 0.5959 GB, free: 12.95 MB / 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.003393/0.2778, allocations: 2.974 MB / 0.5988 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2778, allocations: 8.031 kB / 0.5988 GB, free: 9.898 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003894/0.2782, allocations: 359.2 kB / 0.5992 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.28, allocations: 1.479 MB / 0.6006 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.419e-05/0.28, allocations: 86.5 kB / 0.6007 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.2802, allocations: 116.3 kB / 0.6008 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003042/0.2832, allocations: 2.204 MB / 0.603 GB, free: 5.172 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.2832, allocations: 15.81 kB / 0.603 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.799e-05/0.2833, allocations: 56 kB / 0.603 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.2834, allocations: 32 kB / 0.6031 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.2855, allocations: 1.038 MB / 0.6041 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007299/0.2928, allocations: 12.7 MB / 0.6165 GB, free: 6.883 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.295, allocations: 1.01 MB / 0.6175 GB, free: 5.781 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/0.2954, allocations: 324.5 kB / 0.6178 GB, free: 5.426 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/0.2956, allocations: 92.3 kB / 0.6179 GB, free: 5.336 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00187/0.2975, allocations: 1.03 MB / 0.6189 GB, free: 4.203 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=178): time 3.977e-06/0.2975, allocations: 4 kB / 0.6189 GB, free: 4.199 MB / 0.5262 GB Notification: Performance of matching and sorting (n=179): time 0.00807/0.3055, allocations: 3.295 MB / 0.6221 GB, free: 0.8047 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001847/0.3057, allocations: 0.5629 MB / 0.6226 GB, free: 116 kB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/0.3075, allocations: 1.826 MB / 0.6244 GB, free: 14.25 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 7.983e-05/0.3076, allocations: 45.7 kB / 0.6245 GB, free: 14.2 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007218/0.3083, allocations: 1.032 MB / 0.6255 GB, free: 13.15 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005554/0.3089, allocations: 0.6118 MB / 0.6261 GB, free: 12.53 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000508/0.3094, allocations: 461 kB / 0.6265 GB, free: 12.07 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3095, allocations: 480.8 kB / 0.627 GB, free: 11.6 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/0.3099, allocations: 335.5 kB / 0.6273 GB, free: 11.25 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009889/0.3109, allocations: 1.33 MB / 0.6286 GB, free: 9.492 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/0.3125, allocations: 1.689 MB / 0.6302 GB, free: 7.398 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.3125, allocations: 4 kB / 0.6302 GB, free: 7.395 MB / 0.5418 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.00276/0.3153, allocations: 1.826 MB / 0.632 GB, free: 5.531 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 6.25e-05/0.3154, allocations: 91.31 kB / 0.6321 GB, free: 5.43 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001682/0.317, allocations: 1.101 MB / 0.6332 GB, free: 4.301 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003731/0.3174, allocations: 91.62 kB / 0.6333 GB, free: 4.207 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.3186, allocations: 0.4992 MB / 0.6338 GB, free: 3.707 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004418/0.3231, allocations: 2.773 MB / 0.6365 GB, free: 0.8164 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.3244, allocations: 91.97 kB / 0.6366 GB, free: 0.7266 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/0.3247, allocations: 115.9 kB / 0.6367 GB, free: 0.6133 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001118/0.3258, allocations: 482.2 kB / 0.6371 GB, free: 128 kB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001217/0.327, allocations: 1.338 MB / 0.6384 GB, free: 14.36 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002032/0.3291, allocations: 1.685 MB / 0.6401 GB, free: 12.27 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.32e-05/0.3291, allocations: 4 kB / 0.6401 GB, free: 12.27 MB / 0.5574 GB Notification: Performance of matching and sorting (n=273) (initialization_lambda0): time 0.003324/0.3324, allocations: 1.834 MB / 0.6419 GB, free: 10.39 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/0.3324, allocations: 75.39 kB / 0.6419 GB, free: 10.31 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001372/0.3338, allocations: 1.094 MB / 0.643 GB, free: 9.184 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000261/0.3341, allocations: 99.61 kB / 0.6431 GB, free: 9.082 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008137/0.3349, allocations: 0.4953 MB / 0.6436 GB, free: 8.586 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/0.3381, allocations: 2.761 MB / 0.6463 GB, free: 5.711 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009127/0.339, allocations: 95.97 kB / 0.6464 GB, free: 5.617 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.3391, allocations: 115.9 kB / 0.6465 GB, free: 5.504 MB / 0.5574 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.0005021/0.3396, allocations: 466.8 kB / 0.6469 GB, free: 5.027 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003989/0.34, allocations: 282.3 kB / 0.6472 GB, free: 4.75 MB / 0.5574 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.001952/0.342, allocations: 1.769 MB / 0.6489 GB, free: 2.938 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3028228040784597]