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.01173/0.01173, allocations: 1.77 MB / 18.82 MB, free: 4.223 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.001204/0.001204, allocations: 103.7 kB / 22.07 MB, free: 0.9727 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.001471/0.001471, allocations: 209 kB / 25.45 MB, free: 3.09 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.429/1.429, allocations: 230.6 MB / 259.2 MB, free: 13.12 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.085/1.085, allocations: 130.6 MB / 446.3 MB, free: 14.6 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: 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.3731/0.3731, allocations: 46.16 MB / 0.6552 GB, free: 30.08 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.5452, allocations: 89.05 MB / 0.7421 GB, free: 2.699 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Adapters.Check.TestFluidConverters): time 0.03928/0.5845, allocations: 33.08 MB / 0.7744 GB, free: 1.496 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.03813/0.6226, allocations: 27.86 MB / 0.8016 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001499/0.6241, allocations: 35.75 kB / 0.8017 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002937/0.6271, allocations: 0.9404 MB / 0.8026 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001957/0.629, allocations: 0.6719 MB / 0.8032 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01787/0.6469, allocations: 6.22 MB / 0.8093 GB, free: 13.67 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.003591/0.6505, allocations: 1.807 MB / 0.8111 GB, free: 11.86 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/0.6519, allocations: 0.6353 MB / 0.8117 GB, free: 11.2 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006134/0.658, allocations: 2.639 MB / 0.8143 GB, free: 8.535 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001857/0.6599, allocations: 0.9023 MB / 0.8152 GB, free: 7.629 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003552/0.6602, allocations: 132 kB / 0.8153 GB, free: 7.5 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01368/0.6739, allocations: 7.182 MB / 0.8223 GB, free: 316 kB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.0008977/0.6748, allocations: 498.2 kB / 0.8228 GB, free: 15.82 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.6759, allocations: 0.7497 MB / 0.8235 GB, free: 15.07 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.6895, allocations: 5.94 MB / 0.8293 GB, free: 9.109 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.6895, allocations: 0 / 0.8293 GB, free: 9.109 MB / 0.6388 GB Notification: Performance of FrontEnd: time 2.756e-06/0.6895, allocations: 0 / 0.8293 GB, free: 9.109 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 4.068e-05/0.6896, allocations: 0 / 0.8293 GB, free: 9.109 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.005955/0.6955, allocations: 2.573 MB / 0.8318 GB, free: 6.469 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.6956, allocations: 8.031 kB / 0.8318 GB, free: 6.461 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.739e-05/0.6956, allocations: 17.5 kB / 0.8318 GB, free: 6.445 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.6958, allocations: 118.9 kB / 0.832 GB, free: 6.32 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.6973, allocations: 279.6 kB / 0.8322 GB, free: 6.047 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003912/0.7013, allocations: 2.262 MB / 0.8344 GB, free: 3.738 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/0.7013, allocations: 49.31 kB / 0.8345 GB, free: 3.691 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-05/0.7014, allocations: 56 kB / 0.8345 GB, free: 3.637 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002995/0.7044, allocations: 1.294 MB / 0.8358 GB, free: 2.148 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.7044, allocations: 7.938 kB / 0.8358 GB, free: 2.141 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.799e-05/0.7045, allocations: 28 kB / 0.8358 GB, free: 2.113 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.7045, allocations: 20 kB / 0.8358 GB, free: 2.094 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/0.7072, allocations: 0.9167 MB / 0.8367 GB, free: 1.176 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007608/0.7148, allocations: 6.22 MB / 0.8428 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/0.7174, allocations: 0.6835 MB / 0.8435 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005623/0.7179, allocations: 216.3 kB / 0.8437 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005098/0.7184, allocations: 448.5 kB / 0.8441 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.7185, allocations: 38.56 kB / 0.8442 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008906/0.7194, allocations: 111.3 kB / 0.8443 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=78): time 3.346e-06/0.7194, allocations: 0 / 0.8443 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78): time 0.004998/0.7244, allocations: 1.29 MB / 0.8455 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002086/0.7246, allocations: 239.3 kB / 0.8458 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/0.7269, allocations: 1.5 MB / 0.8472 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.856e-05/0.727, allocations: 29.7 kB / 0.8472 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005214/0.7275, allocations: 0.6266 MB / 0.8479 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.7277, allocations: 285.5 kB / 0.8481 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003834/0.7281, allocations: 246.2 kB / 0.8484 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.7283, allocations: 349.9 kB / 0.8487 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006766/0.7289, allocations: 278.2 kB / 0.849 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.73, allocations: 0.7086 MB / 0.8497 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.7317, allocations: 1.042 MB / 0.8507 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.475e-06/0.7318, allocations: 4 kB / 0.8507 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002372/0.7341, allocations: 1.109 MB / 0.8518 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.7342, allocations: 12.94 kB / 0.8518 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001153/0.7353, allocations: 0.5147 MB / 0.8523 GB, free: 324 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.093e-05/0.7353, allocations: 23.94 kB / 0.8523 GB, free: 300 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008538/0.7362, allocations: 279.5 kB / 0.8526 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.793e-05/0.7362, allocations: 27.97 kB / 0.8526 GB, free: 15.99 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007251/0.737, allocations: 51.92 kB / 0.8526 GB, free: 15.94 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.7371, allocations: 75.97 kB / 0.8527 GB, free: 15.87 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.000667/0.7378, allocations: 397.6 kB / 0.8531 GB, free: 15.47 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003533/0.7381, allocations: 166.9 kB / 0.8533 GB, free: 15.3 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.002365/0.7405, allocations: 1.235 MB / 0.8545 GB, free: 14.05 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.206059910997283] Failed to read output from testmodel.py, exit status != 0: 0.7479593220050447 0.761941749 0.069116626 Calling exit ...