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.01234/0.01234, allocations: 1.76 MB / 21.38 MB, free: 0.5703 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.001449/0.001449, allocations: 108.1 kB / 24.98 MB, free: 2.176 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.001749/0.001749, allocations: 207.2 kB / 28.71 MB, free: 3.453 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.402/1.402, allocations: 230.6 MB / 262.9 MB, free: 6.031 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.027/1.027, allocations: 130.7 MB / 450.4 MB, free: 6.57 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Adapters.Check.TestFluidConverters,fileNamePrefix="ClaRa_ClaRa_Components_Adapters_Check_TestFluidConverters",fmuType="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: 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.02964/0.02964, allocations: 20.6 MB / 0.6363 GB, free: 5.344 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.192, allocations: 81.91 MB / 0.7163 GB, free: 3.34 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.4875/0.6794, allocations: 66.25 MB / 0.781 GB, free: 6.508 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03374/0.7132, allocations: 28.15 MB / 0.8085 GB, free: 1.324 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.7144, allocations: 37.34 kB / 0.8085 GB, free: 1.309 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.002674/0.7171, allocations: 0.9487 MB / 0.8095 GB, free: 0.6562 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.7188, allocations: 0.6867 MB / 0.8101 GB, free: 112 kB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01914/0.7379, allocations: 6.29 MB / 0.8163 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003159/0.7411, allocations: 1.82 MB / 0.818 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009754/0.7421, allocations: 0.6029 MB / 0.8186 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005386/0.7474, allocations: 2.633 MB / 0.8212 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/0.7492, allocations: 0.9127 MB / 0.8221 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002241/0.7494, allocations: 132 kB / 0.8222 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01465/0.7641, allocations: 7.255 MB / 0.8293 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008918/0.7649, allocations: 498.3 kB / 0.8298 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.766, allocations: 0.7458 MB / 0.8305 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01376/0.7797, allocations: 5.936 MB / 0.8363 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/0.7797, allocations: 6.656 kB / 0.8363 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7797, allocations: 0 / 0.8363 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.314e-05/0.7798, allocations: 0 / 0.8363 GB, free: 8.59 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.005108/0.7849, allocations: 2.51 MB / 0.8388 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.7849, allocations: 12.03 kB / 0.8388 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.924e-05/0.785, allocations: 20.69 kB / 0.8388 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.7851, allocations: 118.9 kB / 0.8389 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.7865, allocations: 278.3 kB / 0.8392 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003556/0.7901, allocations: 2.148 MB / 0.8413 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.852e-05/0.7901, allocations: 45.31 kB / 0.8413 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-05/0.7902, allocations: 60 kB / 0.8414 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/0.793, allocations: 1.285 MB / 0.8426 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.793, allocations: 11.92 kB / 0.8426 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.347e-05/0.7931, allocations: 32 kB / 0.8427 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.7931, allocations: 22.69 kB / 0.8427 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/0.7957, allocations: 0.9218 MB / 0.8436 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006186/0.8019, allocations: 6.092 MB / 0.8495 GB, free: 10.57 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.804, allocations: 0.6143 MB / 0.8501 GB, free: 9.93 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004915/0.8045, allocations: 212.3 kB / 0.8503 GB, free: 9.711 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/0.8047, allocations: 128.2 kB / 0.8505 GB, free: 9.586 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.8048, allocations: 45.09 kB / 0.8505 GB, free: 9.535 MB / 0.6232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005821/0.8054, allocations: 117.9 kB / 0.8506 GB, free: 9.422 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=78): time 2.244e-06/0.8054, allocations: 0 / 0.8506 GB, free: 9.422 MB / 0.6232 GB Notification: Performance of matching and sorting (n=78): time 0.004173/0.8095, allocations: 1.28 MB / 0.8519 GB, free: 8.137 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.8097, allocations: 249.9 kB / 0.8521 GB, free: 7.84 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/0.8115, allocations: 1.497 MB / 0.8536 GB, free: 6.336 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/0.8115, allocations: 33.7 kB / 0.8536 GB, free: 6.297 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005118/0.8121, allocations: 0.6266 MB / 0.8542 GB, free: 5.664 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/0.8123, allocations: 269.7 kB / 0.8545 GB, free: 5.398 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003568/0.8126, allocations: 256.9 kB / 0.8547 GB, free: 5.145 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.8128, allocations: 345.9 kB / 0.855 GB, free: 4.801 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000659/0.8134, allocations: 282.1 kB / 0.8553 GB, free: 4.527 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.8145, allocations: 0.7025 MB / 0.856 GB, free: 3.637 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.8162, allocations: 1.041 MB / 0.857 GB, free: 2.441 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.8162, allocations: 4 kB / 0.857 GB, free: 2.438 MB / 0.6232 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002194/0.8184, allocations: 1.121 MB / 0.8581 GB, free: 1.32 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.8184, allocations: 12 kB / 0.8581 GB, free: 1.309 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001075/0.8195, allocations: 0.5041 MB / 0.8586 GB, free: 0.8086 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.685e-05/0.8195, allocations: 23.94 kB / 0.8586 GB, free: 0.7852 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008267/0.8203, allocations: 287.5 kB / 0.8589 GB, free: 0.5039 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.693e-05/0.8204, allocations: 27.88 kB / 0.8589 GB, free: 488 kB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/0.821, allocations: 58.56 kB / 0.859 GB, free: 432 kB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.8211, allocations: 63.97 kB / 0.8591 GB, free: 368 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.0005923/0.8217, allocations: 405.3 kB / 0.8594 GB, free: 15.95 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/0.8219, allocations: 162.9 kB / 0.8596 GB, free: 15.79 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.002151/0.8241, allocations: 1.258 MB / 0.8608 GB, free: 14.59 MB / 0.6388 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.628276766976342] Failed to read output from testmodel.py, exit status != 0: 1.005981364985928 1.021450528 0.23857196199999994 Calling exit ...