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.005917/0.005917, 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.0006634/0.0006634, allocations: 87.47 kB / 24.15 MB, free: 400 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.0007646/0.0007646, allocations: 165 kB / 27.86 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.8254/0.8254, allocations: 177.2 MB / 208.6 MB, free: 2.977 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.6875/0.6875, allocations: 102.5 MB / 367.9 MB, free: 1.426 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.293e-06/1.293e-06, allocations: 0 / 0.5366 GB, free: 39.78 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.245e-05, allocations: 6.797 kB / 0.5367 GB, free: 39.77 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.1063/0.1063, allocations: 63.94 MB / 0.5991 GB, free: 12.07 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02121/0.1275, allocations: 20.31 MB / 0.6189 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002393/0.1299, allocations: 95.31 kB / 0.619 GB, free: 7.59 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.003096/0.133, allocations: 2.053 MB / 0.621 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003631/0.1366, allocations: 2.838 MB / 0.6238 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003891/0.1405, allocations: 3.063 MB / 0.6268 GB, free: 15.6 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.004386/0.1449, allocations: 6.783 MB / 0.6334 GB, free: 8.793 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.1464, allocations: 1.973 MB / 0.6353 GB, free: 6.777 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002713/0.1492, allocations: 3.695 MB / 0.639 GB, free: 3.074 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.1509, allocations: 2.28 MB / 0.6412 GB, free: 0.7891 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003528/0.1513, allocations: 460 kB / 0.6416 GB, free: 348 kB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002963/0.1542, allocations: 2.253 MB / 0.6438 GB, free: 14.08 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.0006887/0.1549, allocations: 1.319 MB / 0.6451 GB, free: 12.76 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.0009851/0.1559, allocations: 1.488 MB / 0.6466 GB, free: 11.27 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.005706/0.1616, allocations: 8.112 MB / 0.6545 GB, free: 3.129 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1616, allocations: 4 kB / 0.6545 GB, free: 3.125 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1616, allocations: 0 / 0.6545 GB, free: 3.125 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 4.46e-05/0.1617, allocations: 7.938 kB / 0.6545 GB, free: 3.117 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.005202/0.1669, allocations: 5.159 MB / 0.6595 GB, free: 13.88 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1669, allocations: 8.031 kB / 0.6595 GB, free: 13.87 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009462/0.1678, allocations: 0.6223 MB / 0.6601 GB, free: 13.25 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00413/0.172, allocations: 4.062 MB / 0.6641 GB, free: 9.121 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.274e-05/0.1721, allocations: 177 kB / 0.6643 GB, free: 8.945 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.1723, allocations: 228.4 kB / 0.6645 GB, free: 8.723 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006482/0.1788, allocations: 5.998 MB / 0.6704 GB, free: 1.918 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.741e-05/0.1788, allocations: 31.69 kB / 0.6704 GB, free: 1.887 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/0.179, allocations: 112 kB / 0.6705 GB, free: 1.777 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.274e-05/0.179, allocations: 76 kB / 0.6706 GB, free: 1.703 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006019/0.185, allocations: 4.021 MB / 0.6745 GB, free: 13.66 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01213/0.1972, allocations: 21.34 MB / 0.6953 GB, free: 7.629 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005389/0.2026, allocations: 3.519 MB / 0.6988 GB, free: 3.996 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.204, allocations: 1.264 MB / 0.7 GB, free: 2.68 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005084/0.2045, allocations: 253.6 kB / 0.7002 GB, free: 2.434 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004534/0.209, allocations: 3.162 MB / 0.7033 GB, free: 15.16 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=470): time 4.749e-06/0.209, allocations: 0 / 0.7033 GB, free: 15.16 MB / 0.6043 GB Notification: Performance of matching and sorting (n=471): time 0.023/0.232, allocations: 21.59 MB / 0.7244 GB, free: 9.34 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002273/0.2322, allocations: 0.8268 MB / 0.7252 GB, free: 8.32 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003026/0.2353, allocations: 3.229 MB / 0.7284 GB, free: 5.105 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0001893/0.2354, allocations: 57.7 kB / 0.7284 GB, free: 5.043 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008835/0.2363, allocations: 1.613 MB / 0.73 GB, free: 3.414 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008922/0.2372, allocations: 1.569 MB / 0.7315 GB, free: 1.832 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009401/0.2382, allocations: 0.9401 MB / 0.7325 GB, free: 0.8828 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 7.058e-05/0.2382, allocations: 308.9 kB / 0.7328 GB, free: 0.582 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/0.2403, allocations: 1.715 MB / 0.7344 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002683/0.243, allocations: 3.164 MB / 0.7375 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00541/0.2484, allocations: 5.03 MB / 0.7424 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.54e-05/0.2484, allocations: 12 kB / 0.7424 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.007495/0.2559, allocations: 5.706 MB / 0.748 GB, free: 15.68 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 8.067e-05/0.256, allocations: 95.38 kB / 0.7481 GB, free: 15.58 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005464/0.2614, allocations: 4.352 MB / 0.7524 GB, free: 11.18 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01103/0.2724, allocations: 3.091 MB / 0.7554 GB, free: 8.078 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/0.2744, allocations: 1.143 MB / 0.7565 GB, free: 6.934 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004958/0.2793, allocations: 3.735 MB / 0.7601 GB, free: 3.066 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.2811, allocations: 223.5 kB / 0.7603 GB, free: 2.848 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003221/0.2814, allocations: 307.8 kB / 0.7606 GB, free: 2.547 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003353/0.2848, allocations: 2.432 MB / 0.763 GB, free: 96 kB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.2258/0.5106, allocations: 3.141 MB / 0.7661 GB, free: 179.1 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005111/0.5157, allocations: 4.973 MB / 0.7709 GB, free: 176 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.576e-05/0.5157, allocations: 14.41 kB / 0.771 GB, free: 176 MB / 0.6512 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.00718/0.5229, allocations: 5.56 MB / 0.7764 GB, free: 173.8 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 5.548e-05/0.5229, allocations: 85.86 kB / 0.7765 GB, free: 173.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005238/0.5282, allocations: 4.217 MB / 0.7806 GB, free: 172 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009997/0.5382, allocations: 2.73 MB / 0.7832 GB, free: 171.8 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002184/0.5403, allocations: 1.172 MB / 0.7844 GB, free: 171.7 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004094/0.5444, allocations: 3.441 MB / 0.7878 GB, free: 169.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.5461, allocations: 210.8 kB / 0.788 GB, free: 169.4 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000344/0.5465, allocations: 309.6 kB / 0.7883 GB, free: 169.4 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.0008599/0.5473, allocations: 0.5152 MB / 0.7888 GB, free: 168.9 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006315/0.548, allocations: 441.7 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.006083/0.554, allocations: 5.413 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.100173933431506] Failed to read output from testmodel.py, exit status != 0: 0.6784907272085547 0.684750312 0.521769362 Calling exit ...