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.006066/0.006066, allocations: 1.442 MB / 20.54 MB, free: 4.012 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.0006837/0.0006837, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.000838/0.000838, allocations: 160.2 kB / 27.85 MB, free: 5.496 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.851/0.851, allocations: 177.2 MB / 208.6 MB, free: 2.984 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.7091/0.7091, allocations: 102.4 MB / 367.9 MB, free: 1.465 MB / 330.8 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 0.5.2 (/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.132e-06/1.132e-06, allocations: 0 / 0.5366 GB, free: 39.79 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.012e-05, allocations: 3.25 kB / 0.5366 GB, free: 39.79 MB / 490.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.1084/0.1085, allocations: 63.96 MB / 0.5991 GB, free: 12.06 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02217/0.1306, allocations: 20.31 MB / 0.6189 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002888/0.1335, allocations: 99.31 kB / 0.619 GB, free: 7.586 MB / 0.5105 GB [/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.003873/0.1374, allocations: 2.051 MB / 0.621 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004441/0.1418, allocations: 2.842 MB / 0.6238 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00425/0.1461, allocations: 3.057 MB / 0.6268 GB, free: 15.6 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.005355/0.1514, allocations: 6.779 MB / 0.6334 GB, free: 8.801 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.1531, allocations: 1.973 MB / 0.6353 GB, free: 6.785 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002953/0.1561, allocations: 3.691 MB / 0.6389 GB, free: 3.086 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001762/0.1579, allocations: 2.282 MB / 0.6412 GB, free: 0.7969 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003756/0.1582, allocations: 464 kB / 0.6416 GB, free: 352 kB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.1614, allocations: 2.245 MB / 0.6438 GB, free: 14.09 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.000772/0.1622, allocations: 1.323 MB / 0.6451 GB, free: 12.77 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.1632, allocations: 1.488 MB / 0.6466 GB, free: 11.27 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.005502/0.1687, allocations: 8.124 MB / 0.6545 GB, free: 3.125 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1687, allocations: 0 / 0.6545 GB, free: 3.125 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1687, allocations: 0 / 0.6545 GB, free: 3.125 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 3.346e-05/0.1687, allocations: 0 / 0.6545 GB, free: 3.125 MB / 0.5418 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.004928/0.1736, allocations: 5.156 MB / 0.6595 GB, free: 13.89 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1737, allocations: 15.95 kB / 0.6595 GB, free: 13.88 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009309/0.1746, allocations: 0.6184 MB / 0.6601 GB, free: 13.25 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004209/0.1788, allocations: 4.062 MB / 0.6641 GB, free: 9.125 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.1789, allocations: 177 kB / 0.6643 GB, free: 8.949 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002424/0.1792, allocations: 228.4 kB / 0.6645 GB, free: 8.727 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007019/0.1862, allocations: 5.994 MB / 0.6703 GB, free: 1.926 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.162e-05/0.1862, allocations: 39.67 kB / 0.6704 GB, free: 1.887 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/0.1864, allocations: 108 kB / 0.6705 GB, free: 1.781 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.557e-05/0.1865, allocations: 76 kB / 0.6706 GB, free: 1.707 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00633/0.1928, allocations: 4.021 MB / 0.6745 GB, free: 13.66 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01431/0.2071, allocations: 21.35 MB / 0.6953 GB, free: 7.625 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00576/0.2129, allocations: 3.521 MB / 0.6988 GB, free: 3.992 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/0.2143, allocations: 1.252 MB / 0.7 GB, free: 2.688 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005386/0.2149, allocations: 257.6 kB / 0.7002 GB, free: 2.438 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00484/0.2197, allocations: 3.162 MB / 0.7033 GB, free: 15.17 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=470): time 5.05e-06/0.2197, allocations: 0 / 0.7033 GB, free: 15.17 MB / 0.6043 GB Notification: Performance of matching and sorting (n=471): time 0.02447/0.2442, allocations: 21.59 MB / 0.7244 GB, free: 9.34 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002368/0.2444, allocations: 0.8268 MB / 0.7252 GB, free: 8.32 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003107/0.2475, allocations: 3.221 MB / 0.7284 GB, free: 5.113 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0001784/0.2477, allocations: 61.7 kB / 0.7284 GB, free: 5.047 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009693/0.2487, allocations: 1.613 MB / 0.73 GB, free: 3.418 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008822/0.2496, allocations: 1.573 MB / 0.7315 GB, free: 1.832 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009423/0.2505, allocations: 0.9323 MB / 0.7325 GB, free: 0.8906 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 6.802e-05/0.2506, allocations: 305.1 kB / 0.7327 GB, free: 0.5898 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/0.2527, allocations: 1.711 MB / 0.7344 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002861/0.2555, allocations: 3.175 MB / 0.7375 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005223/0.2608, allocations: 5.03 MB / 0.7424 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.2608, allocations: 8 kB / 0.7424 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.007477/0.2682, allocations: 5.714 MB / 0.748 GB, free: 15.68 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.694e-05/0.2683, allocations: 87.38 kB / 0.7481 GB, free: 15.58 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00559/0.2739, allocations: 4.352 MB / 0.7523 GB, free: 11.18 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01103/0.2849, allocations: 3.095 MB / 0.7554 GB, free: 8.078 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002085/0.287, allocations: 1.143 MB / 0.7565 GB, free: 6.934 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004931/0.2919, allocations: 3.735 MB / 0.7601 GB, free: 3.066 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.294, allocations: 219.5 kB / 0.7603 GB, free: 2.852 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003459/0.2943, allocations: 311.8 kB / 0.7606 GB, free: 2.547 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003673/0.298, allocations: 2.428 MB / 0.763 GB, free: 100 kB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.2496/0.5476, allocations: 3.142 MB / 0.7661 GB, free: 179 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006206/0.5538, allocations: 4.977 MB / 0.7709 GB, free: 176 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-05/0.5538, allocations: 10.78 kB / 0.7709 GB, free: 176 MB / 0.6512 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.008158/0.562, allocations: 5.565 MB / 0.7764 GB, free: 173.7 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.29e-05/0.5621, allocations: 94.89 kB / 0.7765 GB, free: 173.6 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005472/0.5675, allocations: 4.204 MB / 0.7806 GB, free: 171.9 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009704/0.5772, allocations: 2.731 MB / 0.7832 GB, free: 171.8 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002039/0.5793, allocations: 1.17 MB / 0.7844 GB, free: 171.7 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00407/0.5834, allocations: 3.439 MB / 0.7877 GB, free: 169.4 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.585, allocations: 213.9 kB / 0.7879 GB, free: 169.4 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000333/0.5854, allocations: 308.9 kB / 0.7882 GB, free: 169.3 MB / 0.6512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 171 * 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 (595): * Single equations (assignments): 591 * 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,31)} Notification: Performance of prepare postOptimizeDAE: time 0.0007749/0.5861, allocations: 0.5158 MB / 0.7887 GB, free: 168.9 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005656/0.5867, allocations: 439.8 kB / 0.7892 GB, free: 168.9 MB / 0.6512 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 664 equation(s) and 637 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.006057/0.5928, allocations: 5.417 MB / 0.7945 GB, free: 166.6 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.25885421782732] Failed to read output from testmodel.py, exit status != 0: 0.7214434240013361 0.728001622 0.557895208 Calling exit ...