Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves.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.01034/0.01034, allocations: 1.769 MB / 18.12 MB, free: 4.906 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.001223/0.001223, allocations: 103.7 kB / 21.36 MB, free: 1.684 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.001518/0.001518, allocations: 210.9 kB / 24.74 MB, free: 3.691 MB / 14.72 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.542/1.542, allocations: 230.6 MB / 258.5 MB, free: 13.11 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.143/1.143, allocations: 130.6 MB / 445.6 MB, free: 14.88 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.VolumesValvesFittings.Valves.Check.TestValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestValves",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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4589/0.4589, allocations: 46.16 MB / 0.6545 GB, free: 30.2 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.6584, allocations: 89.05 MB / 0.7415 GB, free: 2.762 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves): time 0.03314/0.6915, allocations: 30.65 MB / 0.7714 GB, free: 3.988 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.04075/0.7322, allocations: 21.73 MB / 0.7926 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009185/0.7414, allocations: 194.4 kB / 0.7928 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009273/0.7507, allocations: 2.893 MB / 0.7956 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0157/0.7664, allocations: 4.519 MB / 0.8 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0152/0.7816, allocations: 4.826 MB / 0.8047 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02652/0.8081, allocations: 12.16 MB / 0.8166 GB, free: 5.531 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007649/0.8158, allocations: 3.624 MB / 0.8202 GB, free: 1.84 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01052/0.8263, allocations: 4.943 MB / 0.825 GB, free: 12.88 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00954/0.8358, allocations: 5.062 MB / 0.8299 GB, free: 7.797 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.003182/0.839, allocations: 0.7617 MB / 0.8307 GB, free: 7.035 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006867/0.8459, allocations: 2.169 MB / 0.8328 GB, free: 4.863 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.003929/0.8498, allocations: 2.316 MB / 0.835 GB, free: 2.539 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.007803/0.8576, allocations: 4.255 MB / 0.8392 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02075/0.8784, allocations: 11.87 MB / 0.8508 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.8784, allocations: 0 / 0.8508 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8784, allocations: 0 / 0.8508 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004467/0.8788, allocations: 0 / 0.8508 GB, free: 2.348 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.02415/0.903, allocations: 8.593 MB / 0.8592 GB, free: 9.652 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.903, allocations: 12.03 kB / 0.8592 GB, free: 9.641 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002668/0.9057, allocations: 0.7832 MB / 0.86 GB, free: 8.848 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004979/0.9107, allocations: 1.112 MB / 0.861 GB, free: 7.73 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01561/0.9263, allocations: 6.261 MB / 0.8672 GB, free: 1.402 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005027/0.9268, allocations: 357.4 kB / 0.8675 GB, free: 1.051 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001893/0.9287, allocations: 448 kB / 0.8679 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4245/1.353, allocations: 10.86 MB / 0.8785 GB, free: 106.7 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001497/1.353, allocations: 71.78 kB / 0.8786 GB, free: 106.7 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007246/1.354, allocations: 238.3 kB / 0.8788 GB, free: 106.5 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/1.354, allocations: 165.3 kB / 0.879 GB, free: 106.5 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0247/1.379, allocations: 7.963 MB / 0.8868 GB, free: 104.4 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04986/1.429, allocations: 51.97 MB / 0.9375 GB, free: 57.45 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02198/1.451, allocations: 6.184 MB / 0.9436 GB, free: 54.1 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005201/1.456, allocations: 1.885 MB / 0.9454 GB, free: 52.96 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001606/1.458, allocations: 438.2 kB / 0.9458 GB, free: 52.76 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/1.458, allocations: 98.2 kB / 0.9459 GB, free: 52.69 MB / 0.67 GB Notification: Performance of pre-optimization done (n=863): time 1.345e-05/1.458, allocations: 3.312 kB / 0.9459 GB, free: 52.69 MB / 0.67 GB Notification: Performance of matching and sorting (n=863): time 0.04566/1.503, allocations: 12.02 MB / 0.9576 GB, free: 47.07 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003737/1.504, allocations: 0.9585 MB / 0.9586 GB, free: 45.94 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01669/1.52, allocations: 6.126 MB / 0.9646 GB, free: 42.81 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.00177/1.522, allocations: 89.27 kB / 0.9646 GB, free: 42.73 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002968/1.525, allocations: 3.222 MB / 0.9678 GB, free: 40.15 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.004238/1.529, allocations: 2.938 MB / 0.9707 GB, free: 37.95 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007798/1.537, allocations: 1.947 MB / 0.9726 GB, free: 36.84 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.909e-05/1.537, allocations: 303.8 kB / 0.9729 GB, free: 36.54 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007089/1.544, allocations: 2.886 MB / 0.9757 GB, free: 34.97 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008997/1.553, allocations: 6 MB / 0.9815 GB, free: 28.05 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01619/1.57, allocations: 9.691 MB / 0.991 GB, free: 17.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001886/1.57, allocations: 28 kB / 0.991 GB, free: 17.38 MB / 0.67 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02641/1.596, allocations: 9.964 MB / 1.001 GB, free: 7.438 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.000128/1.596, allocations: 49.56 kB / 1.001 GB, free: 7.391 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01644/1.613, allocations: 6.545 MB / 1.007 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003195/1.613, allocations: 155.9 kB / 1.007 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009988/1.623, allocations: 2.511 MB / 1.01 GB, free: 14.14 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004006/1.623, allocations: 217.9 kB / 1.01 GB, free: 13.93 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009563/1.633, allocations: 1.114 MB / 1.011 GB, free: 12.95 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002788/1.636, allocations: 0.6402 MB / 1.012 GB, free: 12.31 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01358/1.649, allocations: 4.037 MB / 1.016 GB, free: 8.266 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01181/1.661, allocations: 5.936 MB / 1.021 GB, free: 0.9883 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02016/1.681, allocations: 9.574 MB / 1.031 GB, free: 6.074 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001335/1.681, allocations: 28 kB / 1.031 GB, free: 6.047 MB / 0.7013 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.03157/1.713, allocations: 9.821 MB / 1.04 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/1.713, allocations: 48 kB / 1.04 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02064/1.734, allocations: 6.387 MB / 1.047 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004268/1.734, allocations: 152 kB / 1.047 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01127/1.745, allocations: 2.5 MB / 1.049 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004364/1.746, allocations: 223.2 kB / 1.05 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009189/1.755, allocations: 0.8929 MB / 1.05 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002638/1.758, allocations: 0.6324 MB / 1.051 GB, free: 1.293 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 4 (valve5.pressureLoss.normIsValid,valve4.pressureLoss.normIsValid,valve2.pressureLoss.normIsValid,valve1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1296): * Single equations (assignments): 1296 * 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.004223/1.762, allocations: 0.7584 MB / 1.052 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004731/1.767, allocations: 0.8082 MB / 1.053 GB, free: 15.71 MB / 0.7325 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 1203 equation(s) and 1155 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pressureSink_XRG4.fluidOut.q, pressureSink_XRG4.fluidOut.cp, pressureSink_XRG4.fluidOut.cv, pressureSink_XRG4.fluidOut.beta, pressureSink_XRG4.fluidOut.kappa, pressureSink_XRG4.fluidOut.drhodp_hxi, pressureSink_XRG4.fluidOut.drhodh_pxi, _, pressureSink_XRG4.fluidOut.w, pressureSink_XRG4.fluidOut.gamma) = ($cse486, $cse487, $cse488, $cse489, $cse490, $cse491, $cse492, $cse493, $cse494, $cse495) has size 9 but 5 variables ($cse261, valve6.pressureLoss.m_flow, valve6.pressureLoss.aperture_, valve6.pressureLoss.Delta_p, valve6.pressureLoss.Psi) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02882/1.796, allocations: 11.81 MB / 1.064 GB, free: 4.027 MB / 0.7325 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.535805738007184] Failed to read output from testmodel.py, exit status != 0: 1.8046172469912563 1.819568518 0.937822171 Calling exit ...