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.01461/0.01461, allocations: 1.767 MB / 18.12 MB, free: 4.941 MB / 14.72 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.001593/0.001593, allocations: 107.7 kB / 21.36 MB, free: 1.703 MB / 14.72 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.001537/0.001537, allocations: 217.8 kB / 24.75 MB, free: 3.723 MB / 14.72 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.629/1.629, allocations: 230.6 MB / 258.5 MB, free: 13.14 MB / 206.1 MB " [Timeout remaining time 178] 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 1.155/1.155, allocations: 130.5 MB / 445.5 MB, free: 14.55 MB / 350.1 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.3.1 (/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: SMArtInt 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: ClaRa 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 uses annotation from ClaRa. 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. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.4803/0.4803, allocations: 46.15 MB / 0.6549 GB, free: 30.75 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.722, allocations: 89.05 MB / 0.7419 GB, free: 2.375 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign): time 0.02875/0.7507, allocations: 19.61 MB / 0.7611 GB, free: 14.69 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04791/0.7986, allocations: 21.31 MB / 0.7819 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006149/0.8048, allocations: 99.25 kB / 0.782 GB, free: 9.211 MB / 0.5919 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.008191/0.813, allocations: 2.087 MB / 0.784 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01242/0.8254, allocations: 2.704 MB / 0.7866 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01087/0.8362, allocations: 2.968 MB / 0.7895 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01389/0.8501, allocations: 6.599 MB / 0.796 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005828/0.856, allocations: 1.837 MB / 0.7978 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007205/0.8632, allocations: 2.697 MB / 0.8004 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006687/0.8699, allocations: 2.792 MB / 0.8031 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002412/0.8723, allocations: 464 kB / 0.8036 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008905/0.8812, allocations: 2.826 MB / 0.8063 GB, free: 144 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003085/0.8843, allocations: 1.296 MB / 0.8076 GB, free: 14.84 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.00672/0.891, allocations: 2.409 MB / 0.81 GB, free: 12.42 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.01953/0.9105, allocations: 8.209 MB / 0.818 GB, free: 4.18 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.9105, allocations: 3.984 kB / 0.818 GB, free: 4.176 MB / 0.6232 GB Notification: Performance of FrontEnd: time 3.026e-06/0.9105, allocations: 0 / 0.818 GB, free: 4.176 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0003148/0.9108, allocations: 4 kB / 0.818 GB, free: 4.172 MB / 0.6232 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.01675/0.9276, allocations: 5.289 MB / 0.8231 GB, free: 14.79 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.9276, allocations: 11.97 kB / 0.8232 GB, free: 14.77 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003167/0.9308, allocations: 0.6223 MB / 0.8238 GB, free: 14.15 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/0.9415, allocations: 4.209 MB / 0.8279 GB, free: 9.879 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003051/0.9418, allocations: 184.9 kB / 0.8281 GB, free: 9.695 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/0.9428, allocations: 236.1 kB / 0.8283 GB, free: 9.465 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01728/0.9601, allocations: 5.275 MB / 0.8334 GB, free: 3.555 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001347/0.9603, allocations: 31.7 kB / 0.8335 GB, free: 3.523 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006064/0.9609, allocations: 112 kB / 0.8336 GB, free: 3.414 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.832e-05/0.961, allocations: 87.98 kB / 0.8337 GB, free: 3.328 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01254/0.9735, allocations: 3.97 MB / 0.8375 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02905/1.003, allocations: 23.03 MB / 0.86 GB, free: 7.539 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/1.014, allocations: 3.7 MB / 0.8636 GB, free: 3.668 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002973/1.017, allocations: 1.198 MB / 0.8648 GB, free: 2.43 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/1.018, allocations: 431.8 kB / 0.8652 GB, free: 1.973 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.567/1.585, allocations: 3.093 MB / 0.8682 GB, free: 115.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=470): time 5.921e-06/1.585, allocations: 1.125 kB / 0.8682 GB, free: 115.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=471): time 0.04093/1.626, allocations: 21.67 MB / 0.8894 GB, free: 104.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002401/1.626, allocations: 0.8251 MB / 0.8902 GB, free: 103.7 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005349/1.631, allocations: 3.264 MB / 0.8934 GB, free: 102.5 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008817/1.632, allocations: 60.64 kB / 0.8934 GB, free: 102.4 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001309/1.633, allocations: 1.608 MB / 0.895 GB, free: 101.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002023/1.635, allocations: 1.585 MB / 0.8966 GB, free: 100.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001755/1.637, allocations: 0.9499 MB / 0.8975 GB, free: 99.87 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.109e-05/1.637, allocations: 301.1 kB / 0.8978 GB, free: 99.57 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003454/1.641, allocations: 1.644 MB / 0.8994 GB, free: 98.83 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004715/1.645, allocations: 2.91 MB / 0.9022 GB, free: 96.55 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008822/1.654, allocations: 5.027 MB / 0.9071 GB, free: 93.19 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.439e-05/1.654, allocations: 14.59 kB / 0.9072 GB, free: 93.19 MB / 0.67 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01501/1.669, allocations: 5.635 MB / 0.9127 GB, free: 90.96 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/1.669, allocations: 84.45 kB / 0.9127 GB, free: 90.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009716/1.679, allocations: 4.271 MB / 0.9169 GB, free: 89.23 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02511/1.704, allocations: 3.079 MB / 0.9199 GB, free: 88.51 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004745/1.709, allocations: 1.142 MB / 0.921 GB, free: 88.28 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009289/1.718, allocations: 3.874 MB / 0.9248 GB, free: 85.33 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004456/1.723, allocations: 220.2 kB / 0.925 GB, free: 85.22 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001335/1.724, allocations: 308.3 kB / 0.9253 GB, free: 85.12 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006658/1.731, allocations: 2.373 MB / 0.9276 GB, free: 83.76 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004771/1.736, allocations: 2.877 MB / 0.9304 GB, free: 81.25 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008708/1.744, allocations: 4.971 MB / 0.9353 GB, free: 77.73 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.03e-05/1.744, allocations: 12.59 kB / 0.9353 GB, free: 77.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01381/1.758, allocations: 5.486 MB / 0.9407 GB, free: 73.88 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-05/1.758, allocations: 87.39 kB / 0.9407 GB, free: 73.78 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008964/1.767, allocations: 4.134 MB / 0.9448 GB, free: 69.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02162/1.789, allocations: 2.727 MB / 0.9474 GB, free: 67.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004454/1.793, allocations: 1.175 MB / 0.9486 GB, free: 66 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008026/1.801, allocations: 3.571 MB / 0.9521 GB, free: 62.35 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004067/1.805, allocations: 211.4 kB / 0.9523 GB, free: 62.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00113/1.806, allocations: 310.4 kB / 0.9526 GB, free: 61.86 MB / 0.67 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.001967/1.808, allocations: 0.5113 MB / 0.9531 GB, free: 61.42 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001892/1.81, allocations: 448.4 kB / 0.9535 GB, free: 60.98 MB / 0.67 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.01101/1.821, allocations: 5.4 MB / 0.9588 GB, free: 56.05 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.844749372990918] Failed to read output from testmodel.py, exit status != 0: 1.8312072629923932 1.839897106 0.926764788 Calling exit ...