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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01474/0.01474, allocations: 1.77 MB / 18.12 MB, free: 4.941 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.001598/0.001598, allocations: 107.7 kB / 21.36 MB, free: 1.703 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.002097/0.002097, allocations: 218.5 kB / 24.75 MB, free: 3.723 MB / 14.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.45/1.45, allocations: 230.6 MB / 258.5 MB, free: 13.29 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.071/1.071, allocations: 130.6 MB / 445.6 MB, free: 15.04 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.Adapters.Check.TestFluidConverters,fileNamePrefix="ClaRa_ClaRa_Components_Adapters_Check_TestFluidConverters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Adapters.Check.TestFluidConverters,fileNamePrefix="ClaRa_ClaRa_Components_Adapters_Check_TestFluidConverters",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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.3882/0.3882, allocations: 46.15 MB / 0.6545 GB, free: 29.99 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.5705, allocations: 89.05 MB / 0.7414 GB, free: 2.75 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Adapters.Check.TestFluidConverters): time 0.03778/0.6083, allocations: 33.08 MB / 0.7737 GB, free: 1.543 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04028/0.6485, allocations: 27.86 MB / 0.8009 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.6502, allocations: 35.75 kB / 0.801 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004068/0.6543, allocations: 0.9404 MB / 0.8019 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002923/0.6572, allocations: 0.668 MB / 0.8025 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.02234/0.6796, allocations: 6.224 MB / 0.8086 GB, free: 13.72 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.00283/0.6824, allocations: 1.815 MB / 0.8104 GB, free: 11.9 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009309/0.6833, allocations: 0.6197 MB / 0.811 GB, free: 11.26 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005023/0.6883, allocations: 2.643 MB / 0.8136 GB, free: 8.586 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.6898, allocations: 0.8972 MB / 0.8145 GB, free: 7.688 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.69, allocations: 136 kB / 0.8146 GB, free: 7.555 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01317/0.7032, allocations: 7.186 MB / 0.8216 GB, free: 368 kB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.0008235/0.704, allocations: 498.2 kB / 0.8221 GB, free: 15.87 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.0009196/0.7049, allocations: 0.7458 MB / 0.8228 GB, free: 15.12 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.717, allocations: 5.936 MB / 0.8286 GB, free: 9.168 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.717, allocations: 0 / 0.8286 GB, free: 9.168 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.605e-06/0.717, allocations: 0 / 0.8286 GB, free: 9.168 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 2.232e-05/0.717, allocations: 4 kB / 0.8286 GB, free: 9.164 MB / 0.6388 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.005203/0.7222, allocations: 2.573 MB / 0.8311 GB, free: 6.523 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.7223, allocations: 12.03 kB / 0.8311 GB, free: 6.512 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002141/0.7225, allocations: 118.9 kB / 0.8312 GB, free: 6.387 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.724, allocations: 275.6 kB / 0.8315 GB, free: 6.117 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003917/0.7279, allocations: 2.263 MB / 0.8337 GB, free: 3.809 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.976e-05/0.7279, allocations: 53.25 kB / 0.8338 GB, free: 3.758 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.92e-05/0.728, allocations: 56 kB / 0.8338 GB, free: 3.703 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002944/0.731, allocations: 1.294 MB / 0.8351 GB, free: 2.219 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.731, allocations: 3.938 kB / 0.8351 GB, free: 2.215 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-05/0.7311, allocations: 35.98 kB / 0.8351 GB, free: 2.18 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.7311, allocations: 20 kB / 0.8351 GB, free: 2.16 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.7337, allocations: 0.9128 MB / 0.836 GB, free: 1.246 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006797/0.7405, allocations: 6.224 MB / 0.8421 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002293/0.7428, allocations: 0.6757 MB / 0.8428 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005266/0.7434, allocations: 212.5 kB / 0.843 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004873/0.7439, allocations: 452.5 kB / 0.8434 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.7439, allocations: 38.56 kB / 0.8434 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006662/0.7446, allocations: 111.2 kB / 0.8436 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=78): time 2.585e-06/0.7446, allocations: 4 kB / 0.8436 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78): time 0.004571/0.7491, allocations: 1.287 MB / 0.8448 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/0.7493, allocations: 235.3 kB / 0.845 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/0.7514, allocations: 1.504 MB / 0.8465 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-05/0.7515, allocations: 33.7 kB / 0.8465 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005665/0.752, allocations: 0.6266 MB / 0.8472 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/0.7523, allocations: 277.5 kB / 0.8474 GB, free: 5.051 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003821/0.7527, allocations: 250.2 kB / 0.8477 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.7528, allocations: 349.9 kB / 0.848 GB, free: 4.453 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006961/0.7535, allocations: 282.1 kB / 0.8483 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.7546, allocations: 0.7047 MB / 0.8489 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.7564, allocations: 1.042 MB / 0.85 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.7564, allocations: 4 kB / 0.85 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002384/0.7588, allocations: 1.117 MB / 0.8511 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.7588, allocations: 12 kB / 0.8511 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001165/0.76, allocations: 0.5035 MB / 0.8516 GB, free: 404 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.529e-05/0.76, allocations: 24 kB / 0.8516 GB, free: 380 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008595/0.7609, allocations: 287.6 kB / 0.8519 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.942e-05/0.7609, allocations: 31.86 kB / 0.8519 GB, free: 60 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006886/0.7616, allocations: 47.98 kB / 0.8519 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.7617, allocations: 67.95 kB / 0.852 GB, free: 15.95 MB / 0.67 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.0006667/0.7624, allocations: 401.3 kB / 0.8524 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/0.7627, allocations: 166.9 kB / 0.8525 GB, free: 15.38 MB / 0.67 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.002296/0.765, allocations: 1.239 MB / 0.8538 GB, free: 14.12 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.348463631002232] Failed to read output from testmodel.py, exit status != 0: 0.7725233829987701 0.7860283929999999 0.06604653 Calling exit ...