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.01024/0.01024, allocations: 1.775 MB / 18.83 MB, free: 4.352 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.001193/0.001193, allocations: 103.7 kB / 22.07 MB, free: 1.105 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.00148/0.00148, allocations: 218.6 kB / 25.45 MB, free: 3.348 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.499/1.499, allocations: 230.6 MB / 259.3 MB, free: 13.13 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.095/1.095, allocations: 130.6 MB / 446.3 MB, free: 14.56 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestValves",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: 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.4508/0.4508, allocations: 46.15 MB / 0.6552 GB, free: 30.29 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.6336, allocations: 89.06 MB / 0.7421 GB, free: 2.652 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves): time 0.03379/0.6674, allocations: 30.64 MB / 0.7721 GB, free: 3.891 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.03802/0.7054, allocations: 21.73 MB / 0.7933 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01003/0.7155, allocations: 194.4 kB / 0.7935 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.008371/0.7238, allocations: 2.893 MB / 0.7963 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0134/0.7372, allocations: 4.519 MB / 0.8007 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01242/0.7497, allocations: 4.822 MB / 0.8054 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01935/0.769, allocations: 12.16 MB / 0.8173 GB, free: 5.43 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007034/0.776, allocations: 3.628 MB / 0.8208 GB, free: 1.734 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0121/0.7881, allocations: 4.943 MB / 0.8257 GB, free: 12.77 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009842/0.798, allocations: 5.062 MB / 0.8306 GB, free: 7.691 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.003223/0.8012, allocations: 0.7617 MB / 0.8314 GB, free: 6.93 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006738/0.8079, allocations: 2.165 MB / 0.8335 GB, free: 4.762 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.004079/0.812, allocations: 2.319 MB / 0.8357 GB, free: 2.434 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.007738/0.8198, allocations: 4.255 MB / 0.8399 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01914/0.8389, allocations: 11.87 MB / 0.8515 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8389, allocations: 0 / 0.8515 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8389, allocations: 0 / 0.8515 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004154/0.8393, allocations: 0 / 0.8515 GB, free: 2.242 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.01914/0.8585, allocations: 8.597 MB / 0.8599 GB, free: 9.539 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.8585, allocations: 8.031 kB / 0.8599 GB, free: 9.531 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001542/0.8587, allocations: 141.6 kB / 0.86 GB, free: 9.391 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001741/0.8604, allocations: 0.7832 MB / 0.8608 GB, free: 8.598 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003854/0.8643, allocations: 1.115 MB / 0.8619 GB, free: 7.477 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01414/0.8784, allocations: 6.27 MB / 0.868 GB, free: 1.145 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005227/0.8789, allocations: 353.4 kB / 0.8683 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002141/0.8811, allocations: 452 kB / 0.8688 GB, free: 364 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4564/1.337, allocations: 10.86 MB / 0.8794 GB, free: 56.05 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001509/1.338, allocations: 71.3 kB / 0.8794 GB, free: 56.05 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007239/1.338, allocations: 238.2 kB / 0.8797 GB, free: 56.05 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001668/1.338, allocations: 167.6 kB / 0.8798 GB, free: 56.05 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02435/1.363, allocations: 7.959 MB / 0.8876 GB, free: 56.01 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04659/1.409, allocations: 51.97 MB / 0.9383 GB, free: 16.47 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02089/1.43, allocations: 6.187 MB / 0.9444 GB, free: 14.14 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005102/1.435, allocations: 1.901 MB / 0.9462 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/1.437, allocations: 438.9 kB / 0.9467 GB, free: 12.96 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.993e-05/1.437, allocations: 99.47 kB / 0.9468 GB, free: 12.88 MB / 0.67 GB Notification: Performance of pre-optimization done (n=863): time 8.466e-06/1.437, allocations: 2.625 kB / 0.9468 GB, free: 12.88 MB / 0.67 GB Notification: Performance of matching and sorting (n=863): time 0.04075/1.478, allocations: 12.01 MB / 0.9585 GB, free: 7.277 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000237/1.478, allocations: 0.9612 MB / 0.9594 GB, free: 6.141 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0116/1.49, allocations: 6.121 MB / 0.9654 GB, free: 3.012 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001911/1.492, allocations: 85.98 kB / 0.9655 GB, free: 2.938 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002659/1.494, allocations: 3.234 MB / 0.9686 GB, free: 356 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.005049/1.499, allocations: 2.94 MB / 0.9715 GB, free: 14.14 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00451/1.504, allocations: 1.936 MB / 0.9734 GB, free: 13.04 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.504, allocations: 301.1 kB / 0.9737 GB, free: 12.75 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006405/1.51, allocations: 2.894 MB / 0.9765 GB, free: 11.17 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01022/1.52, allocations: 5.994 MB / 0.9824 GB, free: 5.535 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01753/1.538, allocations: 9.693 MB / 0.9918 GB, free: 13.12 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001319/1.538, allocations: 28 kB / 0.9919 GB, free: 13.09 MB / 0.7013 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02897/1.567, allocations: 9.967 MB / 1.002 GB, free: 3.738 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/1.567, allocations: 48 kB / 1.002 GB, free: 3.691 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0184/1.586, allocations: 6.535 MB / 1.008 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000315/1.586, allocations: 156 kB / 1.008 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009129/1.595, allocations: 2.508 MB / 1.011 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000212/1.595, allocations: 223 kB / 1.011 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007658/1.603, allocations: 1.114 MB / 1.012 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001543/1.604, allocations: 0.6402 MB / 1.013 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009427/1.614, allocations: 4.038 MB / 1.016 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008643/1.623, allocations: 5.934 MB / 1.022 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01625/1.639, allocations: 9.563 MB / 1.032 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.779e-05/1.639, allocations: 30.19 kB / 1.032 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.02273/1.662, allocations: 9.831 MB / 1.041 GB, free: 9.75 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 6.508e-05/1.662, allocations: 48 kB / 1.041 GB, free: 9.703 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01393/1.676, allocations: 6.392 MB / 1.048 GB, free: 3.312 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002386/1.676, allocations: 156 kB / 1.048 GB, free: 3.16 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008687/1.685, allocations: 2.504 MB / 1.05 GB, free: 0.8164 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002332/1.685, allocations: 217.7 kB / 1.05 GB, free: 0.6445 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007484/1.692, allocations: 0.889 MB / 1.051 GB, free: 15.76 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001798/1.694, allocations: 0.6363 MB / 1.052 GB, free: 15.12 MB / 0.7638 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.003259/1.697, allocations: 0.7564 MB / 1.053 GB, free: 14.52 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003171/1.7, allocations: 0.8075 MB / 1.053 GB, free: 13.71 MB / 0.7638 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.02154/1.722, allocations: 11.8 MB / 1.065 GB, free: 2.438 MB / 0.7638 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.341493077983614] Failed to read output from testmodel.py, exit status != 0: 1.730305976991076 1.742959524 0.900957559 Calling exit ...