Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.008112/0.008112, allocations: 1.787 MB / 20.88 MB, free: 3.648 MB / 18.57 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.003175/0.003175, allocations: 88.22 kB / 24.59 MB, free: 7.207 MB / 18.57 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.0008547/0.0008547, allocations: 159.1 kB / 28.4 MB, free: 4.316 MB / 18.57 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.8609/0.8609, allocations: 177.2 MB / 209.3 MB, free: 2.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.6939/0.6939, allocations: 102.4 MB / 368.7 MB, free: 0.9766 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.Adapters.Check.TestFluidConverters,fileNamePrefix="ClaRa_dev_ClaRa_Components_Adapters_Check_TestFluidConverters",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Adapters.Check.TestFluidConverters,fileNamePrefix="ClaRa_dev_ClaRa_Components_Adapters_Check_TestFluidConverters",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.5378 GB, free: 39.16 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.96e-05, allocations: 3.891 kB / 0.5378 GB, free: 39.15 MB / 490.8 MB 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.1352/0.1352, allocations: 85.36 MB / 0.6212 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02075/0.1559, allocations: 25.31 MB / 0.6459 GB, free: 12.39 MB / 0.5418 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007397/0.1567, allocations: 35.75 kB / 0.6459 GB, free: 12.35 MB / 0.5418 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.1585, allocations: 0.9128 MB / 0.6468 GB, free: 11.43 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.1595, allocations: 0.7102 MB / 0.6475 GB, free: 10.72 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.01035/0.1699, allocations: 6.319 MB / 0.6537 GB, free: 4.375 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.001637/0.1715, allocations: 1.858 MB / 0.6555 GB, free: 2.508 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006027/0.1721, allocations: 0.6707 MB / 0.6561 GB, free: 1.816 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003202/0.1753, allocations: 2.894 MB / 0.659 GB, free: 14.89 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007158/0.176, allocations: 0.7397 MB / 0.6597 GB, free: 14.16 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.1762, allocations: 132 kB / 0.6598 GB, free: 14.03 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008006/0.1842, allocations: 6.686 MB / 0.6663 GB, free: 7.332 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.0003508/0.1845, allocations: 0.5022 MB / 0.6668 GB, free: 6.828 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0003869/0.1849, allocations: 462.7 kB / 0.6673 GB, free: 6.375 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.1954, allocations: 6.819 MB / 0.6739 GB, free: 15.54 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.1954, allocations: 4 kB / 0.6739 GB, free: 15.54 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.585e-06/0.1954, allocations: 0 / 0.6739 GB, free: 15.54 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.797e-05/0.1954, allocations: 0 / 0.6739 GB, free: 15.54 MB / 0.573 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.004293/0.1997, allocations: 2.482 MB / 0.6764 GB, free: 13.01 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.1998, allocations: 8.031 kB / 0.6764 GB, free: 13 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/0.1999, allocations: 122.9 kB / 0.6765 GB, free: 12.87 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009201/0.2008, allocations: 271.6 kB / 0.6767 GB, free: 12.61 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002721/0.2035, allocations: 2.14 MB / 0.6788 GB, free: 10.42 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.2036, allocations: 45.69 kB / 0.6789 GB, free: 10.38 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.747e-05/0.2036, allocations: 64.38 kB / 0.6789 GB, free: 10.31 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.2057, allocations: 1.666 MB / 0.6806 GB, free: 8.367 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.2057, allocations: 7.875 kB / 0.6806 GB, free: 8.359 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/0.2057, allocations: 32 kB / 0.6806 GB, free: 8.328 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.2058, allocations: 20 kB / 0.6806 GB, free: 8.309 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.2074, allocations: 0.9128 MB / 0.6815 GB, free: 7.398 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003912/0.2113, allocations: 5.717 MB / 0.6871 GB, free: 1.441 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.2126, allocations: 0.6081 MB / 0.6877 GB, free: 0.7969 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.2129, allocations: 216.3 kB / 0.6879 GB, free: 0.5742 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001776/0.213, allocations: 119.9 kB / 0.688 GB, free: 468 kB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.2131, allocations: 50.55 kB / 0.6881 GB, free: 408 kB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003792/0.2134, allocations: 103.7 kB / 0.6882 GB, free: 304 kB / 0.573 GB Notification: Performance of pre-optimization done (n=78): time 3.357e-06/0.2134, allocations: 3.938 kB / 0.6882 GB, free: 300 kB / 0.573 GB Notification: Performance of matching and sorting (n=78): time 0.002469/0.2159, allocations: 1.285 MB / 0.6894 GB, free: 15 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.174e-05/0.216, allocations: 247.3 kB / 0.6897 GB, free: 14.71 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.2173, allocations: 1.52 MB / 0.6911 GB, free: 13.18 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.2174, allocations: 33.64 kB / 0.6912 GB, free: 13.14 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/0.2177, allocations: 0.6227 MB / 0.6918 GB, free: 12.51 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.2178, allocations: 269.6 kB / 0.692 GB, free: 12.25 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.218, allocations: 246.2 kB / 0.6923 GB, free: 12 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 8.39e-05/0.2181, allocations: 345.9 kB / 0.6926 GB, free: 11.66 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/0.2185, allocations: 282.2 kB / 0.6929 GB, free: 11.38 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006074/0.2191, allocations: 0.8055 MB / 0.6937 GB, free: 10.35 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.2202, allocations: 1.05 MB / 0.6947 GB, free: 9.109 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.2202, allocations: 4.625 kB / 0.6947 GB, free: 9.105 MB / 0.5887 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001354/0.2215, allocations: 1.114 MB / 0.6958 GB, free: 7.984 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.2216, allocations: 16.06 kB / 0.6958 GB, free: 7.969 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006969/0.2223, allocations: 0.5105 MB / 0.6963 GB, free: 7.457 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.2223, allocations: 20 kB / 0.6963 GB, free: 7.438 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/0.2228, allocations: 283.5 kB / 0.6966 GB, free: 7.16 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.2228, allocations: 27.92 kB / 0.6966 GB, free: 7.133 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.2231, allocations: 63.86 kB / 0.6967 GB, free: 7.07 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.881e-05/0.2232, allocations: 63.97 kB / 0.6967 GB, free: 7.008 MB / 0.5887 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.0003742/0.2236, allocations: 405.3 kB / 0.6971 GB, free: 6.602 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.2237, allocations: 166.9 kB / 0.6973 GB, free: 6.438 MB / 0.5887 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.001313/0.225, allocations: 1.276 MB / 0.6985 GB, free: 5.137 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.068693147972226]