Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Adapters.Check.TestFluidConverters.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.009501/0.009501, allocations: 1.77 MB / 20.62 MB, free: 3.863 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.1278/0.1278, allocations: 25.61 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.00138/0.00138, allocations: 110.1 kB / 60.66 MB, free: 2.906 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.001199/0.001199, allocations: 214.8 kB / 71.73 MB, free: 14.46 MB / 58.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.039/1.039, allocations: 230.6 MB / 313.3 MB, free: 5.164 MB / 218.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.6393/0.6393, allocations: 130.7 MB / 0.4963 GB, free: 2.52 MB / 378.7 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.Adapters.Check.TestFluidConverters,fileNamePrefix="ClaRa_ClaRa_Components_Adapters_Check_TestFluidConverters",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Adapters.Check.TestFluidConverters,fileNamePrefix="ClaRa_ClaRa_Components_Adapters_Check_TestFluidConverters",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.002958/0.002958, allocations: 155.8 kB / 0.69 GB, free: 1.449 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3998, allocations: 89.26 MB / 0.7772 GB, free: 7.625 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Adapters.Check.TestFluidConverters): time 0.02416/0.4239, allocations: 30.2 MB / 0.8067 GB, free: 440 kB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.02349/0.4474, allocations: 25.6 MB / 0.8317 GB, free: 9.77 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.4485, allocations: 35.75 kB / 0.8317 GB, free: 9.734 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.002064/0.4505, allocations: 0.9016 MB / 0.8326 GB, free: 8.828 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.4519, allocations: 0.6875 MB / 0.8333 GB, free: 8.137 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01237/0.4643, allocations: 6.226 MB / 0.8394 GB, free: 1.914 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.002029/0.4663, allocations: 1.831 MB / 0.8411 GB, free: 84 kB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007678/0.4671, allocations: 0.6553 MB / 0.8418 GB, free: 15.4 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003124/0.4702, allocations: 2.628 MB / 0.8443 GB, free: 12.75 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009372/0.4712, allocations: 0.8385 MB / 0.8452 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.4713, allocations: 132 kB / 0.8453 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00882/0.4801, allocations: 6.671 MB / 0.8518 GB, free: 5.098 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0004027/0.4805, allocations: 498.2 kB / 0.8523 GB, free: 4.609 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.0004959/0.481, allocations: 0.5788 MB / 0.8528 GB, free: 4.027 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.008161/0.4892, allocations: 5.87 MB / 0.8586 GB, free: 14.14 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4892, allocations: 0 / 0.8586 GB, free: 14.14 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4892, allocations: 0 / 0.8586 GB, free: 14.14 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.4892, allocations: 0 / 0.8586 GB, free: 14.14 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003104/0.4923, allocations: 2.502 MB / 0.861 GB, free: 11.59 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4924, allocations: 8.031 kB / 0.861 GB, free: 11.58 MB / 0.6199 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.49e-05/0.4925, allocations: 118.9 kB / 0.8611 GB, free: 11.45 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007802/0.4932, allocations: 271.6 kB / 0.8614 GB, free: 11.19 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/0.4956, allocations: 2.155 MB / 0.8635 GB, free: 8.992 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.4957, allocations: 49.25 kB / 0.8636 GB, free: 8.945 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/0.4957, allocations: 64 kB / 0.8636 GB, free: 8.883 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.4975, allocations: 1.662 MB / 0.8652 GB, free: 6.938 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.4975, allocations: 11.88 kB / 0.8653 GB, free: 6.926 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.4975, allocations: 32 kB / 0.8653 GB, free: 6.895 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.4975, allocations: 20 kB / 0.8653 GB, free: 6.875 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.4989, allocations: 0.9049 MB / 0.8662 GB, free: 5.969 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00365/0.5026, allocations: 5.752 MB / 0.8718 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.5038, allocations: 0.5965 MB / 0.8724 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.5041, allocations: 216.3 kB / 0.8726 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/0.5043, allocations: 131.9 kB / 0.8727 GB, free: 15 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.5043, allocations: 38.56 kB / 0.8728 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003238/0.5046, allocations: 111.6 kB / 0.8729 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 3.025e-06/0.5046, allocations: 0 / 0.8729 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.002425/0.507, allocations: 1.289 MB / 0.8741 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.5071, allocations: 243.3 kB / 0.8744 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.5084, allocations: 1.528 MB / 0.8758 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.5085, allocations: 29.7 kB / 0.8759 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/0.5088, allocations: 0.6188 MB / 0.8765 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.5089, allocations: 277.5 kB / 0.8767 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.5091, allocations: 250.2 kB / 0.877 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.441e-05/0.5092, allocations: 349.9 kB / 0.8773 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.5096, allocations: 290.1 kB / 0.8776 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005861/0.5102, allocations: 0.7977 MB / 0.8784 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009963/0.5112, allocations: 1.042 MB / 0.8794 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.5112, allocations: 4 kB / 0.8794 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001295/0.5125, allocations: 1.114 MB / 0.8805 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.5125, allocations: 13.62 kB / 0.8805 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000643/0.5131, allocations: 0.5149 MB / 0.881 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.5132, allocations: 20 kB / 0.881 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.5136, allocations: 283.4 kB / 0.8813 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.5136, allocations: 27.92 kB / 0.8813 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.514, allocations: 63.92 kB / 0.8814 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.818e-05/0.514, allocations: 67.97 kB / 0.8814 GB, free: 5.551 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 1 (boundary.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003618/0.5144, allocations: 397.3 kB / 0.8818 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.5146, allocations: 166.9 kB / 0.882 GB, free: 4.988 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 116 equation(s) and 114 variable(s). Error: $cse37 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(boundary.p, ($cse11 * massFlowRate.port_b.h_outflow + $cse38 * boundary.h) / ($cse11 + $cse38), 0, 0) has size 16 but 1 variables (massFlowRate.m_flow) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.5159, allocations: 1.277 MB / 0.8832 GB, free: 3.684 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4981249272823334]