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.01458/0.01458, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001605/0.001605, allocations: 112.5 kB / 24.19 MB, free: 2.691 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.001483/0.001483, allocations: 207.9 kB / 27.92 MB, free: 4.027 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.414/1.414, allocations: 230.6 MB / 262.1 MB, free: 5.992 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.025/1.025, allocations: 130.7 MB / 449.7 MB, free: 6.566 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.03295/0.03295, allocations: 20.79 MB / 0.6357 GB, free: 5.121 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.2117, allocations: 81.91 MB / 0.7157 GB, free: 3.121 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.5535/0.7652, allocations: 66.26 MB / 0.7804 GB, free: 6.324 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03896/0.8042, allocations: 28.14 MB / 0.8079 GB, free: 1.102 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.8059, allocations: 37.47 kB / 0.8079 GB, free: 1.086 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.002963/0.8088, allocations: 0.9483 MB / 0.8089 GB, free: 452 kB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.8108, allocations: 0.6882 MB / 0.8095 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02127/0.8321, allocations: 6.291 MB / 0.8157 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003117/0.8352, allocations: 1.817 MB / 0.8175 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000996/0.8362, allocations: 0.6145 MB / 0.8181 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005433/0.8416, allocations: 2.635 MB / 0.8206 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.8434, allocations: 0.9023 MB / 0.8215 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002605/0.8436, allocations: 132 kB / 0.8216 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01494/0.8585, allocations: 7.256 MB / 0.8287 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008535/0.8594, allocations: 494.3 kB / 0.8292 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.8604, allocations: 0.7536 MB / 0.8299 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01415/0.8746, allocations: 5.933 MB / 0.8357 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.8746, allocations: 4 kB / 0.8357 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8746, allocations: 0 / 0.8357 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.483e-05/0.8746, allocations: 0 / 0.8357 GB, free: 8.328 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.00504/0.8796, allocations: 2.51 MB / 0.8382 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.8797, allocations: 12.03 kB / 0.8382 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.8798, allocations: 121.6 kB / 0.8383 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/0.8812, allocations: 271.6 kB / 0.8386 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003725/0.8849, allocations: 2.152 MB / 0.8407 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/0.885, allocations: 51.91 kB / 0.8407 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-05/0.8851, allocations: 60 kB / 0.8408 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.8878, allocations: 1.288 MB / 0.842 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.8878, allocations: 7.938 kB / 0.842 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-05/0.8879, allocations: 28 kB / 0.8421 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.8879, allocations: 20 kB / 0.8421 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/0.8904, allocations: 0.9286 MB / 0.843 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006477/0.8969, allocations: 6.079 MB / 0.8489 GB, free: 10.33 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.8989, allocations: 0.6121 MB / 0.8495 GB, free: 9.691 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/0.8994, allocations: 215 kB / 0.8497 GB, free: 9.473 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002708/0.8997, allocations: 128.2 kB / 0.8499 GB, free: 9.348 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.8997, allocations: 53.11 kB / 0.8499 GB, free: 9.289 MB / 0.6232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006125/0.9003, allocations: 111.3 kB / 0.85 GB, free: 9.18 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=78): time 2.655e-06/0.9003, allocations: 6.594 kB / 0.85 GB, free: 9.176 MB / 0.6232 GB Notification: Performance of matching and sorting (n=78): time 0.004088/0.9044, allocations: 1.281 MB / 0.8513 GB, free: 7.891 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.9046, allocations: 243.3 kB / 0.8515 GB, free: 7.598 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/0.9065, allocations: 1.499 MB / 0.853 GB, free: 6.094 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 5.217e-05/0.9066, allocations: 33.7 kB / 0.853 GB, free: 6.055 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000534/0.9071, allocations: 0.6227 MB / 0.8536 GB, free: 5.426 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/0.9073, allocations: 277.6 kB / 0.8539 GB, free: 5.152 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003331/0.9076, allocations: 254.3 kB / 0.8541 GB, free: 4.898 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.9078, allocations: 348.5 kB / 0.8544 GB, free: 4.555 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000635/0.9084, allocations: 283 kB / 0.8547 GB, free: 4.277 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009916/0.9094, allocations: 0.7062 MB / 0.8554 GB, free: 3.387 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.9111, allocations: 1.038 MB / 0.8564 GB, free: 2.195 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.9111, allocations: 7.938 kB / 0.8564 GB, free: 2.188 MB / 0.6232 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002206/0.9133, allocations: 1.113 MB / 0.8575 GB, free: 1.078 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.9133, allocations: 15.94 kB / 0.8575 GB, free: 1.062 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001071/0.9144, allocations: 0.5015 MB / 0.858 GB, free: 0.5625 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-05/0.9144, allocations: 23.98 kB / 0.858 GB, free: 0.5391 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000817/0.9152, allocations: 287.4 kB / 0.8583 GB, free: 264 kB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.671e-05/0.9153, allocations: 26.75 kB / 0.8583 GB, free: 240 kB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006491/0.9159, allocations: 57.25 kB / 0.8584 GB, free: 188 kB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.916, allocations: 67.95 kB / 0.8585 GB, free: 120 kB / 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.0006543/0.9167, allocations: 405.3 kB / 0.8588 GB, free: 15.71 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/0.917, allocations: 162.9 kB / 0.859 GB, free: 15.55 MB / 0.6388 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.002255/0.9192, allocations: 1.246 MB / 0.8602 GB, free: 14.34 MB / 0.6388 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.742395502998988] Failed to read output from testmodel.py, exit status != 0: 1.134946766000212 1.149905067 0.27225898000000004 Calling exit ...