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.005999/0.005999, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0006607/0.0006607, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0007592/0.0007592, allocations: 164.9 kB / 27.85 MB, free: 5.098 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.836/0.836, allocations: 177.2 MB / 208.6 MB, free: 2.945 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6994/0.6994, allocations: 102.5 MB / 367.9 MB, free: 1.48 MB / 330.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.5362 GB, free: 40.07 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.518e-05, allocations: 4.578 kB / 0.5362 GB, free: 40.07 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.1158/0.1158, allocations: 76.66 MB / 0.611 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02094/0.1367, allocations: 25.32 MB / 0.6358 GB, free: 6.406 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006978/0.1374, allocations: 39.69 kB / 0.6358 GB, free: 6.367 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.001878/0.1393, allocations: 0.9126 MB / 0.6367 GB, free: 5.453 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008285/0.1401, allocations: 0.7102 MB / 0.6374 GB, free: 4.738 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01082/0.151, allocations: 6.319 MB / 0.6436 GB, free: 14.39 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.001538/0.1525, allocations: 1.854 MB / 0.6454 GB, free: 12.53 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000588/0.1531, allocations: 0.659 MB / 0.646 GB, free: 11.85 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002896/0.156, allocations: 2.905 MB / 0.6488 GB, free: 8.914 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006179/0.1566, allocations: 0.7399 MB / 0.6496 GB, free: 8.172 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.1567, allocations: 132 kB / 0.6497 GB, free: 8.043 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007976/0.1647, allocations: 6.678 MB / 0.6562 GB, free: 1.355 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.0003239/0.165, allocations: 0.4944 MB / 0.6567 GB, free: 0.8594 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.0003347/0.1654, allocations: 470.7 kB / 0.6571 GB, free: 408 kB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.006617/0.172, allocations: 6.811 MB / 0.6638 GB, free: 9.57 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.172, allocations: 3.938 kB / 0.6638 GB, free: 9.566 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.593e-06/0.172, allocations: 0 / 0.6638 GB, free: 9.566 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.172, allocations: 4 kB / 0.6638 GB, free: 9.562 MB / 0.5574 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.002818/0.1748, allocations: 2.485 MB / 0.6662 GB, free: 7.035 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1749, allocations: 8.031 kB / 0.6662 GB, free: 7.027 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.832e-05/0.1749, allocations: 118.9 kB / 0.6664 GB, free: 6.902 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007689/0.1757, allocations: 279.6 kB / 0.6666 GB, free: 6.629 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/0.178, allocations: 2.146 MB / 0.6687 GB, free: 4.441 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.178, allocations: 45.69 kB / 0.6688 GB, free: 4.398 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.618e-05/0.1781, allocations: 64.38 kB / 0.6688 GB, free: 4.336 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.1798, allocations: 1.67 MB / 0.6704 GB, free: 2.383 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.1798, allocations: 11.88 kB / 0.6705 GB, free: 2.371 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.563e-05/0.1799, allocations: 28 kB / 0.6705 GB, free: 2.344 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.1799, allocations: 20 kB / 0.6705 GB, free: 2.324 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.1813, allocations: 0.9088 MB / 0.6714 GB, free: 1.418 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003599/0.1849, allocations: 5.725 MB / 0.677 GB, free: 11.45 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.1861, allocations: 0.6066 MB / 0.6776 GB, free: 10.81 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.1864, allocations: 212.3 kB / 0.6778 GB, free: 10.59 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.1866, allocations: 127.9 kB / 0.6779 GB, free: 10.47 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.1866, allocations: 42.5 kB / 0.6779 GB, free: 10.42 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003178/0.1869, allocations: 111.6 kB / 0.678 GB, free: 10.31 MB / 0.573 GB Notification: Performance of pre-optimization done (n=78): time 2.605e-06/0.1869, allocations: 0 / 0.678 GB, free: 10.31 MB / 0.573 GB Notification: Performance of matching and sorting (n=78): time 0.002436/0.1894, allocations: 1.289 MB / 0.6793 GB, free: 9.016 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.1895, allocations: 239.4 kB / 0.6795 GB, free: 8.727 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.1906, allocations: 1.52 MB / 0.681 GB, free: 7.199 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.1907, allocations: 33.7 kB / 0.6811 GB, free: 7.16 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003251/0.191, allocations: 0.6227 MB / 0.6817 GB, free: 6.531 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.1911, allocations: 273.6 kB / 0.6819 GB, free: 6.262 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.1913, allocations: 246.2 kB / 0.6822 GB, free: 6.016 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.1914, allocations: 341.9 kB / 0.6825 GB, free: 5.676 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/0.1918, allocations: 286.1 kB / 0.6828 GB, free: 5.398 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/0.1924, allocations: 0.8094 MB / 0.6835 GB, free: 4.367 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.1935, allocations: 1.046 MB / 0.6846 GB, free: 3.133 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.1935, allocations: 4 kB / 0.6846 GB, free: 3.129 MB / 0.573 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.00141/0.1949, allocations: 1.114 MB / 0.6857 GB, free: 2.008 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1949, allocations: 16.25 kB / 0.6857 GB, free: 1.992 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006622/0.1956, allocations: 0.5146 MB / 0.6862 GB, free: 1.477 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.1956, allocations: 20 kB / 0.6862 GB, free: 1.457 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/0.196, allocations: 279.5 kB / 0.6865 GB, free: 1.184 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.196, allocations: 27.88 kB / 0.6865 GB, free: 1.156 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003074/0.1963, allocations: 63.86 kB / 0.6865 GB, free: 1.094 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-05/0.1964, allocations: 71.95 kB / 0.6866 GB, free: 1.023 MB / 0.573 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.0003515/0.1968, allocations: 393.4 kB / 0.687 GB, free: 0.6289 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.1969, allocations: 162.9 kB / 0.6871 GB, free: 480 kB / 0.573 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.001318/0.1982, allocations: 1.276 MB / 0.6884 GB, free: 15.16 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.053701004013419] Failed to read output from testmodel.py, exit status != 0: 0.5562387406826019 0.568281864 0.39355899 Calling exit ...