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.01382/0.01382, 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.001527/0.001527, allocations: 106.9 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.001832/0.001832, allocations: 206.6 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.422/1.422, allocations: 230.6 MB / 262.1 MB, free: 5.996 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.037/1.037, allocations: 130.7 MB / 449.7 MB, free: 6.609 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.03345/0.03345, allocations: 20.79 MB / 0.6357 GB, free: 5.141 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1972, allocations: 81.91 MB / 0.7157 GB, free: 3.141 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.5194/0.7166, allocations: 43.71 MB / 0.7584 GB, free: 21.9 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02151/0.7381, allocations: 13.46 MB / 0.7716 GB, free: 12.24 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003983/0.7421, allocations: 55.41 kB / 0.7716 GB, free: 12.21 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005206/0.7473, allocations: 1.159 MB / 0.7727 GB, free: 11.66 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.005284/0.7526, allocations: 1.084 MB / 0.7738 GB, free: 10.99 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006405/0.759, allocations: 1.714 MB / 0.7755 GB, free: 10.12 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.007017/0.766, allocations: 2.863 MB / 0.7783 GB, free: 8.734 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001954/0.768, allocations: 0.7737 MB / 0.779 GB, free: 8.367 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002997/0.771, allocations: 1.19 MB / 0.7802 GB, free: 7.824 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002501/0.7735, allocations: 1.312 MB / 0.7815 GB, free: 7.227 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0004105/0.7739, allocations: 200.8 kB / 0.7817 GB, free: 7.223 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003552/0.7774, allocations: 1.33 MB / 0.783 GB, free: 6.832 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0007329/0.7782, allocations: 0.6618 MB / 0.7836 GB, free: 6.473 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.7795, allocations: 1.152 MB / 0.7847 GB, free: 5.684 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.006651/0.7861, allocations: 3.792 MB / 0.7884 GB, free: 3.445 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.7861, allocations: 7 kB / 0.7884 GB, free: 3.445 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7861, allocations: 0 / 0.7884 GB, free: 3.445 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 7.448e-05/0.7862, allocations: 0 / 0.7884 GB, free: 3.445 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.005431/0.7916, allocations: 2.856 MB / 0.7912 GB, free: 1.375 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.7917, allocations: 9.312 kB / 0.7912 GB, free: 1.375 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002168/0.7919, allocations: 214.1 kB / 0.7914 GB, free: 1.203 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.7929, allocations: 337.2 kB / 0.7918 GB, free: 1.02 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00537/0.7983, allocations: 2.538 MB / 0.7942 GB, free: 15.29 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.7984, allocations: 86.42 kB / 0.7943 GB, free: 15.25 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.7986, allocations: 104 kB / 0.7944 GB, free: 15.22 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006252/0.8048, allocations: 2.511 MB / 0.7969 GB, free: 13.2 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.534e-05/0.8049, allocations: 18.44 kB / 0.7969 GB, free: 13.19 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.805, allocations: 57.72 kB / 0.797 GB, free: 13.15 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.87e-05/0.8051, allocations: 41.09 kB / 0.797 GB, free: 13.15 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00506/0.8102, allocations: 1.693 MB / 0.7986 GB, free: 12.33 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/0.8236, allocations: 12.62 MB / 0.811 GB, free: 288 kB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00407/0.8277, allocations: 1.315 MB / 0.8123 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008101/0.8285, allocations: 409.2 kB / 0.8126 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00021/0.8287, allocations: 80.52 kB / 0.8127 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.8288, allocations: 49.84 kB / 0.8128 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=202): time 2.866e-06/0.8288, allocations: 0 / 0.8128 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=202): time 0.009333/0.8381, allocations: 2.844 MB / 0.8155 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002067/0.8383, allocations: 321.1 kB / 0.8159 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003626/0.8419, allocations: 2.03 MB / 0.8178 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002671/0.8422, allocations: 42.92 kB / 0.8179 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008199/0.843, allocations: 0.9322 MB / 0.8188 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007561/0.8438, allocations: 0.6892 MB / 0.8195 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007355/0.8445, allocations: 496 kB / 0.8199 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.8446, allocations: 301.1 kB / 0.8202 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.8459, allocations: 0.6277 MB / 0.8208 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/0.8478, allocations: 1.448 MB / 0.8222 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003419/0.8512, allocations: 2.282 MB / 0.8245 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-05/0.8512, allocations: 10.66 kB / 0.8245 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.004949/0.8562, allocations: 2.39 MB / 0.8268 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.8562, allocations: 20.88 kB / 0.8268 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002703/0.8589, allocations: 1.428 MB / 0.8282 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008358/0.8597, allocations: 155.4 kB / 0.8284 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.8614, allocations: 0.5914 MB / 0.829 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008638/0.8622, allocations: 0.7266 MB / 0.8297 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.8641, allocations: 261.9 kB / 0.8299 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002554/0.8643, allocations: 155.9 kB / 0.8301 GB, free: 12.15 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.001255/0.8656, allocations: 0.5854 MB / 0.8306 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007285/0.8663, allocations: 246.3 kB / 0.8309 GB, free: 11.32 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.00431/0.8706, allocations: 2.353 MB / 0.8332 GB, free: 9.117 MB / 0.6075 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.724031022997224] Failed to read output from testmodel.py, exit status != 0: 1.0807372290000785 1.101871523 0.31149568899999996 Calling exit ...