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.0123/0.0123, allocations: 1.758 MB / 20.59 MB, free: 1.277 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.001414/0.001414, allocations: 107.8 kB / 24.19 MB, free: 2.652 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.001721/0.001721, allocations: 210.4 kB / 27.92 MB, free: 4 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.44/1.44, allocations: 230.6 MB / 262.1 MB, free: 6.211 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.036/1.036, allocations: 130.7 MB / 449.7 MB, free: 6.566 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.0311/0.0311, allocations: 20.78 MB / 0.6358 GB, free: 5.16 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.2046, allocations: 81.91 MB / 0.7157 GB, free: 3.152 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.5247/0.7294, allocations: 55.01 MB / 0.7695 GB, free: 13.71 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03353/0.7629, allocations: 18.68 MB / 0.7877 GB, free: 328 kB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007202/0.7701, allocations: 130.7 kB / 0.7878 GB, free: 264 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.007219/0.7773, allocations: 2.121 MB / 0.7899 GB, free: 15.22 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01244/0.7898, allocations: 3.142 MB / 0.793 GB, free: 13.28 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01039/0.8002, allocations: 3.504 MB / 0.7964 GB, free: 10.68 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01552/0.8157, allocations: 8.139 MB / 0.8043 GB, free: 5.867 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005129/0.8208, allocations: 2.419 MB / 0.8067 GB, free: 4.098 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007977/0.8288, allocations: 3.318 MB / 0.8099 GB, free: 2.18 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00754/0.8363, allocations: 3.46 MB / 0.8133 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002179/0.8385, allocations: 0.5195 MB / 0.8138 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006515/0.845, allocations: 1.985 MB / 0.8158 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002743/0.8478, allocations: 1.607 MB / 0.8173 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00714/0.8549, allocations: 2.909 MB / 0.8202 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01861/0.8735, allocations: 8.452 MB / 0.8284 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.8735, allocations: 0 / 0.8284 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8735, allocations: 1.594 kB / 0.8284 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002916/0.8738, allocations: 0 / 0.8284 GB, free: 15.66 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.0133/0.8871, allocations: 6.144 MB / 0.8344 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.8872, allocations: 12.03 kB / 0.8344 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008295/0.888, allocations: 0.5372 MB / 0.835 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/0.8903, allocations: 0.7737 MB / 0.8357 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01018/0.9005, allocations: 4.479 MB / 0.8401 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002502/0.9007, allocations: 242.3 kB / 0.8403 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005821/0.9013, allocations: 308 kB / 0.8406 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01875/0.92, allocations: 7.366 MB / 0.8478 GB, free: 10.73 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.9201, allocations: 47.56 kB / 0.8479 GB, free: 10.69 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004274/0.9206, allocations: 156 kB / 0.848 GB, free: 10.54 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.9207, allocations: 108 kB / 0.8481 GB, free: 10.43 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/0.9375, allocations: 5.528 MB / 0.8535 GB, free: 4.914 MB / 0.6232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04187/0.9794, allocations: 36.18 MB / 0.8888 GB, free: 15.49 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01337/0.9927, allocations: 3.987 MB / 0.8927 GB, free: 11.38 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003418/0.9962, allocations: 1.276 MB / 0.894 GB, free: 10.05 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/0.9974, allocations: 297.5 kB / 0.8943 GB, free: 9.773 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.017e-05/0.9975, allocations: 82.12 kB / 0.8943 GB, free: 9.688 MB / 0.67 GB Notification: Performance of pre-optimization done (n=556): time 6.231e-06/0.9975, allocations: 0 / 0.8943 GB, free: 9.688 MB / 0.67 GB Notification: Performance of matching and sorting (n=556): time 0.03978/1.037, allocations: 7.936 MB / 0.9021 GB, free: 1.766 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005009/1.038, allocations: 0.7173 MB / 0.9028 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009859/1.048, allocations: 4.369 MB / 0.9071 GB, free: 12.53 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.001142/1.049, allocations: 61.7 kB / 0.9071 GB, free: 12.46 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.002786/1.052, allocations: 2.256 MB / 0.9093 GB, free: 10.19 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.003427/1.055, allocations: 1.901 MB / 0.9112 GB, free: 8.273 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005129/1.06, allocations: 1.283 MB / 0.9124 GB, free: 6.98 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001676/1.06, allocations: 301.1 kB / 0.9127 GB, free: 6.684 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006695/1.067, allocations: 1.883 MB / 0.9146 GB, free: 4.797 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009383/1.076, allocations: 4.032 MB / 0.9185 GB, free: 15.82 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01613/1.092, allocations: 6.478 MB / 0.9248 GB, free: 8.539 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.9e-05/1.093, allocations: 20 kB / 0.9248 GB, free: 8.52 MB / 0.7013 GB Notification: Performance of matching and sorting (n=853) (initialization): time 0.01681/1.109, allocations: 6.633 MB / 0.9313 GB, free: 1.926 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 8.828e-05/1.109, allocations: 36 kB / 0.9314 GB, free: 1.891 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01006/1.12, allocations: 4.253 MB / 0.9355 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/1.12, allocations: 107.9 kB / 0.9356 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005658/1.125, allocations: 1.683 MB / 0.9373 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002248/1.126, allocations: 147.5 kB / 0.9374 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004794/1.13, allocations: 0.72 MB / 0.9381 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/1.132, allocations: 431.7 kB / 0.9385 GB, free: 10.55 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.003838/1.135, allocations: 1.226 MB / 0.9397 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002431/1.138, allocations: 0.5623 MB / 0.9403 GB, free: 8.75 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.01556/1.153, allocations: 6.657 MB / 0.9468 GB, free: 2.352 MB / 0.7169 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.079735308998352] Failed to read output from testmodel.py, exit status != 0: 1.3537366970012954 1.371493679 0.49421106400000003 Calling exit ...