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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.008512/0.008512, allocations: 1.77 MB / 20.61 MB, free: 3.875 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.08138/0.08138, allocations: 25.6 MB / 49.71 MB, free: 2.867 MB / 33.03 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.001389/0.001389, allocations: 114.1 kB / 60.65 MB, free: 2.91 MB / 44.04 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.001198/0.001198, allocations: 208.8 kB / 71.72 MB, free: 6.473 MB / 44.04 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.006/1.006, allocations: 230.6 MB / 313.3 MB, free: 11.78 MB / 234.7 MB " [Timeout remaining time 179] 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 0.8276/0.8276, allocations: 130.7 MB / 0.4963 GB, free: 2.219 MB / 362.8 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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L2_OffDesign",fmuType="me_cs",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_cs",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: 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: 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: Performance of FrontEnd - loaded program: time 0.003372/0.003372, allocations: 151.7 kB / 0.69 GB, free: 46.96 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1309, allocations: 89.27 MB / 0.7772 GB, free: 3.016 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign): time 0.0151/0.146, allocations: 17.33 MB / 0.7941 GB, free: 1.613 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.02173/0.1678, allocations: 20.6 MB / 0.8143 GB, free: 12.95 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002581/0.1703, allocations: 95.31 kB / 0.8144 GB, free: 12.85 MB / 0.5887 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.003814/0.1742, allocations: 2.032 MB / 0.8163 GB, free: 10.81 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.005177/0.1793, allocations: 2.762 MB / 0.819 GB, free: 8.035 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004969/0.1843, allocations: 3.018 MB / 0.822 GB, free: 5.016 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.006811/0.1911, allocations: 6.597 MB / 0.8284 GB, free: 14.4 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002448/0.1936, allocations: 1.954 MB / 0.8303 GB, free: 12.4 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00337/0.1969, allocations: 2.697 MB / 0.833 GB, free: 9.695 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003327/0.2003, allocations: 2.622 MB / 0.8355 GB, free: 7.062 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.0009026/0.2012, allocations: 460 kB / 0.836 GB, free: 6.613 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003697/0.2049, allocations: 2.238 MB / 0.8382 GB, free: 4.371 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.2059, allocations: 1.308 MB / 0.8394 GB, free: 3.059 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.002534/0.2085, allocations: 1.838 MB / 0.8412 GB, free: 1.211 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.008908/0.2174, allocations: 8.127 MB / 0.8492 GB, free: 9.055 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2174, allocations: 0 / 0.8492 GB, free: 9.055 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2174, allocations: 0 / 0.8492 GB, free: 9.055 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.0002014/0.2176, allocations: 0 / 0.8492 GB, free: 9.055 MB / 0.6199 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.007142/0.2247, allocations: 5.218 MB / 0.8543 GB, free: 3.758 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.2248, allocations: 8.031 kB / 0.8543 GB, free: 3.75 MB / 0.6199 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006215/0.2254, allocations: 428.2 kB / 0.8547 GB, free: 3.32 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.2265, allocations: 0.6223 MB / 0.8553 GB, free: 2.695 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004831/0.2313, allocations: 4.056 MB / 0.8592 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-05/0.2314, allocations: 177 kB / 0.8594 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/0.2316, allocations: 235.9 kB / 0.8596 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007848/0.2395, allocations: 5.993 MB / 0.8655 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.74e-05/0.2395, allocations: 27.75 kB / 0.8655 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001955/0.2397, allocations: 108 kB / 0.8656 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.837e-05/0.2398, allocations: 84 kB / 0.8657 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007278/0.2471, allocations: 4.021 MB / 0.8696 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01709/0.2642, allocations: 21.75 MB / 0.8909 GB, free: 12.65 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006387/0.2705, allocations: 3.537 MB / 0.8943 GB, free: 9 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/0.2723, allocations: 1.246 MB / 0.8955 GB, free: 7.703 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005654/0.2729, allocations: 265.6 kB / 0.8958 GB, free: 7.445 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005479/0.2784, allocations: 3.159 MB / 0.8989 GB, free: 4.18 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=470): time 7.464e-06/0.2784, allocations: 0 / 0.8989 GB, free: 4.18 MB / 0.6668 GB Notification: Performance of matching and sorting (n=471): time 0.3102/0.5886, allocations: 21.59 MB / 0.92 GB, free: 108.1 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.5888, allocations: 0.8248 MB / 0.9208 GB, free: 107.1 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004291/0.593, allocations: 3.324 MB / 0.924 GB, free: 105.9 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.0006892/0.5937, allocations: 62.64 kB / 0.9241 GB, free: 105.8 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008534/0.5946, allocations: 1.604 MB / 0.9256 GB, free: 104.7 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.001263/0.5959, allocations: 1.584 MB / 0.9272 GB, free: 103.6 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001305/0.5972, allocations: 0.9479 MB / 0.9281 GB, free: 103.3 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 4.375e-05/0.5972, allocations: 302.9 kB / 0.9284 GB, free: 103 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003066/0.6003, allocations: 1.707 MB / 0.9301 GB, free: 102.2 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002834/0.6031, allocations: 3.171 MB / 0.9332 GB, free: 99.57 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00516/0.6083, allocations: 5.036 MB / 0.9381 GB, free: 96.07 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/0.6083, allocations: 13.36 kB / 0.9381 GB, free: 96.07 MB / 0.6668 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.008025/0.6163, allocations: 5.706 MB / 0.9437 GB, free: 93.53 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 6.195e-05/0.6164, allocations: 88.81 kB / 0.9438 GB, free: 93.46 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004983/0.6213, allocations: 4.348 MB / 0.948 GB, free: 90.41 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/0.6318, allocations: 3.084 MB / 0.951 GB, free: 88.17 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/0.6342, allocations: 1.139 MB / 0.9521 GB, free: 87.03 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004377/0.6386, allocations: 3.76 MB / 0.9558 GB, free: 83.13 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/0.6409, allocations: 213.4 kB / 0.956 GB, free: 82.93 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003874/0.6413, allocations: 312.4 kB / 0.9563 GB, free: 82.63 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003359/0.6447, allocations: 2.44 MB / 0.9587 GB, free: 80.17 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002167/0.6468, allocations: 3.14 MB / 0.9617 GB, free: 76.41 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004324/0.6512, allocations: 4.986 MB / 0.9666 GB, free: 70.86 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.389e-05/0.6512, allocations: 12 kB / 0.9666 GB, free: 70.84 MB / 0.6668 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.006892/0.6581, allocations: 5.574 MB / 0.9721 GB, free: 65.23 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.6581, allocations: 87.39 kB / 0.9721 GB, free: 65.13 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004552/0.6627, allocations: 4.217 MB / 0.9763 GB, free: 60.87 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009521/0.6722, allocations: 2.727 MB / 0.9789 GB, free: 58.14 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002418/0.6746, allocations: 1.17 MB / 0.9801 GB, free: 56.97 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003935/0.6785, allocations: 3.461 MB / 0.9835 GB, free: 53.38 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/0.6808, allocations: 210.2 kB / 0.9837 GB, free: 53.18 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003825/0.6812, allocations: 307.8 kB / 0.9839 GB, free: 52.88 MB / 0.6668 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.001193/0.6824, allocations: 0.5163 MB / 0.9845 GB, free: 52.37 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007724/0.6832, allocations: 448.9 kB / 0.9849 GB, free: 51.93 MB / 0.6668 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 1.9.0-ClaRa/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.0059/0.6891, allocations: 5.437 MB / 0.9902 GB, free: 46.64 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.7580250706523657]