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.018/0.018, allocations: 1.758 MB / 20.59 MB, free: 1.277 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.002006/0.002006, allocations: 111.3 kB / 24.19 MB, free: 2.652 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.002791/0.002791, allocations: 211.8 kB / 27.92 MB, free: 4 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.506/1.506, allocations: 230.6 MB / 262.1 MB, free: 6.215 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.09/1.09, allocations: 130.7 MB / 449.7 MB, free: 6.625 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: 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.03279/0.03279, allocations: 20.78 MB / 0.6357 GB, free: 5.195 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.2068, 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.Adapters.Check.TestFluidConverters): time 0.4827/0.6894, allocations: 66.26 MB / 0.7804 GB, free: 6.453 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04547/0.7349, allocations: 28.15 MB / 0.8079 GB, free: 1.215 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.7364, allocations: 38.91 kB / 0.8079 GB, free: 1.199 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.003364/0.7398, allocations: 0.9398 MB / 0.8089 GB, free: 0.5586 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.7423, allocations: 0.6878 MB / 0.8095 GB, free: 4 kB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.02062/0.763, allocations: 6.286 MB / 0.8157 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003335/0.7663, allocations: 1.823 MB / 0.8174 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.7674, allocations: 0.61 MB / 0.818 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005924/0.7733, allocations: 2.639 MB / 0.8206 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.7752, allocations: 0.9062 MB / 0.8215 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002892/0.7755, allocations: 132 kB / 0.8216 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01584/0.7913, allocations: 7.256 MB / 0.8287 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008913/0.7922, allocations: 494.3 kB / 0.8292 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.7933, allocations: 0.7381 MB / 0.8299 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0165/0.8098, allocations: 5.948 MB / 0.8357 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.8098, allocations: 0 / 0.8357 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8098, allocations: 0 / 0.8357 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.899e-05/0.8099, allocations: 2.688 kB / 0.8357 GB, free: 8.441 MB / 0.6075 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.005948/0.8159, allocations: 2.503 MB / 0.8382 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.8159, allocations: 10.72 kB / 0.8382 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.816, allocations: 118.9 kB / 0.8383 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.8175, allocations: 279.6 kB / 0.8386 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004037/0.8215, allocations: 2.159 MB / 0.8407 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/0.8216, allocations: 51.91 kB / 0.8407 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-05/0.8217, allocations: 62.72 kB / 0.8408 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002839/0.8245, allocations: 1.285 MB / 0.842 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/0.8245, allocations: 7.875 kB / 0.842 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.978e-05/0.8246, allocations: 32 kB / 0.8421 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.8246, allocations: 20 kB / 0.8421 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.8272, allocations: 0.9141 MB / 0.843 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006706/0.8339, allocations: 6.096 MB / 0.8489 GB, free: 10.44 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/0.8361, allocations: 0.6046 MB / 0.8495 GB, free: 9.805 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004988/0.8366, allocations: 211 kB / 0.8497 GB, free: 9.59 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002947/0.8369, allocations: 144.1 kB / 0.8499 GB, free: 9.449 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.8369, allocations: 41.22 kB / 0.8499 GB, free: 9.402 MB / 0.6232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006631/0.8376, allocations: 111.3 kB / 0.85 GB, free: 9.293 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=78): time 3.046e-06/0.8376, allocations: 2.656 kB / 0.85 GB, free: 9.293 MB / 0.6232 GB Notification: Performance of matching and sorting (n=78): time 0.004313/0.8419, allocations: 1.283 MB / 0.8513 GB, free: 8.004 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.842, allocations: 239.3 kB / 0.8515 GB, free: 7.715 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.8441, allocations: 1.511 MB / 0.853 GB, free: 6.199 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 5.485e-05/0.8441, allocations: 29.7 kB / 0.853 GB, free: 6.164 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005563/0.8447, allocations: 0.6227 MB / 0.8536 GB, free: 5.535 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.8449, allocations: 281.6 kB / 0.8539 GB, free: 5.258 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/0.8453, allocations: 246.3 kB / 0.8541 GB, free: 5.012 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.8455, allocations: 352.5 kB / 0.8544 GB, free: 4.664 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006653/0.8461, allocations: 285.9 kB / 0.8547 GB, free: 4.387 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.8472, allocations: 0.6986 MB / 0.8554 GB, free: 3.504 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.849, allocations: 1.038 MB / 0.8564 GB, free: 2.309 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.849, allocations: 4 kB / 0.8564 GB, free: 2.305 MB / 0.6232 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.00236/0.8514, allocations: 1.121 MB / 0.8575 GB, free: 1.188 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.8514, allocations: 9.094 kB / 0.8575 GB, free: 1.18 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001126/0.8525, allocations: 0.5118 MB / 0.858 GB, free: 0.6719 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.809e-05/0.8526, allocations: 20 kB / 0.858 GB, free: 0.6523 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000889/0.8535, allocations: 287.4 kB / 0.8583 GB, free: 380 kB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.157e-05/0.8535, allocations: 27.92 kB / 0.8583 GB, free: 352 kB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007073/0.8542, allocations: 50.64 kB / 0.8584 GB, free: 304 kB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.8543, allocations: 71.95 kB / 0.8585 GB, free: 232 kB / 0.6232 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.0006881/0.855, allocations: 397.4 kB / 0.8588 GB, free: 15.82 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003104/0.8553, allocations: 170.9 kB / 0.859 GB, free: 15.66 MB / 0.6388 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.002405/0.8577, allocations: 1.249 MB / 0.8602 GB, free: 14.46 MB / 0.6388 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.823007417144254] Failed to read output from testmodel.py, exit status != 0: 1.0506096300669014 1.067174388 0.25390876199999995 Calling exit ...