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.01222/0.01222, allocations: 1.748 MB / 21.38 MB, free: 480 kB / 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.001486/0.001486, allocations: 99.41 kB / 24.96 MB, free: 2.066 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.001822/0.001822, allocations: 212.5 kB / 28.68 MB, free: 3.348 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.403/1.403, allocations: 230.6 MB / 262.9 MB, free: 5.82 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.035/1.035, allocations: 130.7 MB / 450.4 MB, free: 6.453 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Adapters.Check.TestFluidConverters,fileNamePrefix="ClaRa_ClaRa_Components_Adapters_Check_TestFluidConverters",fmuType="cs",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.06266/0.06266, allocations: 20.6 MB / 0.6362 GB, free: 5.121 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.229, allocations: 81.9 MB / 0.7162 GB, free: 3.113 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.5037/0.7327, allocations: 63.16 MB / 0.7779 GB, free: 9.414 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03575/0.7685, allocations: 25.56 MB / 0.8028 GB, free: 6.949 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.7701, allocations: 36.94 kB / 0.8029 GB, free: 6.934 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.003362/0.7735, allocations: 0.9005 MB / 0.8038 GB, free: 6.332 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.002464/0.7759, allocations: 0.6952 MB / 0.8044 GB, free: 5.777 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.02074/0.7967, allocations: 6.23 MB / 0.8105 GB, free: 1.426 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.003025/0.7997, allocations: 1.823 MB / 0.8123 GB, free: 372 kB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.8008, allocations: 0.611 MB / 0.8129 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005833/0.8066, allocations: 2.621 MB / 0.8155 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.8081, allocations: 0.901 MB / 0.8163 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002733/0.8084, allocations: 132 kB / 0.8165 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01345/0.8218, allocations: 6.911 MB / 0.8232 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007995/0.8226, allocations: 0.4905 MB / 0.8237 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008883/0.8235, allocations: 0.5749 MB / 0.8242 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01285/0.8364, allocations: 5.867 MB / 0.83 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.8364, allocations: 0 / 0.83 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8364, allocations: 0 / 0.83 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.843e-05/0.8364, allocations: 0 / 0.83 GB, free: 14.53 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.004956/0.8414, allocations: 2.498 MB / 0.8324 GB, free: 12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.8414, allocations: 12.03 kB / 0.8324 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.373e-05/0.8415, allocations: 25.42 kB / 0.8325 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.8416, allocations: 114.9 kB / 0.8326 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.8431, allocations: 279.6 kB / 0.8328 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003731/0.8468, allocations: 2.158 MB / 0.8349 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.492e-05/0.8468, allocations: 45.31 kB / 0.835 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.965e-05/0.8469, allocations: 60 kB / 0.835 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003064/0.85, allocations: 1.665 MB / 0.8367 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.85, allocations: 7.938 kB / 0.8367 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.43e-05/0.8501, allocations: 42.69 kB / 0.8367 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.8501, allocations: 23.98 kB / 0.8367 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/0.8527, allocations: 0.9102 MB / 0.8376 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006354/0.859, allocations: 5.736 MB / 0.8432 GB, free: 416 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.8613, allocations: 0.6146 MB / 0.8438 GB, free: 15.76 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004807/0.8617, allocations: 207.9 kB / 0.844 GB, free: 15.55 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002923/0.862, allocations: 135.8 kB / 0.8442 GB, free: 15.41 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.8621, allocations: 38.56 kB / 0.8442 GB, free: 15.37 MB / 0.6232 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006387/0.8627, allocations: 105.9 kB / 0.8443 GB, free: 15.27 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=78): time 3.186e-06/0.8627, allocations: 0 / 0.8443 GB, free: 15.27 MB / 0.6232 GB Notification: Performance of matching and sorting (n=78): time 0.004274/0.867, allocations: 1.301 MB / 0.8456 GB, free: 13.96 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.8671, allocations: 235.3 kB / 0.8458 GB, free: 13.68 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/0.869, allocations: 1.5 MB / 0.8472 GB, free: 12.17 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 6.881e-05/0.8691, allocations: 41.64 kB / 0.8473 GB, free: 12.12 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005174/0.8696, allocations: 0.623 MB / 0.8479 GB, free: 11.5 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002449/0.8699, allocations: 273.6 kB / 0.8482 GB, free: 11.23 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003519/0.8702, allocations: 242.3 kB / 0.8484 GB, free: 10.98 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.8704, allocations: 352.5 kB / 0.8487 GB, free: 10.64 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006384/0.871, allocations: 286.1 kB / 0.849 GB, free: 10.36 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.8721, allocations: 0.8042 MB / 0.8498 GB, free: 9.332 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.8738, allocations: 1.037 MB / 0.8508 GB, free: 8.125 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.8738, allocations: 4 kB / 0.8508 GB, free: 8.121 MB / 0.6232 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002263/0.876, allocations: 1.114 MB / 0.8519 GB, free: 7.012 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.8761, allocations: 12 kB / 0.8519 GB, free: 7 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001074/0.8771, allocations: 0.5171 MB / 0.8524 GB, free: 6.484 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.914e-05/0.8772, allocations: 26.62 kB / 0.8524 GB, free: 6.461 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008361/0.878, allocations: 279.5 kB / 0.8527 GB, free: 6.188 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-05/0.878, allocations: 28.47 kB / 0.8527 GB, free: 6.16 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006592/0.8787, allocations: 51.92 kB / 0.8528 GB, free: 6.109 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.8788, allocations: 74.61 kB / 0.8528 GB, free: 6.039 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.0006061/0.8794, allocations: 397.3 kB / 0.8532 GB, free: 5.641 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003053/0.8797, allocations: 166.9 kB / 0.8534 GB, free: 5.477 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.002201/0.8819, allocations: 1.24 MB / 0.8546 GB, free: 4.281 MB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.657824185909703] Failed to read output from testmodel.py, exit status != 0: 1.0547548659378663 1.070129141 0.230566561 Calling exit ...