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.0179/0.0179, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001766/0.001766, allocations: 99.84 kB / 24.18 MB, free: 2.438 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.002572/0.002572, allocations: 213.1 kB / 27.9 MB, free: 3.742 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.513/1.513, allocations: 230.6 MB / 262.1 MB, free: 5.832 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.071/1.071, allocations: 130.7 MB / 449.7 MB, free: 6.395 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.07003/0.07003, allocations: 20.98 MB / 0.6358 GB, free: 4.738 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.2438, allocations: 81.92 MB / 0.7158 GB, free: 2.723 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.5553/0.7991, allocations: 42.64 MB / 0.7575 GB, free: 22.59 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.01952/0.8186, allocations: 12.81 MB / 0.77 GB, free: 13.62 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002834/0.8214, allocations: 55.66 kB / 0.77 GB, free: 13.6 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.00405/0.8255, allocations: 1.113 MB / 0.7711 GB, free: 13.09 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.004283/0.8298, allocations: 1.082 MB / 0.7722 GB, free: 12.42 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005198/0.835, allocations: 1.714 MB / 0.7739 GB, free: 11.55 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005361/0.8403, allocations: 2.869 MB / 0.7767 GB, free: 10.17 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001902/0.8422, allocations: 0.8517 MB / 0.7775 GB, free: 9.758 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002811/0.845, allocations: 1.196 MB / 0.7787 GB, free: 9.215 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002662/0.8477, allocations: 1.23 MB / 0.7799 GB, free: 8.688 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0005315/0.8482, allocations: 198 kB / 0.78 GB, free: 8.688 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00344/0.8517, allocations: 1.014 MB / 0.781 GB, free: 8.418 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.000748/0.8524, allocations: 0.6682 MB / 0.7817 GB, free: 8.055 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.8537, allocations: 0.8824 MB / 0.7825 GB, free: 7.539 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.006916/0.8607, allocations: 3.733 MB / 0.7862 GB, free: 5.391 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8607, allocations: 0 / 0.7862 GB, free: 5.391 MB / 0.5607 GB Notification: Performance of FrontEnd: time 3.106e-06/0.8607, allocations: 1.156 kB / 0.7862 GB, free: 5.391 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 9.181e-05/0.8608, allocations: 0 / 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.006013/0.8668, allocations: 2.858 MB / 0.789 GB, free: 3.316 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.8668, allocations: 9.625 kB / 0.789 GB, free: 3.316 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002515/0.8671, allocations: 206.1 kB / 0.7892 GB, free: 3.152 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.8682, allocations: 340.6 kB / 0.7895 GB, free: 2.965 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005058/0.8732, allocations: 2.54 MB / 0.792 GB, free: 1.238 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/0.8733, allocations: 85.58 kB / 0.7921 GB, free: 1.199 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.8735, allocations: 107 kB / 0.7922 GB, free: 1.164 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005287/0.8788, allocations: 2.813 MB / 0.7949 GB, free: 14.77 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.602e-05/0.8788, allocations: 18.69 kB / 0.7949 GB, free: 14.75 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.8789, allocations: 58 kB / 0.795 GB, free: 14.72 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.793e-05/0.879, allocations: 47.06 kB / 0.795 GB, free: 14.71 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004547/0.8835, allocations: 1.682 MB / 0.7967 GB, free: 13.89 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01346/0.897, allocations: 12.1 MB / 0.8085 GB, free: 2.395 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004399/0.9014, allocations: 1.31 MB / 0.8098 GB, free: 1.172 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009629/0.9024, allocations: 417.2 kB / 0.8102 GB, free: 0.7383 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/0.9026, allocations: 68.56 kB / 0.8103 GB, free: 0.6719 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.64e-05/0.9026, allocations: 57.89 kB / 0.8103 GB, free: 0.6094 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=202): time 4.298e-06/0.9026, allocations: 0 / 0.8103 GB, free: 0.6094 MB / 0.5763 GB Notification: Performance of matching and sorting (n=202): time 0.01016/0.9128, allocations: 2.838 MB / 0.8131 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002339/0.913, allocations: 327.8 kB / 0.8134 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004456/0.9175, allocations: 2.069 MB / 0.8154 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002549/0.9177, allocations: 41.7 kB / 0.8155 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000985/0.9187, allocations: 0.9257 MB / 0.8164 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009466/0.9197, allocations: 0.6931 MB / 0.817 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/0.9207, allocations: 492 kB / 0.8175 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.9208, allocations: 301.1 kB / 0.8178 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.9222, allocations: 0.6277 MB / 0.8184 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002272/0.9245, allocations: 1.531 MB / 0.8199 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003894/0.9284, allocations: 2.284 MB / 0.8221 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.08e-05/0.9284, allocations: 10.62 kB / 0.8221 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.005545/0.934, allocations: 2.39 MB / 0.8245 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.482e-05/0.934, allocations: 27.92 kB / 0.8245 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003014/0.937, allocations: 1.423 MB / 0.8259 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008514/0.9379, allocations: 153.4 kB / 0.826 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/0.9397, allocations: 0.5927 MB / 0.8266 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009431/0.9406, allocations: 0.7149 MB / 0.8273 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/0.9427, allocations: 266 kB / 0.8276 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003508/0.943, allocations: 155.9 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.001483/0.9445, allocations: 0.5866 MB / 0.8283 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/0.9455, allocations: 250.2 kB / 0.8285 GB, free: 13.07 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.00501/0.9505, allocations: 2.385 MB / 0.8309 GB, free: 10.84 MB / 0.6075 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.964715366251767] Failed to read output from testmodel.py, exit status != 0: 1.1452549528330564 1.162947254 0.298754336 Calling exit ...