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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.01005/0.01005, allocations: 1.358 MB / 20.45 MB, free: 4.086 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.09752/0.09752, allocations: 18.24 MB / 42.2 MB, free: 5.176 MB / 33.03 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.001023/0.001023, allocations: 91.94 kB / 53.07 MB, free: 6.512 MB / 44.04 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.001198/0.001198, allocations: 156.8 kB / 64.03 MB, free: 10.21 MB / 58.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 0.9279/0.9279, allocations: 177.2 MB / 252.1 MB, free: 11.79 MB / 218.7 MB " [Timeout remaining time 179] 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 0.4929/0.4929, allocations: 102.5 MB / 418.6 MB, free: 5.191 MB / 362.7 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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.Adapters.Check.TestFluidConverters,fileNamePrefix="ClaRa_ClaRa_Components_Adapters_Check_TestFluidConverters",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Adapters.Check.TestFluidConverters,fileNamePrefix="ClaRa_ClaRa_Components_Adapters_Check_TestFluidConverters",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.6029 GB, free: 308 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.283e-05, allocations: 2.281 kB / 0.6029 GB, free: 304 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Adapters.Check.TestFluidConverters): time 0.02352/0.02355, allocations: 30.01 MB / 0.6322 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02331/0.04685, allocations: 25.31 MB / 0.6569 GB, free: 8.785 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008625/0.04772, allocations: 39.75 kB / 0.657 GB, free: 8.746 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.04969, allocations: 0.9127 MB / 0.6579 GB, free: 7.828 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.05096, allocations: 0.7259 MB / 0.6586 GB, free: 7.098 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.01602/0.06699, allocations: 6.313 MB / 0.6647 GB, free: 0.7891 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.2841/0.3511, allocations: 1.852 MB / 0.6665 GB, free: 18.43 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.3524, allocations: 0.66 MB / 0.6672 GB, free: 18.38 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005247/0.3577, allocations: 2.886 MB / 0.67 GB, free: 17.95 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.3591, allocations: 0.74 MB / 0.6707 GB, free: 17.86 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.0002263/0.3593, allocations: 133.5 kB / 0.6708 GB, free: 17.86 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01134/0.3707, allocations: 6.677 MB / 0.6774 GB, free: 17.8 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.0007912/0.3715, allocations: 0.4928 MB / 0.6778 GB, free: 17.71 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.0007289/0.3722, allocations: 469.4 kB / 0.6783 GB, free: 17.65 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.3854, allocations: 6.815 MB / 0.685 GB, free: 17.35 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3854, allocations: 0 / 0.685 GB, free: 17.35 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3854, allocations: 4 kB / 0.685 GB, free: 17.35 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 3.712e-05/0.3854, allocations: 1.344 kB / 0.685 GB, free: 17.35 MB / 0.5418 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.004901/0.3903, allocations: 2.484 MB / 0.6874 GB, free: 16.07 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3904, allocations: 12.03 kB / 0.6874 GB, free: 16.07 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.3905, allocations: 117.3 kB / 0.6875 GB, free: 16.03 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.3916, allocations: 272.8 kB / 0.6878 GB, free: 15.93 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004098/0.3957, allocations: 2.149 MB / 0.6899 GB, free: 15.48 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.533e-05/0.3957, allocations: 47.34 kB / 0.6899 GB, free: 15.48 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-05/0.3958, allocations: 56.91 kB / 0.69 GB, free: 15.48 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004171/0.4, allocations: 1.673 MB / 0.6916 GB, free: 14.5 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.4, allocations: 14.16 kB / 0.6916 GB, free: 14.5 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.644e-05/0.4001, allocations: 31.62 kB / 0.6916 GB, free: 14.5 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/0.4001, allocations: 19.25 kB / 0.6917 GB, free: 14.5 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.4027, allocations: 0.9063 MB / 0.6925 GB, free: 14.5 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005186/0.4079, allocations: 5.727 MB / 0.6981 GB, free: 10.31 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.4099, allocations: 0.6147 MB / 0.6987 GB, free: 10.21 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004601/0.4104, allocations: 204.9 kB / 0.6989 GB, free: 10.18 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000251/0.4106, allocations: 129 kB / 0.6991 GB, free: 10.18 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.4106, allocations: 45.91 kB / 0.6991 GB, free: 10.14 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003899/0.411, allocations: 118.4 kB / 0.6992 GB, free: 10.08 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=78): time 4.268e-06/0.411, allocations: 1.078 kB / 0.6992 GB, free: 10.08 MB / 0.5418 GB Notification: Performance of matching and sorting (n=78): time 0.002525/0.4135, allocations: 1.283 MB / 0.7005 GB, free: 9.949 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.4136, allocations: 237.2 kB / 0.7007 GB, free: 9.668 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.415, allocations: 1.524 MB / 0.7022 GB, free: 9.461 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.415, allocations: 33.36 kB / 0.7022 GB, free: 9.43 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.4153, allocations: 0.6195 MB / 0.7028 GB, free: 9.188 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.4154, allocations: 266.9 kB / 0.7031 GB, free: 9.012 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/0.4157, allocations: 243.5 kB / 0.7033 GB, free: 8.969 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 4.771e-05/0.4157, allocations: 351.4 kB / 0.7036 GB, free: 8.66 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003945/0.4161, allocations: 284.9 kB / 0.7039 GB, free: 8.66 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005526/0.4167, allocations: 0.8 MB / 0.7047 GB, free: 8.016 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.4177, allocations: 1.049 MB / 0.7057 GB, free: 7.512 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.4177, allocations: 8.875 kB / 0.7057 GB, free: 7.508 MB / 0.5418 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001375/0.4191, allocations: 1.124 MB / 0.7068 GB, free: 7.227 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4191, allocations: 11 kB / 0.7068 GB, free: 7.227 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006566/0.4197, allocations: 0.5071 MB / 0.7073 GB, free: 7.074 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/0.4198, allocations: 21.16 kB / 0.7073 GB, free: 7.074 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000484/0.4203, allocations: 284.9 kB / 0.7076 GB, free: 7.059 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-05/0.4203, allocations: 30.39 kB / 0.7076 GB, free: 7.059 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.4207, allocations: 54.5 kB / 0.7077 GB, free: 7.039 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.298e-05/0.4207, allocations: 69.27 kB / 0.7078 GB, free: 7.031 MB / 0.5418 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.0003656/0.4211, allocations: 407.5 kB / 0.7082 GB, free: 6.777 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.4213, allocations: 160.2 kB / 0.7083 GB, free: 6.688 MB / 0.5418 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.00134/0.4226, allocations: 1.271 MB / 0.7096 GB, free: 6.223 MB / 0.5418 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.2033944921568036]