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.01545/0.01545, allocations: 1.757 MB / 20.59 MB, free: 1.277 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.001659/0.001659, allocations: 111.3 kB / 24.19 MB, free: 2.656 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.002371/0.002371, allocations: 207.9 kB / 27.92 MB, free: 4 MB / 19.63 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.443/1.443, allocations: 230.6 MB / 262.1 MB, free: 6.215 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.061/1.061, allocations: 130.7 MB / 449.7 MB, free: 6.555 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). 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.0335/0.0335, allocations: 20.79 MB / 0.6362 GB, free: 4.641 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.2172, allocations: 81.9 MB / 0.7162 GB, free: 2.645 MB / 0.5294 GB 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.4953/0.7125, allocations: 52.59 MB / 0.7676 GB, free: 15.5 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02942/0.7419, allocations: 21.6 MB / 0.7887 GB, free: 116 kB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005019/0.7469, allocations: 99.09 kB / 0.7887 GB, free: 68 kB / 0.5607 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.005748/0.7527, allocations: 2.137 MB / 0.7908 GB, free: 15.06 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.008794/0.7615, allocations: 2.764 MB / 0.7935 GB, free: 13.26 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.007882/0.7693, allocations: 2.998 MB / 0.7965 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01132/0.7807, allocations: 6.605 MB / 0.8029 GB, free: 7.094 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003689/0.7843, allocations: 1.816 MB / 0.8047 GB, free: 5.762 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006017/0.7904, allocations: 2.695 MB / 0.8073 GB, free: 4.203 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006012/0.7964, allocations: 2.801 MB / 0.8101 GB, free: 2.414 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001738/0.7981, allocations: 464.8 kB / 0.8105 GB, free: 2.219 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008032/0.8061, allocations: 2.999 MB / 0.8134 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002424/0.8086, allocations: 1.308 MB / 0.8147 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005049/0.8136, allocations: 2.402 MB / 0.817 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01547/0.8291, allocations: 8.27 MB / 0.8251 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8291, allocations: 0.9375 kB / 0.8251 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8291, allocations: 0 / 0.8251 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002199/0.8293, allocations: 0 / 0.8251 GB, free: 3.203 MB / 0.5919 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.01272/0.842, allocations: 5.211 MB / 0.8302 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.8421, allocations: 11.97 kB / 0.8302 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.844, allocations: 0.6184 MB / 0.8308 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007684/0.8517, allocations: 4.055 MB / 0.8348 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.8518, allocations: 181 kB / 0.835 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003764/0.8522, allocations: 232.1 kB / 0.8352 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01177/0.864, allocations: 5.283 MB / 0.8403 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-05/0.8641, allocations: 27.75 kB / 0.8404 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002623/0.8643, allocations: 116 kB / 0.8405 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.932e-05/0.8644, allocations: 86.22 kB / 0.8406 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01062/0.8751, allocations: 3.97 MB / 0.8444 GB, free: 14.74 MB / 0.6232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02842/0.9035, allocations: 22.93 MB / 0.8668 GB, free: 7.129 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/0.9136, allocations: 3.469 MB / 0.8702 GB, free: 3.578 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002664/0.9162, allocations: 1.199 MB / 0.8714 GB, free: 2.344 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/0.9173, allocations: 277.6 kB / 0.8717 GB, free: 2.082 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00867/0.926, allocations: 3.097 MB / 0.8747 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=470): time 7.935e-06/0.926, allocations: 0 / 0.8747 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=471): time 0.04397/0.9699, allocations: 21.46 MB / 0.8956 GB, free: 9.254 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004865/0.9704, allocations: 0.8251 MB / 0.8964 GB, free: 8.242 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004656/0.9751, allocations: 3.264 MB / 0.8996 GB, free: 4.957 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000451/0.9755, allocations: 61.7 kB / 0.8997 GB, free: 4.891 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.977, allocations: 1.601 MB / 0.9012 GB, free: 3.281 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001582/0.9786, allocations: 1.584 MB / 0.9028 GB, free: 1.684 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001407/0.98, allocations: 0.9514 MB / 0.9037 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.9801, allocations: 305.1 kB / 0.904 GB, free: 432 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003155/0.9833, allocations: 1.644 MB / 0.9056 GB, free: 14.77 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004355/0.9876, allocations: 2.909 MB / 0.9085 GB, free: 11.34 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008346/0.996, allocations: 5.018 MB / 0.9134 GB, free: 5.836 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.986e-05/0.996, allocations: 14.66 kB / 0.9134 GB, free: 5.824 MB / 0.6857 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01266/1.009, allocations: 5.64 MB / 0.9189 GB, free: 184 kB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/1.009, allocations: 84.17 kB / 0.919 GB, free: 88 kB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009306/1.018, allocations: 4.263 MB / 0.9231 GB, free: 11.79 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02548/1.044, allocations: 3.09 MB / 0.9261 GB, free: 8.883 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004105/1.048, allocations: 1.135 MB / 0.9272 GB, free: 7.746 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009712/1.057, allocations: 3.771 MB / 0.9309 GB, free: 3.895 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003058/1.06, allocations: 210.2 kB / 0.9311 GB, free: 3.691 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008761/1.061, allocations: 322.4 kB / 0.9314 GB, free: 3.379 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005519/1.067, allocations: 2.367 MB / 0.9337 GB, free: 1.004 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004816/1.072, allocations: 2.876 MB / 0.9366 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008716/1.08, allocations: 4.98 MB / 0.9414 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.06e-05/1.08, allocations: 12 kB / 0.9414 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01204/1.092, allocations: 5.492 MB / 0.9468 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/1.093, allocations: 87.39 kB / 0.9469 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0086/1.101, allocations: 4.141 MB / 0.9509 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0226/1.124, allocations: 2.725 MB / 0.9536 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004298/1.128, allocations: 1.168 MB / 0.9547 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008976/1.137, allocations: 3.473 MB / 0.9581 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003354/1.14, allocations: 207.6 kB / 0.9583 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/1.141, allocations: 315.8 kB / 0.9586 GB, free: 6.387 MB / 0.7325 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.001771/1.143, allocations: 0.5101 MB / 0.9591 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001722/1.145, allocations: 450.9 kB / 0.9595 GB, free: 5.414 MB / 0.7325 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.01207/1.157, allocations: 5.398 MB / 0.9648 GB, free: 160 kB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.314684116048738] Failed to read output from testmodel.py, exit status != 0: 1.3299809989985079 1.646741449 0.8143991819999999 Calling exit ...