Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves.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.008371/0.008371, allocations: 1.787 MB / 20.88 MB, free: 3.648 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.006398/0.006398, allocations: 78.58 kB / 24.59 MB, free: 7.215 MB / 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.001107/0.001107, allocations: 160.1 kB / 28.4 MB, free: 4.312 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.8969/0.8969, allocations: 177.2 MB / 209.3 MB, free: 2.531 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.6714/0.6714, allocations: 102.5 MB / 368.7 MB, free: 1 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,fileNamePrefix="ClaRa_dev_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValves",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,fileNamePrefix="ClaRa_dev_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValves",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.5378 GB, free: 39.07 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.288e-06/1.048e-05, allocations: 5.062 kB / 0.5378 GB, free: 39.07 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.TestThreeWayValves): time 0.1109/0.1109, allocations: 70.68 MB / 0.6069 GB, free: 4.492 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02228/0.1332, allocations: 17.62 MB / 0.6241 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002097/0.1353, allocations: 107.2 kB / 0.6242 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003165/0.1385, allocations: 1.674 MB / 0.6258 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003968/0.1424, allocations: 2.173 MB / 0.6279 GB, free: 14.83 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004154/0.1466, allocations: 2.72 MB / 0.6306 GB, free: 12.1 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.004986/0.1516, allocations: 5.814 MB / 0.6363 GB, free: 6.262 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.1531, allocations: 1.664 MB / 0.6379 GB, free: 4.562 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002654/0.1558, allocations: 3.176 MB / 0.641 GB, free: 1.379 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/0.1579, allocations: 1.976 MB / 0.6429 GB, free: 15.4 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.0003843/0.1583, allocations: 364 kB / 0.6433 GB, free: 15.04 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/0.1605, allocations: 1.337 MB / 0.6446 GB, free: 13.7 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.0007943/0.1613, allocations: 1.179 MB / 0.6457 GB, free: 12.52 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.1624, allocations: 1.286 MB / 0.647 GB, free: 11.23 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.005205/0.1676, allocations: 6.18 MB / 0.653 GB, free: 5.031 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1676, allocations: 0 / 0.653 GB, free: 5.031 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1676, allocations: 0 / 0.653 GB, free: 5.031 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 2.98e-05/0.1676, allocations: 3.938 kB / 0.653 GB, free: 5.027 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 845 * Number of variables: 845 Notification: Performance of Generate backend data structure: time 0.00521/0.1728, allocations: 4.607 MB / 0.6575 GB, free: 364 kB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1729, allocations: 8.031 kB / 0.6575 GB, free: 356 kB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003947/0.1733, allocations: 407.9 kB / 0.6579 GB, free: 15.93 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.1744, allocations: 0.5873 MB / 0.6585 GB, free: 15.34 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003811/0.1782, allocations: 3.641 MB / 0.662 GB, free: 11.64 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.028e-05/0.1783, allocations: 164.9 kB / 0.6622 GB, free: 11.47 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.1785, allocations: 216.4 kB / 0.6624 GB, free: 11.26 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006164/0.1846, allocations: 5.874 MB / 0.6681 GB, free: 4.363 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/0.1847, allocations: 31.88 kB / 0.6682 GB, free: 4.332 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.1848, allocations: 123.9 kB / 0.6683 GB, free: 4.211 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.887e-05/0.1849, allocations: 83.98 kB / 0.6684 GB, free: 4.129 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005394/0.1903, allocations: 3.467 MB / 0.6718 GB, free: 0.6484 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01217/0.2024, allocations: 25.23 MB / 0.6964 GB, free: 6.438 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004883/0.2073, allocations: 2.808 MB / 0.6991 GB, free: 3.492 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009109/0.2082, allocations: 0.8237 MB / 0.6999 GB, free: 2.621 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000174/0.2084, allocations: 117 kB / 0.7 GB, free: 2.508 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.2084, allocations: 67.91 kB / 0.7001 GB, free: 2.43 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=427): time 3.777e-06/0.2085, allocations: 3.938 kB / 0.7001 GB, free: 2.426 MB / 0.5887 GB Notification: Performance of matching and sorting (n=427): time 0.009726/0.2182, allocations: 5.553 MB / 0.7055 GB, free: 12.84 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000167/0.2183, allocations: 0.6098 MB / 0.7061 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002901/0.2212, allocations: 3.393 MB / 0.7094 GB, free: 8.676 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.2214, allocations: 53.7 kB / 0.7095 GB, free: 8.617 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007669/0.2221, allocations: 1.65 MB / 0.7111 GB, free: 6.953 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009323/0.2231, allocations: 1.44 MB / 0.7125 GB, free: 5.5 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008743/0.2239, allocations: 0.9635 MB / 0.7135 GB, free: 4.527 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 5.902e-05/0.224, allocations: 305.5 kB / 0.7138 GB, free: 4.227 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.2256, allocations: 1.295 MB / 0.715 GB, free: 2.922 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002652/0.2282, allocations: 3.182 MB / 0.7181 GB, free: 14.88 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006879/0.2351, allocations: 6.234 MB / 0.7242 GB, free: 7.812 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.77e-05/0.2351, allocations: 16 kB / 0.7242 GB, free: 7.797 MB / 0.6199 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.005587/0.2407, allocations: 4.809 MB / 0.7289 GB, free: 2.945 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.2408, allocations: 31.98 kB / 0.729 GB, free: 2.914 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003859/0.2446, allocations: 2.949 MB / 0.7318 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/0.2448, allocations: 121.3 kB / 0.7319 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/0.2467, allocations: 1.256 MB / 0.7332 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008646/0.2476, allocations: 1.431 MB / 0.7346 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.2492, allocations: 0.5349 MB / 0.7351 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003061/0.2495, allocations: 319.8 kB / 0.7354 GB, free: 12.13 MB / 0.6355 GB Warning: Assuming fixed start value for the following 2 variables: threeWayValveVLE_L2_1.h:VARIABLE(start = threeWayValveVLE_L2_1.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) type: Real threeWayValveVLE_L2_1.p:VARIABLE(min = 0.0 start = threeWayValveVLE_L2_1.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002761/0.2522, allocations: 1.977 MB / 0.7373 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002722/0.255, allocations: 3.17 MB / 0.7404 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006949/0.2619, allocations: 6.199 MB / 0.7465 GB, free: 15.08 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.681e-05/0.2619, allocations: 16 kB / 0.7465 GB, free: 15.07 MB / 0.6512 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.006007/0.2679, allocations: 4.793 MB / 0.7512 GB, free: 10.23 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.268, allocations: 28 kB / 0.7512 GB, free: 10.2 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003526/0.2715, allocations: 2.926 MB / 0.7541 GB, free: 7.223 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.2716, allocations: 125.7 kB / 0.7542 GB, free: 7.098 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/0.2736, allocations: 1.248 MB / 0.7554 GB, free: 5.848 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007515/0.2743, allocations: 1.428 MB / 0.7568 GB, free: 4.305 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.2758, allocations: 421.3 kB / 0.7572 GB, free: 3.891 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002927/0.2761, allocations: 335.8 kB / 0.7575 GB, free: 3.562 MB / 0.6512 GB Warning: Assuming fixed start value for the following 2 variables: threeWayValveVLE_L2_1.h:VARIABLE(start = threeWayValveVLE_L2_1.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) type: Real threeWayValveVLE_L2_1.p:VARIABLE(min = 0.0 start = threeWayValveVLE_L2_1.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * 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 (660): * Single equations (assignments): 659 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009985/0.2771, allocations: 491.8 kB / 0.758 GB, free: 3.074 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005902/0.2776, allocations: 433 kB / 0.7584 GB, free: 2.648 MB / 0.6512 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 525 equation(s) and 506 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:65:5-70:23:writable] Error: (pressureSink_ph1.fluidOut.VLE.d_l, pressureSink_ph1.fluidOut.VLE.h_l, pressureSink_ph1.fluidOut.VLE.p_l, pressureSink_ph1.fluidOut.VLE.s_l, pressureSink_ph1.fluidOut.VLE.T_l, _, pressureSink_ph1.fluidOut.VLE.d_v, pressureSink_ph1.fluidOut.VLE.h_v, pressureSink_ph1.fluidOut.VLE.p_v, pressureSink_ph1.fluidOut.VLE.s_v, pressureSink_ph1.fluidOut.VLE.T_v, _) = ($cse154, $cse155, $cse156, $cse157, $cse158, $cse159, $cse160, $cse161, $cse162, $cse163, $cse164, $cse165) has size 10 but 2 variables (massFlowSource_h.fluidOut.s, massFlowSource_h.eye_int[1].s) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.213/0.4906, allocations: 4.912 MB / 0.7632 GB, free: 173 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.1804691394791007]