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.005974/0.005974, allocations: 1.446 MB / 20.54 MB, free: 4.008 MB / 18.57 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.0009136/0.0009136, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 18.57 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.001118/0.001118, allocations: 163.6 kB / 27.85 MB, free: 5.5 MB / 18.57 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 0.8452/0.8452, allocations: 177.2 MB / 208.6 MB, free: 2.953 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7028/0.7028, allocations: 102.5 MB / 367.9 MB, free: 1.488 MB / 330.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.5362 GB, free: 40.14 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.374e-05, allocations: 5.094 kB / 0.5362 GB, free: 40.14 MB / 490.8 MB 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.1024/0.1024, allocations: 56.27 MB / 0.5911 GB, free: 4.285 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.1134, allocations: 12.57 MB / 0.6034 GB, free: 7.668 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007002/0.1141, allocations: 51.62 kB / 0.6035 GB, free: 7.617 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.1161, allocations: 1.123 MB / 0.6046 GB, free: 6.488 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.1174, allocations: 1.133 MB / 0.6057 GB, free: 5.348 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.1195, allocations: 1.741 MB / 0.6074 GB, free: 3.602 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.001768/0.1213, allocations: 2.943 MB / 0.6102 GB, free: 0.6484 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006446/0.122, allocations: 0.8513 MB / 0.6111 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009955/0.1229, allocations: 1.613 MB / 0.6127 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008964/0.1238, allocations: 1.057 MB / 0.6137 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.124, allocations: 200 kB / 0.6139 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.1252, allocations: 1.029 MB / 0.6149 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003642/0.1256, allocations: 0.6811 MB / 0.6155 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004423/0.126, allocations: 0.6894 MB / 0.6162 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002412/0.1284, allocations: 3.68 MB / 0.6198 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1284, allocations: 0 / 0.6198 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1284, allocations: 0 / 0.6198 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.1284, allocations: 0 / 0.6198 GB, free: 6.805 MB / 0.5105 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.002636/0.1311, allocations: 2.826 MB / 0.6226 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1311, allocations: 12.03 kB / 0.6226 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/0.1313, allocations: 208.4 kB / 0.6228 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000502/0.1318, allocations: 331 kB / 0.6231 GB, free: 3.379 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002712/0.1345, allocations: 2.555 MB / 0.6256 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.811e-05/0.1346, allocations: 86.58 kB / 0.6257 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.294e-05/0.1347, allocations: 100.4 kB / 0.6258 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003026/0.1377, allocations: 2.815 MB / 0.6285 GB, free: 13.31 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.1377, allocations: 20 kB / 0.6285 GB, free: 13.29 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.766e-05/0.1378, allocations: 59.94 kB / 0.6286 GB, free: 13.23 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.1378, allocations: 43.94 kB / 0.6286 GB, free: 13.19 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/0.1402, allocations: 1.683 MB / 0.6303 GB, free: 11.5 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005931/0.1462, allocations: 12.06 MB / 0.6421 GB, free: 14.96 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/0.1484, allocations: 1.327 MB / 0.6434 GB, free: 13.56 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004419/0.1488, allocations: 406 kB / 0.6437 GB, free: 13.14 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.1489, allocations: 72.55 kB / 0.6438 GB, free: 13.07 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.149, allocations: 51.16 kB / 0.6439 GB, free: 13 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=202): time 3.006e-06/0.149, allocations: 0 / 0.6439 GB, free: 13 MB / 0.5418 GB Notification: Performance of matching and sorting (n=202): time 0.004971/0.1539, allocations: 2.84 MB / 0.6466 GB, free: 10.16 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.154, allocations: 325.1 kB / 0.6469 GB, free: 9.766 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/0.1558, allocations: 2.068 MB / 0.649 GB, free: 7.668 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 6.031e-05/0.1559, allocations: 37.7 kB / 0.649 GB, free: 7.625 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004594/0.1564, allocations: 0.9218 MB / 0.6499 GB, free: 6.691 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003092/0.1567, allocations: 0.6814 MB / 0.6506 GB, free: 6.004 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000407/0.1571, allocations: 488.2 kB / 0.651 GB, free: 5.523 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.1571, allocations: 305.1 kB / 0.6513 GB, free: 5.223 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007368/0.1579, allocations: 0.6213 MB / 0.6519 GB, free: 4.598 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.159, allocations: 1.531 MB / 0.6534 GB, free: 2.656 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002115/0.1611, allocations: 2.285 MB / 0.6557 GB, free: 15.99 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.1611, allocations: 8 kB / 0.6557 GB, free: 15.98 MB / 0.5574 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.00261/0.1638, allocations: 2.389 MB / 0.658 GB, free: 13.59 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.1638, allocations: 24.2 kB / 0.658 GB, free: 13.57 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001663/0.1654, allocations: 1.426 MB / 0.6594 GB, free: 12.14 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004511/0.1659, allocations: 157.1 kB / 0.6596 GB, free: 11.98 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008986/0.1668, allocations: 0.5811 MB / 0.6601 GB, free: 11.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004987/0.1673, allocations: 0.7356 MB / 0.6608 GB, free: 10.64 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006862/0.168, allocations: 269.9 kB / 0.6611 GB, free: 10.37 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.1681, allocations: 155.9 kB / 0.6613 GB, free: 10.22 MB / 0.5574 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.0006795/0.1688, allocations: 0.5828 MB / 0.6618 GB, free: 9.625 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002876/0.1691, allocations: 247 kB / 0.6621 GB, free: 9.383 MB / 0.5574 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.002403/0.1715, allocations: 2.382 MB / 0.6644 GB, free: 6.973 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.2099388036876917] Failed to read output from testmodel.py, exit status != 0: 0.33447012212127447 0.596428288 0.21361992000000002 Calling exit ...