Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01412/0.01412, allocations: 1.784 MB / 21.57 MB, free: 2.898 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.0008808/0.0008808, allocations: 85.23 kB / 25.41 MB, free: 6.109 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.0008892/0.0008892, allocations: 160.8 kB / 29.34 MB, free: 2.812 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.9284/0.9284, allocations: 177.2 MB / 210.3 MB, free: 3.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.5774/0.5774, allocations: 102.4 MB / 369.8 MB, free: 208 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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_dev_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_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 470.4 MB, free: 18.84 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.493e-05, allocations: 3.578 kB / 470.4 MB, free: 18.84 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.129/0.129, allocations: 60.08 MB / 0.5181 GB, free: 11.55 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01555/0.1445, allocations: 17.41 MB / 0.5351 GB, free: 10.08 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005435/0.1451, allocations: 43.69 kB / 0.5351 GB, free: 10.04 MB / 458.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.001725/0.1468, allocations: 1.224 MB / 0.5363 GB, free: 8.809 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.1482, allocations: 1.336 MB / 0.5376 GB, free: 7.465 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.1503, allocations: 1.872 MB / 0.5395 GB, free: 5.586 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.001578/0.1519, allocations: 2.815 MB / 0.5422 GB, free: 2.762 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006376/0.1525, allocations: 0.9138 MB / 0.5431 GB, free: 1.828 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1113/0.2638, allocations: 46.77 MB / 0.5888 GB, free: 4.258 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.2652, allocations: 1.063 MB / 0.5898 GB, free: 3.191 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.2654, allocations: 152 kB / 0.5899 GB, free: 3.043 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002876/0.2682, allocations: 1.668 MB / 0.5916 GB, free: 1.371 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0003367/0.2686, allocations: 0.5758 MB / 0.5921 GB, free: 0.793 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0004708/0.269, allocations: 0.6114 MB / 0.5927 GB, free: 184 kB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.002832/0.2719, allocations: 3.247 MB / 0.5959 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2719, allocations: 0 / 0.5959 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2719, allocations: 4 kB / 0.5959 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.2719, allocations: 0 / 0.5959 GB, free: 12.91 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.00245/0.2743, allocations: 2.978 MB / 0.5988 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2744, allocations: 8.031 kB / 0.5988 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002649/0.2746, allocations: 359.2 kB / 0.5992 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.2759, allocations: 1.472 MB / 0.6006 GB, free: 8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.448e-05/0.2759, allocations: 86.5 kB / 0.6007 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.276, allocations: 124.2 kB / 0.6008 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.2783, allocations: 2.204 MB / 0.603 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.2783, allocations: 19.81 kB / 0.603 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.447e-05/0.2784, allocations: 56 kB / 0.603 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.2784, allocations: 32 kB / 0.6031 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.2798, allocations: 1.027 MB / 0.6041 GB, free: 3.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005888/0.2857, allocations: 12.7 MB / 0.6165 GB, free: 6.859 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.2873, allocations: 1.01 MB / 0.6175 GB, free: 5.758 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.2876, allocations: 316.6 kB / 0.6178 GB, free: 5.41 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/0.2877, allocations: 104.3 kB / 0.6179 GB, free: 5.309 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/0.289, allocations: 1.019 MB / 0.6188 GB, free: 4.188 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=178): time 2.826e-06/0.289, allocations: 0 / 0.6188 GB, free: 4.188 MB / 0.5262 GB Notification: Performance of matching and sorting (n=179): time 0.005368/0.2944, allocations: 3.31 MB / 0.6221 GB, free: 0.7773 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000168/0.2946, allocations: 0.555 MB / 0.6226 GB, free: 96 kB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.2959, allocations: 1.823 MB / 0.6244 GB, free: 14.23 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 5.716e-05/0.296, allocations: 49.94 kB / 0.6244 GB, free: 14.18 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005126/0.2965, allocations: 1.039 MB / 0.6255 GB, free: 13.12 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/0.2968, allocations: 0.604 MB / 0.6261 GB, free: 12.51 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003661/0.2972, allocations: 465 kB / 0.6265 GB, free: 12.05 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.2972, allocations: 476.8 kB / 0.627 GB, free: 11.58 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.2976, allocations: 339.5 kB / 0.6273 GB, free: 11.23 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007512/0.2983, allocations: 1.334 MB / 0.6286 GB, free: 9.465 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.2997, allocations: 1.689 MB / 0.6302 GB, free: 7.371 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.2997, allocations: 4 kB / 0.6302 GB, free: 7.367 MB / 0.5418 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001962/0.3017, allocations: 1.826 MB / 0.632 GB, free: 5.504 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 4.926e-05/0.3017, allocations: 79.39 kB / 0.6321 GB, free: 5.414 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001212/0.3029, allocations: 1.093 MB / 0.6332 GB, free: 4.293 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002484/0.3032, allocations: 103.7 kB / 0.6333 GB, free: 4.188 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007546/0.3039, allocations: 0.4952 MB / 0.6337 GB, free: 3.691 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003083/0.307, allocations: 2.781 MB / 0.6365 GB, free: 0.793 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005098/0.3075, allocations: 91.72 kB / 0.6365 GB, free: 0.7031 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.3076, allocations: 107.9 kB / 0.6366 GB, free: 0.5977 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005325/0.3082, allocations: 482.4 kB / 0.6371 GB, free: 112 kB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007311/0.3089, allocations: 1.338 MB / 0.6384 GB, free: 14.34 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001139/0.31, allocations: 1.681 MB / 0.6401 GB, free: 12.26 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.27e-06/0.31, allocations: 4 kB / 0.6401 GB, free: 12.25 MB / 0.5574 GB Notification: Performance of matching and sorting (n=273) (initialization_lambda0): time 0.001832/0.3119, allocations: 1.83 MB / 0.6418 GB, free: 10.39 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.3119, allocations: 83.3 kB / 0.6419 GB, free: 10.29 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001312/0.3132, allocations: 1.09 MB / 0.643 GB, free: 9.172 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.3134, allocations: 107.6 kB / 0.6431 GB, free: 9.062 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007284/0.3142, allocations: 0.4913 MB / 0.6436 GB, free: 8.57 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00281/0.317, allocations: 2.773 MB / 0.6463 GB, free: 5.684 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.3175, allocations: 87.73 kB / 0.6464 GB, free: 5.598 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.3176, allocations: 116.2 kB / 0.6465 GB, free: 5.484 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.0003245/0.3179, allocations: 458.8 kB / 0.6469 GB, free: 5.016 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/0.3181, allocations: 282.3 kB / 0.6472 GB, free: 4.738 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.001716/0.3199, allocations: 1.776 MB / 0.6489 GB, free: 2.918 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.134823563043028]