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.01108/0.01108, allocations: 2.331 MB / 21.18 MB, free: 3.527 MB / 13.93 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.001196/0.001196, allocations: 125.8 kB / 24.89 MB, free: 232 kB / 13.93 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.0009677/0.0009677, allocations: 219.7 kB / 28.73 MB, free: 1.039 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.8778/0.8778, allocations: 230.6 MB / 263 MB, free: 496 kB / 202.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.6654/0.6654, allocations: 130.7 MB / 450.7 MB, free: 2.754 MB / 346.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: 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: ClaRa requested package SMArtInt of version 0.5.1. SMArtInt 1.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(ClaRa, SMArtInt, \"1.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.04309/0.04309, allocations: 29.95 MB / 0.6466 GB, free: 6.797 MB / 474.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1577, allocations: 82.04 MB / 0.7267 GB, free: 4.645 MB / 0.5418 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.3427/0.5003, allocations: 63.18 MB / 0.7884 GB, free: 7.328 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.02134/0.5217, allocations: 25.57 MB / 0.8134 GB, free: 2.328 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007133/0.5224, allocations: 39.69 kB / 0.8134 GB, free: 2.289 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.5242, allocations: 0.9077 MB / 0.8143 GB, free: 1.387 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008905/0.5251, allocations: 0.6889 MB / 0.815 GB, free: 0.6992 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01053/0.5356, allocations: 6.228 MB / 0.8211 GB, free: 10.51 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.001378/0.537, allocations: 1.824 MB / 0.8228 GB, free: 8.684 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006388/0.5376, allocations: 0.6618 MB / 0.8235 GB, free: 8.004 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002774/0.5404, allocations: 2.625 MB / 0.8261 GB, free: 5.387 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007451/0.5411, allocations: 0.8446 MB / 0.8269 GB, free: 4.539 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.5413, allocations: 132 kB / 0.827 GB, free: 4.41 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008209/0.5495, allocations: 6.669 MB / 0.8335 GB, free: 13.75 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0002825/0.5498, allocations: 496.9 kB / 0.834 GB, free: 13.26 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.0003608/0.5501, allocations: 0.5711 MB / 0.8345 GB, free: 12.69 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.006066/0.5562, allocations: 5.87 MB / 0.8403 GB, free: 6.801 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5562, allocations: 0 / 0.8403 GB, free: 6.801 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5562, allocations: 1.781 kB / 0.8403 GB, free: 6.801 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.397e-05/0.5562, allocations: 0 / 0.8403 GB, free: 6.801 MB / 0.6043 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.003128/0.5594, allocations: 2.506 MB / 0.8427 GB, free: 4.262 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.5594, allocations: 8.031 kB / 0.8427 GB, free: 4.254 MB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.627e-05/0.5595, allocations: 122.8 kB / 0.8429 GB, free: 4.125 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007751/0.5603, allocations: 274.3 kB / 0.8431 GB, free: 3.859 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.5625, allocations: 2.16 MB / 0.8452 GB, free: 1.668 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.5625, allocations: 49.25 kB / 0.8453 GB, free: 1.621 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.127e-05/0.5626, allocations: 62.69 kB / 0.8453 GB, free: 1.562 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.5643, allocations: 1.665 MB / 0.847 GB, free: 15.62 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.5643, allocations: 3.938 kB / 0.847 GB, free: 15.62 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.466e-05/0.5643, allocations: 34.25 kB / 0.847 GB, free: 15.59 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.5643, allocations: 20 kB / 0.847 GB, free: 15.57 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.5657, allocations: 0.9101 MB / 0.8479 GB, free: 14.66 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003592/0.5693, allocations: 5.741 MB / 0.8535 GB, free: 8.695 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.5705, allocations: 0.6043 MB / 0.8541 GB, free: 8.059 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.5708, allocations: 214.9 kB / 0.8543 GB, free: 7.84 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.5709, allocations: 131.9 kB / 0.8544 GB, free: 7.711 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.5709, allocations: 42.56 kB / 0.8545 GB, free: 7.66 MB / 0.6199 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003051/0.5712, allocations: 110 kB / 0.8546 GB, free: 7.555 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=78): time 2.074e-06/0.5712, allocations: 0 / 0.8546 GB, free: 7.555 MB / 0.6199 GB Notification: Performance of matching and sorting (n=78): time 0.002514/0.5738, allocations: 1.281 MB / 0.8558 GB, free: 6.273 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.5738, allocations: 243.3 kB / 0.8561 GB, free: 5.98 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.575, allocations: 1.528 MB / 0.8575 GB, free: 4.445 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.575, allocations: 29.7 kB / 0.8576 GB, free: 4.41 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/0.5753, allocations: 0.6191 MB / 0.8582 GB, free: 3.785 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.5755, allocations: 277.6 kB / 0.8584 GB, free: 3.512 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.5757, allocations: 254.2 kB / 0.8587 GB, free: 3.258 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 7.893e-05/0.5757, allocations: 352.5 kB / 0.859 GB, free: 2.91 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.5761, allocations: 286.1 kB / 0.8593 GB, free: 2.625 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005748/0.5767, allocations: 0.7964 MB / 0.8601 GB, free: 1.613 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.5777, allocations: 1.041 MB / 0.8611 GB, free: 412 kB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.5777, allocations: 6.688 kB / 0.8611 GB, free: 408 kB / 0.6199 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001323/0.579, allocations: 1.129 MB / 0.8622 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.579, allocations: 8 kB / 0.8622 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008707/0.5799, allocations: 0.5018 MB / 0.8627 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.5799, allocations: 22.62 kB / 0.8627 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.5804, allocations: 295.4 kB / 0.863 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.5804, allocations: 23.94 kB / 0.863 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.5807, allocations: 51.97 kB / 0.8631 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.735e-05/0.5808, allocations: 70.59 kB / 0.8631 GB, free: 14.31 MB / 0.6355 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.0003397/0.5811, allocations: 397.3 kB / 0.8635 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.5812, allocations: 173.6 kB / 0.8637 GB, free: 13.74 MB / 0.6355 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.001239/0.5825, allocations: 1.272 MB / 0.8649 GB, free: 12.51 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.161025461740792]