Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestCheckValveOpenLeakage.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.01438/0.01438, allocations: 1.774 MB / 18.12 MB, free: 4.504 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.001315/0.001315, allocations: 107.6 kB / 21.36 MB, free: 1.566 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.002112/0.002112, allocations: 211.3 kB / 24.75 MB, free: 3.285 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.568/1.568, allocations: 230.6 MB / 258.5 MB, free: 13.09 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.13/1.13, allocations: 130.6 MB / 445.6 MB, free: 14.87 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.TestCheckValveOpenLeakage,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestCheckValveOpenLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestCheckValveOpenLeakage,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestCheckValveOpenLeakage",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.3919/0.3919, allocations: 46.15 MB / 0.6545 GB, free: 30.29 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.5999, allocations: 89.04 MB / 0.7414 GB, free: 2.727 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestCheckValveOpenLeakage): time 0.02582/0.6258, allocations: 22.05 MB / 0.763 GB, free: 12.59 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.03305/0.6588, allocations: 18.47 MB / 0.781 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006222/0.665, allocations: 138.9 kB / 0.7812 GB, free: 9.922 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.007923/0.673, allocations: 2.128 MB / 0.7832 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01391/0.6869, allocations: 3.069 MB / 0.7862 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009006/0.6959, allocations: 3.449 MB / 0.7896 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01393/0.7098, allocations: 8.135 MB / 0.7975 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00523/0.715, allocations: 2.481 MB / 0.8 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007424/0.7225, allocations: 3.316 MB / 0.8032 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006684/0.7292, allocations: 3.436 MB / 0.8066 GB, free: 15.76 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.002208/0.7314, allocations: 0.5234 MB / 0.8071 GB, free: 15.24 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005921/0.7373, allocations: 1.923 MB / 0.809 GB, free: 13.32 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.002862/0.7401, allocations: 1.615 MB / 0.8105 GB, free: 11.7 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.005039/0.7452, allocations: 2.91 MB / 0.8134 GB, free: 8.77 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.01462/0.7598, allocations: 8.432 MB / 0.8216 GB, free: 312 kB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.7598, allocations: 3.938 kB / 0.8216 GB, free: 308 kB / 0.6232 GB Notification: Performance of FrontEnd: time 2.445e-06/0.7598, allocations: 4 kB / 0.8216 GB, free: 304 kB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0003197/0.7601, allocations: 0 / 0.8216 GB, free: 304 kB / 0.6232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.01653/0.7767, allocations: 6.216 MB / 0.8277 GB, free: 9.992 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.7767, allocations: 8.031 kB / 0.8277 GB, free: 9.984 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001589/0.7783, allocations: 0.5346 MB / 0.8282 GB, free: 9.438 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003558/0.7819, allocations: 0.7698 MB / 0.829 GB, free: 8.664 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01299/0.7949, allocations: 4.705 MB / 0.8336 GB, free: 3.906 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003621/0.7952, allocations: 242.3 kB / 0.8338 GB, free: 3.668 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001111/0.7963, allocations: 307.9 kB / 0.8341 GB, free: 3.367 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02102/0.8174, allocations: 7.365 MB / 0.8413 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001721/0.8175, allocations: 47.56 kB / 0.8413 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009822/0.8185, allocations: 160 kB / 0.8415 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001817/0.8187, allocations: 112 kB / 0.8416 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01853/0.8372, allocations: 5.528 MB / 0.847 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4646/1.302, allocations: 36.26 MB / 0.8824 GB, free: 86.53 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01266/1.314, allocations: 3.989 MB / 0.8863 GB, free: 86.09 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003007/1.317, allocations: 1.271 MB / 0.8875 GB, free: 85.93 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/1.319, allocations: 447.2 kB / 0.888 GB, free: 85.73 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.386e-05/1.319, allocations: 80.38 kB / 0.888 GB, free: 85.67 MB / 0.67 GB Notification: Performance of pre-optimization done (n=556): time 5.39e-06/1.319, allocations: 0 / 0.888 GB, free: 85.67 MB / 0.67 GB Notification: Performance of matching and sorting (n=556): time 0.02682/1.346, allocations: 7.933 MB / 0.8958 GB, free: 83.63 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001933/1.346, allocations: 0.7178 MB / 0.8965 GB, free: 82.78 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006568/1.352, allocations: 4.37 MB / 0.9007 GB, free: 81.29 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0009256/1.353, allocations: 63.95 kB / 0.9008 GB, free: 81.23 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001366/1.355, allocations: 2.258 MB / 0.903 GB, free: 79.65 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002102/1.357, allocations: 1.895 MB / 0.9049 GB, free: 78.39 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002357/1.359, allocations: 1.283 MB / 0.9061 GB, free: 77.91 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.457e-05/1.359, allocations: 306.2 kB / 0.9064 GB, free: 77.62 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004173/1.363, allocations: 1.875 MB / 0.9082 GB, free: 76.79 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005434/1.369, allocations: 4.033 MB / 0.9122 GB, free: 72.95 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0118/1.381, allocations: 6.467 MB / 0.9185 GB, free: 68.13 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.064e-05/1.381, allocations: 20.59 kB / 0.9185 GB, free: 68.13 MB / 0.67 GB Notification: Performance of matching and sorting (n=853) (initialization): time 0.01846/1.399, allocations: 6.646 MB / 0.925 GB, free: 65.17 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.796e-05/1.399, allocations: 33.91 kB / 0.925 GB, free: 65.17 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01099/1.41, allocations: 4.256 MB / 0.9292 GB, free: 63.21 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000295/1.411, allocations: 106 kB / 0.9293 GB, free: 63.21 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005481/1.416, allocations: 1.687 MB / 0.9309 GB, free: 62.86 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001778/1.416, allocations: 149.5 kB / 0.9311 GB, free: 62.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005159/1.421, allocations: 0.714 MB / 0.9318 GB, free: 62.51 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/1.423, allocations: 430.5 kB / 0.9322 GB, free: 62.39 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 853 * 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.004038/1.427, allocations: 1.225 MB / 0.9334 GB, free: 61.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00275/1.429, allocations: 0.5724 MB / 0.9339 GB, free: 61.36 MB / 0.67 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 758 equation(s) and 728 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:65:5-70:23:writable] Error: (valve1.fluidOut.VLE.d_l, valve1.fluidOut.VLE.h_l, valve1.fluidOut.VLE.p_l, valve1.fluidOut.VLE.s_l, valve1.fluidOut.VLE.T_l, _, valve1.fluidOut.VLE.d_v, valve1.fluidOut.VLE.h_v, valve1.fluidOut.VLE.p_v, valve1.fluidOut.VLE.s_v, valve1.fluidOut.VLE.T_v, _) = ($cse182, $cse183, $cse184, $cse185, $cse186, $cse187, $cse188, $cse189, $cse190, $cse191, $cse192, $cse193) has size 10 but 9 variables (valve4.fluidIn.q, valve4.fluidIn.cp, valve4.fluidIn.cv, valve4.fluidIn.beta, valve4.fluidIn.kappa, valve4.fluidIn.w, valve4.fluidIn.drhodh_pxi, valve4.fluidIn.drhodp_hxi, valve4.fluidIn.gamma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/1.443, allocations: 6.64 MB / 0.9404 GB, free: 58.16 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.314699469003244] Failed to read output from testmodel.py, exit status != 0: 1.4507761879940517 1.460689016 0.6983276709999999 Calling exit ...