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.009675/0.009675, allocations: 1.442 MB / 20.53 MB, free: 4.012 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.001186/0.001186, 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.001776/0.001776, allocations: 165 kB / 27.86 MB, free: 5.496 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.851/0.851, allocations: 177.2 MB / 208.6 MB, free: 2.969 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.7021/0.7021, allocations: 102.5 MB / 367.9 MB, free: 1.492 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.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: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.5362 GB, free: 39.98 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.528e-05, allocations: 3.094 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.VolumesValvesFittings.Valves.Check.TestValves): time 0.117/0.117, allocations: 72.89 MB / 0.6074 GB, free: 3.566 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.0267/0.1437, allocations: 20.95 MB / 0.6278 GB, free: 14.55 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007243/0.151, allocations: 198.4 kB / 0.628 GB, free: 14.35 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.005956/0.1569, allocations: 2.849 MB / 0.6308 GB, free: 11.48 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.01069/0.1676, allocations: 4.737 MB / 0.6354 GB, free: 6.719 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006747/0.1744, allocations: 4.963 MB / 0.6403 GB, free: 1.75 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0111/0.1855, allocations: 12.49 MB / 0.6525 GB, free: 5.215 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003595/0.1891, allocations: 3.822 MB / 0.6562 GB, free: 1.32 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005889/0.195, allocations: 6.746 MB / 0.6628 GB, free: 10.56 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003414/0.1984, allocations: 4.078 MB / 0.6668 GB, free: 6.469 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0006604/0.199, allocations: 0.7617 MB / 0.6675 GB, free: 5.707 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002646/0.2017, allocations: 1.833 MB / 0.6693 GB, free: 3.871 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.2028, allocations: 2.362 MB / 0.6716 GB, free: 1.5 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.001772/0.2046, allocations: 2.645 MB / 0.6742 GB, free: 14.85 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.007385/0.212, allocations: 11.59 MB / 0.6855 GB, free: 3.219 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.212, allocations: 0 / 0.6855 GB, free: 3.219 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.382e-06/0.212, allocations: 0 / 0.6855 GB, free: 3.219 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.644e-05/0.2121, allocations: 0 / 0.6855 GB, free: 3.219 MB / 0.573 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.007419/0.2195, allocations: 8.426 MB / 0.6937 GB, free: 10.71 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.2195, allocations: 12.03 kB / 0.6938 GB, free: 10.7 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006619/0.2202, allocations: 0.7832 MB / 0.6945 GB, free: 9.906 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.2218, allocations: 1.119 MB / 0.6956 GB, free: 8.781 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006332/0.2282, allocations: 5.991 MB / 0.7015 GB, free: 2.707 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.2283, allocations: 361.8 kB / 0.7018 GB, free: 2.352 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004023/0.2287, allocations: 460.1 kB / 0.7023 GB, free: 1.902 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01338/0.2421, allocations: 12.08 MB / 0.714 GB, free: 3.938 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.889e-05/0.2422, allocations: 71.38 kB / 0.7141 GB, free: 3.867 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003509/0.2426, allocations: 236 kB / 0.7143 GB, free: 3.637 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.2427, allocations: 168 kB / 0.7145 GB, free: 3.473 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0121/0.2548, allocations: 7.92 MB / 0.7222 GB, free: 11.53 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2918/0.5466, allocations: 49.29 MB / 0.7704 GB, free: 138.4 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/0.558, allocations: 6.172 MB / 0.7764 GB, free: 137.1 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002497/0.5605, allocations: 1.881 MB / 0.7782 GB, free: 136.1 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006713/0.5612, allocations: 323.9 kB / 0.7785 GB, free: 136.1 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.067e-05/0.5613, allocations: 104.5 kB / 0.7786 GB, free: 136 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=863): time 7.094e-06/0.5613, allocations: 0.8125 kB / 0.7786 GB, free: 136 MB / 0.6512 GB Notification: Performance of matching and sorting (n=863): time 0.02203/0.5833, allocations: 12.01 MB / 0.7904 GB, free: 131.4 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001747/0.5835, allocations: 0.966 MB / 0.7913 GB, free: 130.3 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006743/0.5902, allocations: 6.282 MB / 0.7975 GB, free: 127.3 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0004208/0.5907, allocations: 86.61 kB / 0.7975 GB, free: 127.2 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001326/0.592, allocations: 3.208 MB / 0.8007 GB, free: 124.6 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001407/0.5934, allocations: 2.906 MB / 0.8035 GB, free: 122.5 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002329/0.5957, allocations: 1.919 MB / 0.8054 GB, free: 121.3 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.891e-05/0.5957, allocations: 301.1 kB / 0.8057 GB, free: 121.1 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00338/0.5991, allocations: 2.881 MB / 0.8085 GB, free: 119.5 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004132/0.6033, allocations: 6.303 MB / 0.8146 GB, free: 113.5 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008175/0.6114, allocations: 9.684 MB / 0.8241 GB, free: 106.2 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.127e-05/0.6115, allocations: 28.44 kB / 0.8241 GB, free: 106.2 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.01095/0.6224, allocations: 9.971 MB / 0.8339 GB, free: 96.5 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.6225, allocations: 48 kB / 0.8339 GB, free: 96.45 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006987/0.6294, allocations: 6.53 MB / 0.8403 GB, free: 89.88 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.637e-05/0.6295, allocations: 156 kB / 0.8404 GB, free: 89.72 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003728/0.6333, allocations: 2.511 MB / 0.8429 GB, free: 87.21 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.609e-05/0.6334, allocations: 222.3 kB / 0.8431 GB, free: 86.99 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003617/0.637, allocations: 1.118 MB / 0.8442 GB, free: 86.14 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005208/0.6375, allocations: 0.6402 MB / 0.8448 GB, free: 85.5 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005062/0.6426, allocations: 4.043 MB / 0.8488 GB, free: 81.45 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003875/0.6464, allocations: 6.23 MB / 0.8548 GB, free: 73.72 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007786/0.6542, allocations: 9.568 MB / 0.8642 GB, free: 62.86 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.762e-05/0.6542, allocations: 28 kB / 0.8642 GB, free: 62.84 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.0108/0.665, allocations: 9.825 MB / 0.8738 GB, free: 53.03 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.6651, allocations: 48 kB / 0.8739 GB, free: 52.98 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006816/0.6719, allocations: 6.396 MB / 0.8801 GB, free: 46.55 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.838e-05/0.672, allocations: 156 kB / 0.8802 GB, free: 46.39 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003682/0.6756, allocations: 2.5 MB / 0.8827 GB, free: 43.89 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001008/0.6757, allocations: 211.3 kB / 0.8829 GB, free: 43.68 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004093/0.6798, allocations: 0.8979 MB / 0.8838 GB, free: 42.88 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005567/0.6804, allocations: 0.6398 MB / 0.8844 GB, free: 42.25 MB / 0.6512 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.002238/0.6826, allocations: 0.757 MB / 0.8851 GB, free: 41.48 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001218/0.6839, allocations: 0.8069 MB / 0.8859 GB, free: 40.67 MB / 0.6512 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.01033/0.6942, allocations: 11.88 MB / 0.8975 GB, free: 29.14 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.5167680429294705] Failed to read output from testmodel.py, exit status != 0: 0.840616206638515 0.8510374159999999 0.63639787 Calling exit ...