Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01032/0.01032, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001287/0.001287, allocations: 107.6 kB / 24.19 MB, free: 2.688 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.001631/0.001631, allocations: 206.6 kB / 27.92 MB, free: 4.027 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.513/1.513, allocations: 230.6 MB / 262.1 MB, free: 6.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.143/1.143, allocations: 130.7 MB / 449.7 MB, free: 6.605 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L2_OffDesign",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L2_OffDesign",fmuType="me",version="2.0",platforms={"static"}) [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.03397/0.03397, allocations: 20.78 MB / 0.6357 GB, free: 5.18 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.2118, allocations: 81.91 MB / 0.7157 GB, free: 3.184 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.6019/0.8137, allocations: 52.6 MB / 0.7671 GB, free: 15.68 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03613/0.8498, allocations: 21.6 MB / 0.7882 GB, free: 288 kB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007038/0.8568, allocations: 94.31 kB / 0.7883 GB, free: 244 kB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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.008195/0.865, allocations: 2.135 MB / 0.7904 GB, free: 15.23 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01254/0.8776, allocations: 2.761 MB / 0.7931 GB, free: 13.53 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.009753/0.8873, allocations: 3.011 MB / 0.796 GB, free: 11.28 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01509/0.9024, allocations: 6.604 MB / 0.8024 GB, free: 7.355 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004426/0.9069, allocations: 1.82 MB / 0.8042 GB, free: 6.02 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007114/0.914, allocations: 2.693 MB / 0.8068 GB, free: 4.461 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006821/0.9208, allocations: 2.8 MB / 0.8096 GB, free: 2.672 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001935/0.9227, allocations: 461.4 kB / 0.81 GB, free: 2.645 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008669/0.9314, allocations: 3.012 MB / 0.813 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002777/0.9342, allocations: 1.308 MB / 0.8142 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005098/0.9393, allocations: 2.402 MB / 0.8166 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01716/0.9564, allocations: 8.259 MB / 0.8247 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.9564, allocations: 0 / 0.8247 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.866e-06/0.9564, allocations: 0 / 0.8247 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000261/0.9567, allocations: 0 / 0.8247 GB, free: 3.633 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.01267/0.9694, allocations: 5.219 MB / 0.8297 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.9694, allocations: 8.031 kB / 0.8298 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005933/0.97, allocations: 416.3 kB / 0.8302 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.972, allocations: 0.621 MB / 0.8308 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008785/0.9808, allocations: 4.049 MB / 0.8347 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.981, allocations: 182.7 kB / 0.8349 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004307/0.9814, allocations: 241.2 kB / 0.8351 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01289/0.9943, allocations: 5.279 MB / 0.8403 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-05/0.9944, allocations: 27.75 kB / 0.8403 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002783/0.9947, allocations: 116 kB / 0.8404 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.363e-05/0.9948, allocations: 79.98 kB / 0.8405 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01135/1.006, allocations: 3.963 MB / 0.8444 GB, free: 14.75 MB / 0.6232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02969/1.036, allocations: 22.94 MB / 0.8668 GB, free: 7.141 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/1.046, allocations: 3.482 MB / 0.8702 GB, free: 3.582 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002707/1.049, allocations: 1.189 MB / 0.8713 GB, free: 2.355 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/1.05, allocations: 279 kB / 0.8716 GB, free: 2.09 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008598/1.059, allocations: 3.094 MB / 0.8746 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=470): time 5.35e-06/1.059, allocations: 6.656 kB / 0.8746 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=471): time 0.04346/1.102, allocations: 21.45 MB / 0.8956 GB, free: 9.266 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005589/1.103, allocations: 0.8294 MB / 0.8964 GB, free: 8.246 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005546/1.108, allocations: 3.26 MB / 0.8996 GB, free: 4.965 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008558/1.109, allocations: 65.7 kB / 0.8996 GB, free: 4.895 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001637/1.111, allocations: 1.598 MB / 0.9012 GB, free: 3.285 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.00231/1.113, allocations: 1.587 MB / 0.9027 GB, free: 1.684 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001636/1.115, allocations: 0.9475 MB / 0.9037 GB, free: 0.7266 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.115, allocations: 307.8 kB / 0.9039 GB, free: 436 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003467/1.118, allocations: 1.642 MB / 0.9056 GB, free: 14.77 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004724/1.123, allocations: 2.905 MB / 0.9084 GB, free: 11.34 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008594/1.132, allocations: 5.018 MB / 0.9133 GB, free: 5.84 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-05/1.132, allocations: 12 kB / 0.9133 GB, free: 5.828 MB / 0.6857 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01252/1.144, allocations: 5.636 MB / 0.9188 GB, free: 196 kB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/1.144, allocations: 87.39 kB / 0.9189 GB, free: 96 kB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009208/1.153, allocations: 4.269 MB / 0.9231 GB, free: 11.8 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02589/1.179, allocations: 3.082 MB / 0.9261 GB, free: 8.895 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004225/1.184, allocations: 1.143 MB / 0.9272 GB, free: 7.75 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009989/1.194, allocations: 3.766 MB / 0.9309 GB, free: 3.906 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003563/1.197, allocations: 218.1 kB / 0.9311 GB, free: 3.695 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000628/1.198, allocations: 307.8 kB / 0.9314 GB, free: 3.395 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005061/1.203, allocations: 2.374 MB / 0.9337 GB, free: 1.012 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004593/1.207, allocations: 2.88 MB / 0.9365 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00917/1.217, allocations: 4.988 MB / 0.9414 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.333e-05/1.217, allocations: 8 kB / 0.9414 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01208/1.229, allocations: 5.491 MB / 0.9467 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.343e-05/1.229, allocations: 86.52 kB / 0.9468 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008829/1.238, allocations: 4.135 MB / 0.9509 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02317/1.261, allocations: 2.724 MB / 0.9535 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004946/1.266, allocations: 1.166 MB / 0.9547 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008954/1.275, allocations: 3.473 MB / 0.958 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003514/1.278, allocations: 215.7 kB / 0.9582 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007675/1.279, allocations: 307.8 kB / 0.9585 GB, free: 6.383 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.001533/1.28, allocations: 0.5286 MB / 0.9591 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/1.282, allocations: 441 kB / 0.9595 GB, free: 5.402 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.01071/1.293, allocations: 5.389 MB / 0.9647 GB, free: 152 kB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.808813858999201] Failed to read output from testmodel.py, exit status != 0: 1.506814280000981 1.89377954 0.933709789 Calling exit ...