Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_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.01243/0.01243, allocations: 1.795 MB / 21.35 MB, free: 3.195 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.001031/0.001031, allocations: 81.88 kB / 25.15 MB, free: 7.469 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.00135/0.00135, allocations: 168.8 kB / 29.06 MB, free: 3.668 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.9702/0.9702, allocations: 177.2 MB / 210 MB, free: 3.605 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.639/0.639, allocations: 102.4 MB / 369.5 MB, free: 380 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_L2_OffDesign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|firstOrder.y|pump_3.pump.rho_CF_ps|pump_3.pump.rho_upstream_ps|pump_3.pumpFluidVolume.h|pump_3.pumpFluidVolume.p|speed1.phi|speed1.w",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|firstOrder.y|pump_3.pump.rho_CF_ps|pump_3.pump.rho_upstream_ps|pump_3.pumpFluidVolume.h|pump_3.pumpFluidVolume.p|speed1.phi|speed1.w",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 469.9 MB, free: 19.01 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.52e-05, allocations: 6.531 kB / 469.9 MB, free: 19 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_L2_OffDesign): time 0.1191/0.1192, allocations: 68.8 MB / 0.5261 GB, free: 3.152 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02363/0.1428, allocations: 21.19 MB / 0.5468 GB, free: 13.9 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003348/0.1461, allocations: 103.2 kB / 0.5469 GB, free: 13.8 MB / 474.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.004288/0.1504, allocations: 2.039 MB / 0.5489 GB, free: 11.74 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.006199/0.1566, allocations: 2.869 MB / 0.5517 GB, free: 8.855 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005403/0.162, allocations: 3.067 MB / 0.5547 GB, free: 5.781 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.008065/0.1701, allocations: 6.779 MB / 0.5613 GB, free: 14.97 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003518/0.1736, allocations: 2.08 MB / 0.5634 GB, free: 12.86 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1219/0.2955, allocations: 49 MB / 0.6112 GB, free: 13.01 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004009/0.2995, allocations: 2.15 MB / 0.6133 GB, free: 10.85 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.001015/0.3005, allocations: 408 kB / 0.6137 GB, free: 10.45 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004708/0.3052, allocations: 2.198 MB / 0.6158 GB, free: 8.25 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.3064, allocations: 1.214 MB / 0.617 GB, free: 7.031 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.002073/0.3084, allocations: 1.395 MB / 0.6184 GB, free: 5.633 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.012/0.3204, allocations: 5.251 MB / 0.6235 GB, free: 372 kB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3205, allocations: 0 / 0.6235 GB, free: 372 kB / 0.5262 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3205, allocations: 0 / 0.6235 GB, free: 372 kB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0001589/0.3206, allocations: 0 / 0.6235 GB, free: 372 kB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 863 * Number of variables: 863 Notification: Performance of Generate backend data structure: time 0.01342/0.334, allocations: 5.155 MB / 0.6285 GB, free: 11.12 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.3341, allocations: 8.031 kB / 0.6286 GB, free: 11.11 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.3351, allocations: 0.7006 MB / 0.6292 GB, free: 10.41 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003829/0.339, allocations: 2.988 MB / 0.6322 GB, free: 7.34 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.3391, allocations: 185 kB / 0.6323 GB, free: 7.156 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/0.3393, allocations: 240.3 kB / 0.6326 GB, free: 6.922 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006628/0.3459, allocations: 5.518 MB / 0.6379 GB, free: 396 kB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.699e-05/0.346, allocations: 35.64 kB / 0.638 GB, free: 360 kB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002248/0.3462, allocations: 112 kB / 0.6381 GB, free: 248 kB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.056e-05/0.3463, allocations: 80 kB / 0.6382 GB, free: 168 kB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005312/0.3516, allocations: 2.755 MB / 0.6409 GB, free: 13.38 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2186/0.5701, allocations: 28.52 MB / 0.6687 GB, free: 86.11 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005484/0.5756, allocations: 2.801 MB / 0.6714 GB, free: 85.61 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/0.5767, allocations: 0.7601 MB / 0.6722 GB, free: 85.4 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005554/0.5773, allocations: 258.5 kB / 0.6724 GB, free: 85.39 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004548/0.5818, allocations: 2.564 MB / 0.6749 GB, free: 84.9 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=467): time 7.614e-06/0.5818, allocations: 0 / 0.6749 GB, free: 84.9 MB / 0.5574 GB Notification: Performance of matching and sorting (n=468): time 0.02223/0.6041, allocations: 19.01 MB / 0.6935 GB, free: 75.85 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.6042, allocations: 0.9538 MB / 0.6944 GB, free: 74.72 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003892/0.6081, allocations: 2.948 MB / 0.6973 GB, free: 74.3 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0004857/0.6086, allocations: 62.08 kB / 0.6974 GB, free: 74.27 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.6097, allocations: 1.753 MB / 0.6991 GB, free: 73.57 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001158/0.6108, allocations: 1.586 MB / 0.7006 GB, free: 72.5 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001219/0.6121, allocations: 0.9983 MB / 0.7016 GB, free: 72.4 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.269e-05/0.6121, allocations: 484.7 kB / 0.7021 GB, free: 71.93 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.6137, allocations: 0.9226 MB / 0.703 GB, free: 71.82 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/0.6159, allocations: 3.108 MB / 0.706 GB, free: 69.09 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004049/0.62, allocations: 3.956 MB / 0.7099 GB, free: 66.83 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.109e-05/0.62, allocations: 10.56 kB / 0.7099 GB, free: 66.83 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.006979/0.627, allocations: 4.268 MB / 0.7141 GB, free: 66.33 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.581e-05/0.627, allocations: 87.58 kB / 0.7141 GB, free: 66.27 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004302/0.6313, allocations: 2.83 MB / 0.7169 GB, free: 66 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007116/0.6384, allocations: 1.637 MB / 0.7185 GB, free: 65.93 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002436/0.6409, allocations: 1.145 MB / 0.7196 GB, free: 65.73 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00344/0.6443, allocations: 3.616 MB / 0.7231 GB, free: 62.74 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/0.6465, allocations: 210.2 kB / 0.7233 GB, free: 62.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004555/0.647, allocations: 314.7 kB / 0.7236 GB, free: 62.64 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002132/0.6491, allocations: 1.06 MB / 0.7247 GB, free: 62.28 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001953/0.6511, allocations: 3.096 MB / 0.7277 GB, free: 59.32 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003552/0.6546, allocations: 3.91 MB / 0.7315 GB, free: 56.88 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.627e-05/0.6546, allocations: 9.906 kB / 0.7315 GB, free: 56.88 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.005985/0.6606, allocations: 4.209 MB / 0.7356 GB, free: 55.92 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.795e-05/0.6607, allocations: 89.97 kB / 0.7357 GB, free: 55.85 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003809/0.6645, allocations: 2.764 MB / 0.7384 GB, free: 55.04 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005905/0.6704, allocations: 1.393 MB / 0.7398 GB, free: 54.58 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/0.6727, allocations: 1.149 MB / 0.7409 GB, free: 54.34 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003181/0.6759, allocations: 3.573 MB / 0.7444 GB, free: 51.22 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.678, allocations: 206 kB / 0.7446 GB, free: 51.1 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003648/0.6784, allocations: 310.7 kB / 0.7449 GB, free: 51 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 15 (p_out_n1.nextEventScaled,p_out_n1.nextEvent,$PRE.p_out_n1.nextEvent,p_out_n1.last,p_out_n1.b,p_out_n1.a,ramp1.nextEventScaled,ramp1.nextEvent,$PRE.ramp1.nextEvent,ramp1.last,ramp1.b,ramp1.a,$whenCondition2,$whenCondition1,valveVLE_L1_1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (598): * Single equations (assignments): 594 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(2,28)} Notification: Performance of prepare postOptimizeDAE: time 0.001107/0.6795, allocations: 0.604 MB / 0.7455 GB, free: 50.53 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009257/0.6804, allocations: 0.4965 MB / 0.746 GB, free: 50.25 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 659 equation(s) and 632 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump_3.summary.inlet.steamQuality, pump_3.fluidIn.cp, pump_3.fluidIn.cv, pump_3.fluidIn.beta, pump_3.fluidIn.kappa, pump_3.fluidIn.drhodp_hxi, pump_3.fluidIn.drhodh_pxi, _, pump_3.fluidIn.w, pump_3.fluidIn.gamma) = ($cse37, $cse38, $cse39, $cse40, $cse41, $cse42, $cse43, $cse44, $cse45, $cse46) has size 9 but 7 variables ($whenCondition2, p_out_n1.a, p_out_n1.b, p_out_n1.last, p_out_n1.nextEvent, p_out_n1.nextEventScaled, p_out_n1.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005128/0.6856, allocations: 4.924 MB / 0.7508 GB, free: 45.96 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.422351392917335]