Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels.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.01092/0.01092, allocations: 2.334 MB / 21.18 MB, free: 3.531 MB / 13.93 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.0007517/0.0007517, allocations: 120.5 kB / 24.89 MB, free: 236 kB / 13.93 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.0009003/0.0009003, allocations: 221.8 kB / 28.73 MB, free: 1.043 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.9763/0.9763, allocations: 230.6 MB / 263 MB, free: 6.832 MB / 202.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.7277/0.7277, allocations: 130.7 MB / 450.7 MB, free: 9.777 MB / 346.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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels,fileNamePrefix="ClaRa_dev_ClaRa_Components_TurboMachines_Pumps_Check_TestPumpModels",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPumpModels,fileNamePrefix="ClaRa_dev_ClaRa_Components_TurboMachines_Pumps_Check_TestPumpModels",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "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: ClaRa requested package SMArtInt of version 0.5.1. SMArtInt 1.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(ClaRa, SMArtInt, \"1.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.03491/0.03491, allocations: 29.95 MB / 0.6466 GB, free: 27.07 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.156, allocations: 82.05 MB / 0.7267 GB, free: 11.81 MB / 0.5418 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.TestPumpModels): time 0.1016/0.2575, allocations: 46.98 MB / 0.7726 GB, free: 12.73 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.02024/0.2778, allocations: 18.63 MB / 0.7908 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002194/0.28, allocations: 79.44 kB / 0.7909 GB, free: 9.969 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.003388/0.2833, allocations: 1.613 MB / 0.7924 GB, free: 8.348 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.00427/0.2876, allocations: 1.911 MB / 0.7943 GB, free: 6.426 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.005727/0.2933, allocations: 2.544 MB / 0.7968 GB, free: 3.879 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.007613/0.301, allocations: 4.514 MB / 0.8012 GB, free: 15.35 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002362/0.3033, allocations: 1.416 MB / 0.8026 GB, free: 13.88 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003014/0.3063, allocations: 1.946 MB / 0.8045 GB, free: 11.93 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002934/0.3093, allocations: 2.051 MB / 0.8065 GB, free: 9.871 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.0008941/0.3102, allocations: 308 kB / 0.8068 GB, free: 9.57 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003813/0.314, allocations: 1.961 MB / 0.8087 GB, free: 7.605 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.0009472/0.3149, allocations: 0.9885 MB / 0.8097 GB, free: 6.613 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.001862/0.3168, allocations: 1.379 MB / 0.811 GB, free: 5.227 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.009326/0.3261, allocations: 6.087 MB / 0.8169 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3261, allocations: 0 / 0.8169 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3261, allocations: 0 / 0.8169 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001462/0.3263, allocations: 0 / 0.8169 GB, free: 15.12 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 657 * Number of variables: 657 Notification: Performance of Generate backend data structure: time 0.008072/0.3343, allocations: 4.361 MB / 0.8212 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.3344, allocations: 12.03 kB / 0.8212 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004213/0.3348, allocations: 326.9 kB / 0.8215 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.3362, allocations: 0.5019 MB / 0.822 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006426/0.3426, allocations: 3.287 MB / 0.8252 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.3427, allocations: 143.7 kB / 0.8254 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003431/0.3431, allocations: 188 kB / 0.8255 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009198/0.3523, allocations: 4.46 MB / 0.8299 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.681e-05/0.3524, allocations: 23.81 kB / 0.8299 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/0.3526, allocations: 92 kB / 0.83 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.33e-05/0.3527, allocations: 64 kB / 0.8301 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1968/0.5495, allocations: 2.876 MB / 0.8329 GB, free: 167.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.5596, allocations: 18.07 MB / 0.8505 GB, free: 152.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004308/0.5639, allocations: 2.395 MB / 0.8529 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.565, allocations: 0.9413 MB / 0.8538 GB, free: 151.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/0.5653, allocations: 101 kB / 0.8539 GB, free: 151.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003536/0.5688, allocations: 2.295 MB / 0.8561 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=332): time 5.21e-06/0.5688, allocations: 0 / 0.8561 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=333): time 0.01887/0.5877, allocations: 16.43 MB / 0.8722 GB, free: 140.4 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.5878, allocations: 0.7561 MB / 0.8729 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003108/0.5909, allocations: 2.852 MB / 0.8757 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0004021/0.5913, allocations: 54.55 kB / 0.8757 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006195/0.5919, allocations: 1.402 MB / 0.8771 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000663/0.5926, allocations: 1.112 MB / 0.8782 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007079/0.5933, allocations: 0.7303 MB / 0.8789 GB, free: 136.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.757e-05/0.5933, allocations: 310.2 kB / 0.8792 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.5948, allocations: 1.253 MB / 0.8804 GB, free: 135.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/0.5965, allocations: 2.457 MB / 0.8828 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003455/0.6, allocations: 3.86 MB / 0.8866 GB, free: 130.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-05/0.6, allocations: 9.375 kB / 0.8866 GB, free: 130.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.005569/0.6056, allocations: 4.367 MB / 0.8909 GB, free: 128.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.495e-05/0.6056, allocations: 153.8 kB / 0.891 GB, free: 128.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003513/0.6091, allocations: 3.149 MB / 0.8941 GB, free: 126.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004712/0.6096, allocations: 171.3 kB / 0.8943 GB, free: 126.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.6112, allocations: 0.8843 MB / 0.8951 GB, free: 126.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003581/0.6148, allocations: 3.009 MB / 0.8981 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.6166, allocations: 163.9 kB / 0.8982 GB, free: 123.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002787/0.6169, allocations: 235.9 kB / 0.8984 GB, free: 123 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002274/0.6192, allocations: 1.84 MB / 0.9002 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001558/0.6207, allocations: 2.459 MB / 0.9026 GB, free: 118.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002974/0.6237, allocations: 3.852 MB / 0.9064 GB, free: 113.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.278e-05/0.6237, allocations: 15.94 kB / 0.9064 GB, free: 113.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=491) (initialization_lambda0): time 0.004784/0.6285, allocations: 4.323 MB / 0.9106 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.335e-05/0.6285, allocations: 154.8 kB / 0.9108 GB, free: 109.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003187/0.6317, allocations: 3.126 MB / 0.9138 GB, free: 106.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003245/0.6321, allocations: 143.4 kB / 0.914 GB, free: 105.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.6334, allocations: 0.884 MB / 0.9148 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00318/0.6366, allocations: 2.459 MB / 0.9172 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.6381, allocations: 159.3 kB / 0.9174 GB, free: 102.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/0.6383, allocations: 231.9 kB / 0.9176 GB, free: 102.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 28 (p_out_n3.nextEventScaled,p_out_n3.nextEvent,$PRE.p_out_n3.nextEvent,p_out_n3.last,p_out_n3.b,p_out_n3.a,p_out_n2.nextEventScaled,p_out_n2.nextEvent,$PRE.p_out_n2.nextEvent,p_out_n2.last,p_out_n2.b,p_out_n2.a,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,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (467): * Single equations (assignments): 461 * Array equations: 0 * Algorithm blocks: 4 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000772/0.6391, allocations: 0.5407 MB / 0.9181 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005702/0.6396, allocations: 377.4 kB / 0.9185 GB, free: 101.3 MB / 0.6355 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 388 equation(s) and 372 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump_1.summary.inlet.steamQuality, pump_1.fluidIn.cp, pump_1.fluidIn.cv, pump_1.fluidIn.beta, pump_1.fluidIn.kappa, pump_1.fluidIn.drhodp_hxi, pump_1.fluidIn.drhodh_pxi, _, pump_1.fluidIn.w, pump_1.fluidIn.gamma) = ($cse49, $cse50, $cse51, $cse52, $cse53, $cse54, $cse55, $cse56, $cse57, $cse58) has size 9 but 7 variables ($whenCondition1, ramp1.a, ramp1.b, ramp1.last, ramp1.nextEvent, ramp1.nextEventScaled, ramp1.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00376/0.6434, allocations: 3.707 MB / 0.9221 GB, free: 97.8 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.5312470607459545]