Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValve.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.01029/0.01029, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.001455/0.001455, allocations: 104.3 kB / 24.18 MB, free: 2.18 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.002216/0.002216, allocations: 215.9 kB / 27.9 MB, free: 3.504 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.473/1.473, allocations: 230.6 MB / 262.1 MB, free: 5.848 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.052/1.052, allocations: 130.7 MB / 449.7 MB, free: 6.434 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.TestThreeWayValve,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValve,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValve",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.06592/0.06592, allocations: 20.99 MB / 0.6358 GB, free: 4.754 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.2462, allocations: 81.9 MB / 0.7158 GB, free: 2.742 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.TestThreeWayValve): time 0.5499/0.7961, allocations: 42.64 MB / 0.7575 GB, free: 22.6 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.01938/0.8155, allocations: 12.81 MB / 0.77 GB, free: 13.64 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/0.8183, allocations: 55.91 kB / 0.77 GB, free: 13.61 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.004113/0.8225, allocations: 1.107 MB / 0.7711 GB, free: 13.11 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.004277/0.8267, allocations: 1.091 MB / 0.7722 GB, free: 12.43 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005106/0.8318, allocations: 1.715 MB / 0.7739 GB, free: 11.56 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005527/0.8374, allocations: 2.863 MB / 0.7766 GB, free: 10.18 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002069/0.8394, allocations: 0.8542 MB / 0.7775 GB, free: 9.77 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002745/0.8422, allocations: 1.199 MB / 0.7787 GB, free: 9.223 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002858/0.845, allocations: 1.226 MB / 0.7799 GB, free: 8.699 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0009478/0.846, allocations: 197.7 kB / 0.78 GB, free: 8.699 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003793/0.8498, allocations: 1.015 MB / 0.781 GB, free: 8.43 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001271/0.851, allocations: 0.6681 MB / 0.7817 GB, free: 8.066 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.002343/0.8534, allocations: 0.8726 MB / 0.7825 GB, free: 7.559 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.006988/0.8604, allocations: 3.74 MB / 0.7862 GB, free: 5.395 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.8604, allocations: 3.984 kB / 0.7862 GB, free: 5.391 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8604, allocations: 0 / 0.7862 GB, free: 5.391 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 8.107e-05/0.8605, allocations: 1.094 kB / 0.7862 GB, free: 5.391 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.005615/0.8661, allocations: 2.854 MB / 0.789 GB, free: 3.32 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.8661, allocations: 10.12 kB / 0.789 GB, free: 3.32 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002322/0.8664, allocations: 216.4 kB / 0.7892 GB, free: 3.148 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.8674, allocations: 334.8 kB / 0.7895 GB, free: 2.965 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005261/0.8727, allocations: 2.544 MB / 0.792 GB, free: 1.238 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.307e-05/0.8728, allocations: 86.02 kB / 0.7921 GB, free: 1.199 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.8729, allocations: 102.3 kB / 0.7922 GB, free: 1.168 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005356/0.8783, allocations: 2.814 MB / 0.7949 GB, free: 14.77 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.693e-05/0.8783, allocations: 19.38 kB / 0.7949 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.8784, allocations: 57.53 kB / 0.795 GB, free: 14.72 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-05/0.8785, allocations: 41.28 kB / 0.795 GB, free: 14.72 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004605/0.8831, allocations: 1.684 MB / 0.7967 GB, free: 13.9 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01234/0.8954, allocations: 12.11 MB / 0.8085 GB, free: 2.391 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004186/0.8996, allocations: 1.311 MB / 0.8098 GB, free: 1.18 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008697/0.9005, allocations: 407.2 kB / 0.8102 GB, free: 0.7539 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/0.9007, allocations: 75.41 kB / 0.8103 GB, free: 0.6836 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.859e-05/0.9008, allocations: 55.16 kB / 0.8103 GB, free: 0.6211 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=202): time 3.977e-06/0.9008, allocations: 0 / 0.8103 GB, free: 0.6211 MB / 0.5763 GB Notification: Performance of matching and sorting (n=202): time 0.009559/0.9103, allocations: 2.847 MB / 0.8131 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001883/0.9105, allocations: 317.1 kB / 0.8134 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003504/0.914, allocations: 2.08 MB / 0.8154 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002254/0.9142, allocations: 33.7 kB / 0.8154 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008353/0.9151, allocations: 0.9263 MB / 0.8164 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007995/0.9159, allocations: 0.6931 MB / 0.817 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007596/0.9166, allocations: 492 kB / 0.8175 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.9168, allocations: 303.8 kB / 0.8178 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.918, allocations: 0.6213 MB / 0.8184 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/0.9201, allocations: 1.527 MB / 0.8199 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003627/0.9237, allocations: 2.293 MB / 0.8221 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/0.9238, allocations: 8 kB / 0.8221 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.005041/0.9288, allocations: 2.389 MB / 0.8245 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.9288, allocations: 19.94 kB / 0.8245 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002867/0.9317, allocations: 1.428 MB / 0.8259 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008445/0.9325, allocations: 155.4 kB / 0.826 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.9342, allocations: 0.5889 MB / 0.8266 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009048/0.9352, allocations: 0.7227 MB / 0.8273 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.937, allocations: 266 kB / 0.8276 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002742/0.9373, allocations: 161.6 kB / 0.8277 GB, free: 13.92 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 122 * 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 (308): * Single equations (assignments): 307 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001357/0.9386, allocations: 0.5853 MB / 0.8283 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007951/0.9394, allocations: 246.3 kB / 0.8285 GB, free: 13.09 MB / 0.6075 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 253 equation(s) and 243 variable(s). Error: ($cse112, $cse113, $cse114, $cse115, $cse116, $cse117, $cse118, $cse119, $cse120, $cse121) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.additionalProperties_phxi(pressureSink_ph.p_const, threeWayValve_VLE_L1_1.summary.outlet1.h, {}, threeWayValve_VLE_L1_1.fluidOut1.vleFluidPointer) has size 10 but 2 variables (pressureSink_ph.fluidOut.s, pressureSink_ph.eye.s) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004656/0.9441, allocations: 2.381 MB / 0.8308 GB, free: 10.85 MB / 0.6075 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.844717138912529] Failed to read output from testmodel.py, exit status != 0: 1.1455462467856705 1.161117994 0.29739413600000003 Calling exit ...