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.0106/0.0106, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.00161/0.00161, allocations: 104.6 kB / 24.18 MB, free: 2.438 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.001808/0.001808, allocations: 213.5 kB / 27.9 MB, free: 3.742 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.409/1.409, allocations: 230.6 MB / 262.1 MB, free: 5.816 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.01/1.01, allocations: 130.7 MB / 449.7 MB, free: 6.445 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.06637/0.06637, allocations: 20.98 MB / 0.6358 GB, free: 4.758 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.223, allocations: 81.92 MB / 0.7158 GB, free: 2.75 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.4888/0.7118, allocations: 63.2 MB / 0.7775 GB, free: 9.215 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03212/0.744, allocations: 25.58 MB / 0.8025 GB, free: 6.711 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.7452, allocations: 37.22 kB / 0.8025 GB, free: 6.695 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.002746/0.748, allocations: 0.9012 MB / 0.8034 GB, free: 6.09 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.7499, allocations: 0.685 MB / 0.8041 GB, free: 5.543 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01791/0.7678, allocations: 6.231 MB / 0.8102 GB, free: 1.191 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.002662/0.7704, allocations: 1.815 MB / 0.812 GB, free: 136 kB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009523/0.7714, allocations: 0.6732 MB / 0.8126 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005072/0.7765, allocations: 2.62 MB / 0.8152 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.7779, allocations: 0.8515 MB / 0.816 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002279/0.7781, allocations: 132 kB / 0.8161 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01283/0.7909, allocations: 6.667 MB / 0.8226 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007059/0.7916, allocations: 498.3 kB / 0.8231 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007588/0.7924, allocations: 0.5711 MB / 0.8237 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01137/0.8037, allocations: 5.87 MB / 0.8294 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.8037, allocations: 0 / 0.8294 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8037, allocations: 0 / 0.8294 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.734e-05/0.8038, allocations: 0 / 0.8294 GB, free: 14.43 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.004812/0.8086, allocations: 2.494 MB / 0.8318 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.8086, allocations: 15.91 kB / 0.8319 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/0.8088, allocations: 114.9 kB / 0.832 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.8102, allocations: 286.2 kB / 0.8322 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003743/0.8139, allocations: 2.152 MB / 0.8343 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/0.814, allocations: 49.25 kB / 0.8344 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.94e-05/0.814, allocations: 60 kB / 0.8344 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.817, allocations: 1.661 MB / 0.8361 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.817, allocations: 7.938 kB / 0.8361 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-05/0.8171, allocations: 39.92 kB / 0.8361 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.8171, allocations: 22.69 kB / 0.8361 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.8196, allocations: 0.9037 MB / 0.837 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00626/0.8259, allocations: 5.746 MB / 0.8426 GB, free: 348 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/0.828, allocations: 0.6066 MB / 0.8432 GB, free: 15.7 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/0.8284, allocations: 213.9 kB / 0.8434 GB, free: 15.48 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/0.8287, allocations: 131.8 kB / 0.8435 GB, free: 15.36 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.8288, allocations: 42.56 kB / 0.8436 GB, free: 15.3 MB / 0.6232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005873/0.8293, allocations: 110 kB / 0.8437 GB, free: 15.2 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=78): time 2.594e-06/0.8293, allocations: 0 / 0.8437 GB, free: 15.2 MB / 0.6232 GB Notification: Performance of matching and sorting (n=78): time 0.004175/0.8335, allocations: 1.29 MB / 0.845 GB, free: 13.91 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.8337, allocations: 239.3 kB / 0.8452 GB, free: 13.62 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/0.8356, allocations: 1.524 MB / 0.8467 GB, free: 12.09 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/0.8356, allocations: 41.58 kB / 0.8467 GB, free: 12.04 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005087/0.8361, allocations: 0.6191 MB / 0.8473 GB, free: 11.41 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.8363, allocations: 284.3 kB / 0.8476 GB, free: 11.14 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003363/0.8367, allocations: 246.2 kB / 0.8478 GB, free: 10.89 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.8368, allocations: 349.9 kB / 0.8482 GB, free: 10.54 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006284/0.8375, allocations: 278.2 kB / 0.8484 GB, free: 10.27 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.8385, allocations: 0.8042 MB / 0.8492 GB, free: 9.246 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.8402, allocations: 1.043 MB / 0.8502 GB, free: 8.035 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.8402, allocations: 4 kB / 0.8502 GB, free: 8.031 MB / 0.6232 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002207/0.8424, allocations: 1.113 MB / 0.8513 GB, free: 6.922 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.8424, allocations: 12 kB / 0.8513 GB, free: 6.91 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00108/0.8435, allocations: 0.5157 MB / 0.8518 GB, free: 6.398 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.745e-05/0.8435, allocations: 20 kB / 0.8518 GB, free: 6.379 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008368/0.8444, allocations: 283.4 kB / 0.8521 GB, free: 6.102 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-05/0.8444, allocations: 27.92 kB / 0.8521 GB, free: 6.074 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/0.845, allocations: 54.66 kB / 0.8522 GB, free: 6.023 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.8451, allocations: 71.97 kB / 0.8523 GB, free: 5.953 MB / 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.0005775/0.8457, allocations: 393.3 kB / 0.8526 GB, free: 5.559 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/0.846, allocations: 170.9 kB / 0.8528 GB, free: 5.391 MB / 0.6232 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.002148/0.8481, allocations: 1.26 MB / 0.854 GB, free: 4.172 MB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.536084984894842] Failed to read output from testmodel.py, exit status != 0: 1.0110223917290568 1.026377734 0.21958010500000003 Calling exit ...