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.01245/0.01245, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.001503/0.001503, allocations: 109 kB / 24.19 MB, free: 2.18 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.001779/0.001779, allocations: 215.9 kB / 27.9 MB, free: 3.504 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.41/1.41, allocations: 230.6 MB / 262.1 MB, free: 5.859 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.002/1.002, allocations: 130.7 MB / 449.7 MB, free: 6.402 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.06423/0.06423, allocations: 20.99 MB / 0.6358 GB, free: 4.738 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.2171, allocations: 81.91 MB / 0.7158 GB, free: 2.727 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.478/0.6951, allocations: 63.18 MB / 0.7775 GB, free: 9.18 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03264/0.7277, allocations: 25.59 MB / 0.8025 GB, free: 6.656 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.7293, allocations: 39.88 kB / 0.8025 GB, free: 6.641 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.002809/0.7321, allocations: 0.9028 MB / 0.8034 GB, free: 6.031 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.7341, allocations: 0.6854 MB / 0.8041 GB, free: 5.484 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01953/0.7537, allocations: 6.227 MB / 0.8102 GB, free: 1.133 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.003269/0.757, allocations: 1.821 MB / 0.812 GB, free: 76 kB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.7583, allocations: 0.6652 MB / 0.8126 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006287/0.7646, allocations: 2.621 MB / 0.8152 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.7663, allocations: 0.844 MB / 0.816 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004458/0.7668, allocations: 132 kB / 0.8161 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01517/0.782, allocations: 6.677 MB / 0.8226 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008555/0.7828, allocations: 494.2 kB / 0.8231 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.784, allocations: 0.5788 MB / 0.8237 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01348/0.7975, allocations: 5.862 MB / 0.8294 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.7975, allocations: 0 / 0.8294 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7975, allocations: 2.656 kB / 0.8294 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.179e-05/0.7976, allocations: 0 / 0.8294 GB, free: 14.36 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.006421/0.804, allocations: 2.499 MB / 0.8318 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.8041, allocations: 10.69 kB / 0.8319 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002318/0.8043, allocations: 122.9 kB / 0.832 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.806, allocations: 271.6 kB / 0.8322 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004478/0.8105, allocations: 2.158 MB / 0.8343 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/0.8105, allocations: 59.75 kB / 0.8344 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.8107, allocations: 56 kB / 0.8344 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003464/0.8141, allocations: 1.666 MB / 0.8361 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.8141, allocations: 6.625 kB / 0.8361 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.743e-05/0.8142, allocations: 32 kB / 0.8361 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.8143, allocations: 20 kB / 0.8361 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002746/0.817, allocations: 0.9114 MB / 0.837 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007275/0.8243, allocations: 5.738 MB / 0.8426 GB, free: 272 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/0.8265, allocations: 0.6089 MB / 0.8432 GB, free: 15.62 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005204/0.827, allocations: 208.3 kB / 0.8434 GB, free: 15.41 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003049/0.8273, allocations: 131.9 kB / 0.8435 GB, free: 15.28 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.8274, allocations: 41.22 kB / 0.8436 GB, free: 15.23 MB / 0.6232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006847/0.8281, allocations: 115.6 kB / 0.8437 GB, free: 15.12 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=78): time 3.977e-06/0.8281, allocations: 2.656 kB / 0.8437 GB, free: 15.12 MB / 0.6232 GB Notification: Performance of matching and sorting (n=78): time 0.00444/0.8325, allocations: 1.283 MB / 0.8449 GB, free: 13.83 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.8326, allocations: 243.3 kB / 0.8452 GB, free: 13.54 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002357/0.835, allocations: 1.528 MB / 0.8467 GB, free: 12 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 7.002e-05/0.8351, allocations: 32.36 kB / 0.8467 GB, free: 11.97 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000592/0.8357, allocations: 0.6188 MB / 0.8473 GB, free: 11.34 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.8359, allocations: 273.6 kB / 0.8476 GB, free: 11.07 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000386/0.8363, allocations: 254.2 kB / 0.8478 GB, free: 10.82 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.8365, allocations: 349.9 kB / 0.8481 GB, free: 10.47 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006802/0.8371, allocations: 284.8 kB / 0.8484 GB, free: 10.2 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.8382, allocations: 0.8016 MB / 0.8492 GB, free: 9.172 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001817/0.8401, allocations: 1.044 MB / 0.8502 GB, free: 7.961 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/0.8401, allocations: 6.656 kB / 0.8502 GB, free: 7.957 MB / 0.6232 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.00246/0.8425, allocations: 1.111 MB / 0.8513 GB, free: 6.848 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.8426, allocations: 8 kB / 0.8513 GB, free: 6.84 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001181/0.8437, allocations: 0.5157 MB / 0.8518 GB, free: 6.328 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.715e-05/0.8438, allocations: 20 kB / 0.8518 GB, free: 6.309 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008872/0.8447, allocations: 298.1 kB / 0.8521 GB, free: 6.02 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.338e-05/0.8447, allocations: 19.94 kB / 0.8521 GB, free: 6 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007375/0.8454, allocations: 51.97 kB / 0.8522 GB, free: 5.949 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.8456, allocations: 71.91 kB / 0.8523 GB, free: 5.879 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.0006878/0.8463, allocations: 408 kB / 0.8526 GB, free: 5.473 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003798/0.8466, allocations: 165.5 kB / 0.8528 GB, free: 5.312 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.002415/0.849, allocations: 1.268 MB / 0.854 GB, free: 4.086 MB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.545424384996295] Failed to read output from testmodel.py, exit status != 0: 1.0253376560285687 1.042148918 0.241347114 Calling exit ...