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.006023/0.006023, 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.0006402/0.0006402, allocations: 91.45 kB / 24.16 MB, free: 392 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.0007392/0.0007392, allocations: 163.6 kB / 27.85 MB, free: 5.5 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.8555/0.8555, allocations: 177.2 MB / 208.6 MB, free: 2.953 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.7109/0.7109, allocations: 102.5 MB / 367.9 MB, free: 1.5 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.333e-06/1.333e-06, allocations: 0 / 0.5362 GB, free: 39.97 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.239e-05, allocations: 4.938 kB / 0.5362 GB, free: 39.97 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.1173/0.1173, allocations: 76.66 MB / 0.611 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02191/0.1392, allocations: 25.32 MB / 0.6358 GB, free: 6.32 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008318/0.1401, allocations: 35.75 kB / 0.6358 GB, free: 6.285 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.002305/0.1424, allocations: 0.9085 MB / 0.6367 GB, free: 5.375 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.1436, allocations: 0.7064 MB / 0.6374 GB, free: 4.664 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01438/0.158, allocations: 6.335 MB / 0.6436 GB, free: 14.3 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.00153/0.1595, allocations: 1.85 MB / 0.6454 GB, free: 12.45 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005813/0.1601, allocations: 0.6668 MB / 0.646 GB, free: 11.75 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002822/0.1629, allocations: 2.894 MB / 0.6488 GB, free: 8.832 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005827/0.1635, allocations: 0.7464 MB / 0.6496 GB, free: 8.086 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.1636, allocations: 132 kB / 0.6497 GB, free: 7.957 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007184/0.1708, allocations: 6.666 MB / 0.6562 GB, free: 1.281 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.0002675/0.171, allocations: 0.5022 MB / 0.6567 GB, free: 0.7773 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.1713, allocations: 466.7 kB / 0.6571 GB, free: 328 kB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.005008/0.1763, allocations: 6.819 MB / 0.6638 GB, free: 9.484 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1763, allocations: 4 kB / 0.6638 GB, free: 9.48 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1763, allocations: 7.875 kB / 0.6638 GB, free: 9.473 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.1763, allocations: 0 / 0.6638 GB, free: 9.473 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.002449/0.1788, allocations: 2.482 MB / 0.6662 GB, free: 6.945 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1788, allocations: 12.03 kB / 0.6662 GB, free: 6.934 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.638e-05/0.1789, allocations: 118.9 kB / 0.6664 GB, free: 6.809 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007264/0.1796, allocations: 267.6 kB / 0.6666 GB, free: 6.547 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/0.1819, allocations: 2.147 MB / 0.6687 GB, free: 4.355 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.1819, allocations: 49.69 kB / 0.6688 GB, free: 4.309 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.365e-05/0.1819, allocations: 60.36 kB / 0.6688 GB, free: 4.25 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.1836, allocations: 1.674 MB / 0.6705 GB, free: 2.293 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.1836, allocations: 7.938 kB / 0.6705 GB, free: 2.285 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.1836, allocations: 32 kB / 0.6705 GB, free: 2.254 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.1836, allocations: 16 kB / 0.6705 GB, free: 2.238 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.185, allocations: 0.9088 MB / 0.6714 GB, free: 1.332 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003311/0.1883, allocations: 5.725 MB / 0.677 GB, free: 11.37 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.1894, allocations: 0.6067 MB / 0.6776 GB, free: 10.73 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.1897, allocations: 208.3 kB / 0.6778 GB, free: 10.51 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/0.1899, allocations: 127.9 kB / 0.6779 GB, free: 10.39 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.1899, allocations: 42.5 kB / 0.6779 GB, free: 10.34 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002908/0.1902, allocations: 115.3 kB / 0.678 GB, free: 10.22 MB / 0.573 GB Notification: Performance of pre-optimization done (n=78): time 1.683e-06/0.1902, allocations: 0 / 0.678 GB, free: 10.22 MB / 0.573 GB Notification: Performance of matching and sorting (n=78): time 0.002261/0.1924, allocations: 1.285 MB / 0.6793 GB, free: 8.934 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.021e-05/0.1925, allocations: 239.3 kB / 0.6795 GB, free: 8.645 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.1937, allocations: 1.524 MB / 0.681 GB, free: 7.113 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.1937, allocations: 29.7 kB / 0.681 GB, free: 7.078 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.194, allocations: 0.6191 MB / 0.6817 GB, free: 6.453 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.1942, allocations: 277.6 kB / 0.6819 GB, free: 6.18 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.1944, allocations: 246.3 kB / 0.6822 GB, free: 5.934 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.252e-05/0.1945, allocations: 345.9 kB / 0.6825 GB, free: 5.59 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.1948, allocations: 286.1 kB / 0.6828 GB, free: 5.312 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.1954, allocations: 0.8093 MB / 0.6835 GB, free: 4.281 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00096/0.1964, allocations: 1.038 MB / 0.6846 GB, free: 3.055 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1964, allocations: 4 kB / 0.6846 GB, free: 3.051 MB / 0.573 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001249/0.1976, allocations: 1.125 MB / 0.6857 GB, free: 1.918 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1976, allocations: 8 kB / 0.6857 GB, free: 1.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006518/0.1983, allocations: 0.5114 MB / 0.6862 GB, free: 1.398 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.1983, allocations: 24 kB / 0.6862 GB, free: 1.375 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.1988, allocations: 279.5 kB / 0.6865 GB, free: 1.102 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/0.1988, allocations: 31.86 kB / 0.6865 GB, free: 1.07 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003048/0.1991, allocations: 59.88 kB / 0.6865 GB, free: 1.012 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-05/0.1992, allocations: 71.95 kB / 0.6866 GB, free: 0.9414 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.0003552/0.1995, allocations: 393.4 kB / 0.687 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.1997, allocations: 166.9 kB / 0.6871 GB, free: 392 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.001309/0.201, allocations: 1.276 MB / 0.6884 GB, free: 15.08 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.116819279268384] Failed to read output from testmodel.py, exit status != 0: 0.5710073262453079 0.581362324 0.403212919 Calling exit ...