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.01531/0.01531, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001341/0.001341, allocations: 113.7 kB / 24.19 MB, free: 2.691 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.00181/0.00181, allocations: 208.5 kB / 27.92 MB, free: 4.027 MB / 19.63 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.562/1.562, allocations: 230.6 MB / 262.1 MB, free: 6 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.112/1.112, allocations: 130.7 MB / 449.7 MB, free: 6.613 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). 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.03731/0.03731, allocations: 20.79 MB / 0.6357 GB, free: 5.145 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.228, allocations: 81.91 MB / 0.7157 GB, free: 3.137 MB / 0.5294 GB 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.TestCheckValveOpenLeakage): time 0.5732/0.8013, allocations: 55.01 MB / 0.7695 GB, free: 13.71 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03169/0.833, allocations: 18.68 MB / 0.7877 GB, free: 320 kB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00834/0.8413, allocations: 132.1 kB / 0.7878 GB, free: 256 kB / 0.5607 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.008166/0.8495, allocations: 2.131 MB / 0.7899 GB, free: 15.2 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01362/0.8631, allocations: 3.137 MB / 0.793 GB, free: 13.26 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01154/0.8746, allocations: 3.503 MB / 0.7964 GB, free: 10.66 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01819/0.8928, allocations: 8.138 MB / 0.8043 GB, free: 5.848 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006483/0.8993, allocations: 2.421 MB / 0.8067 GB, free: 4.078 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008825/0.9081, allocations: 3.321 MB / 0.8099 GB, free: 2.16 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008204/0.9163, allocations: 3.451 MB / 0.8133 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002864/0.9192, allocations: 0.5195 MB / 0.8138 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007535/0.9267, allocations: 1.992 MB / 0.8158 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00358/0.9303, allocations: 1.607 MB / 0.8173 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007462/0.9378, allocations: 2.91 MB / 0.8202 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01912/0.9569, allocations: 8.448 MB / 0.8284 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.9569, allocations: 0 / 0.8284 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9569, allocations: 0 / 0.8284 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003426/0.9572, allocations: 0 / 0.8284 GB, free: 15.62 MB / 0.6075 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.01797/0.9752, allocations: 6.143 MB / 0.8344 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.9753, allocations: 12.03 kB / 0.8344 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001688/0.977, allocations: 0.5346 MB / 0.835 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003433/0.9804, allocations: 0.7776 MB / 0.8357 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/0.9922, allocations: 4.482 MB / 0.8401 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003742/0.9926, allocations: 245 kB / 0.8403 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001202/0.9938, allocations: 304 kB / 0.8406 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02152/1.015, allocations: 7.363 MB / 0.8478 GB, free: 10.7 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002219/1.016, allocations: 47.56 kB / 0.8479 GB, free: 10.65 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001127/1.017, allocations: 156 kB / 0.848 GB, free: 10.5 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002134/1.017, allocations: 114.6 kB / 0.8481 GB, free: 10.39 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01959/1.036, allocations: 5.522 MB / 0.8535 GB, free: 4.875 MB / 0.6232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04927/1.086, allocations: 36.18 MB / 0.8888 GB, free: 15.45 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01427/1.1, allocations: 3.986 MB / 0.8927 GB, free: 11.34 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003775/1.104, allocations: 1.28 MB / 0.894 GB, free: 10.01 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/1.105, allocations: 297.5 kB / 0.8943 GB, free: 9.727 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/1.105, allocations: 82.2 kB / 0.8943 GB, free: 9.641 MB / 0.67 GB Notification: Performance of pre-optimization done (n=556): time 5.45e-06/1.105, allocations: 1.219 kB / 0.8943 GB, free: 9.641 MB / 0.67 GB Notification: Performance of matching and sorting (n=556): time 0.0302/1.135, allocations: 7.935 MB / 0.9021 GB, free: 1.719 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005076/1.136, allocations: 0.7174 MB / 0.9028 GB, free: 0.8398 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01121/1.147, allocations: 4.369 MB / 0.9071 GB, free: 12.48 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.00103/1.148, allocations: 61.7 kB / 0.9071 GB, free: 12.42 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.002834/1.151, allocations: 2.256 MB / 0.9093 GB, free: 10.14 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.003127/1.154, allocations: 1.897 MB / 0.9112 GB, free: 8.23 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004667/1.159, allocations: 1.283 MB / 0.9124 GB, free: 6.938 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.159, allocations: 301.1 kB / 0.9127 GB, free: 6.641 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005508/1.165, allocations: 1.883 MB / 0.9146 GB, free: 4.754 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007847/1.172, allocations: 4.033 MB / 0.9185 GB, free: 15.78 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01331/1.186, allocations: 6.475 MB / 0.9248 GB, free: 8.5 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.016e-05/1.186, allocations: 20 kB / 0.9248 GB, free: 8.48 MB / 0.7013 GB Notification: Performance of matching and sorting (n=853) (initialization): time 0.01922/1.205, allocations: 6.634 MB / 0.9313 GB, free: 1.883 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 9.645e-05/1.205, allocations: 36.94 kB / 0.9314 GB, free: 1.848 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0123/1.217, allocations: 4.256 MB / 0.9355 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002686/1.218, allocations: 114.6 kB / 0.9356 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006446/1.224, allocations: 1.673 MB / 0.9373 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002513/1.224, allocations: 147.5 kB / 0.9374 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005558/1.23, allocations: 0.716 MB / 0.9381 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001666/1.232, allocations: 439.7 kB / 0.9385 GB, free: 10.51 MB / 0.7169 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.004574/1.236, allocations: 1.224 MB / 0.9397 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002879/1.239, allocations: 0.5547 MB / 0.9402 GB, free: 8.715 MB / 0.7169 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.01626/1.255, allocations: 6.661 MB / 0.9468 GB, free: 2.324 MB / 0.7169 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.466145571088418] Failed to read output from testmodel.py, exit status != 0: 1.4584990260191262 1.476168144 0.51551913 Calling exit ...