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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.006181/0.006181, allocations: 1.358 MB / 20.45 MB, free: 4.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.07554/0.07554, allocations: 18.24 MB / 42.2 MB, free: 5.188 MB / 33.03 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.001106/0.001106, allocations: 80.2 kB / 53.06 MB, free: 6.52 MB / 44.04 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.001322/0.001322, allocations: 156.5 kB / 64.03 MB, free: 10.21 MB / 58.72 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.9535/0.9535, allocations: 177.2 MB / 252.1 MB, free: 11.78 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.4882/0.4882, allocations: 102.6 MB / 418.7 MB, free: 5.301 MB / 362.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/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 2.094e-06/2.094e-06, allocations: 0 / 0.603 GB, free: 376 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.896e-05/2.105e-05, allocations: 5.094 kB / 0.603 GB, free: 372 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves): time 0.02638/0.0264, allocations: 15.34 MB / 0.618 GB, free: 0.957 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02507/0.05147, allocations: 17.61 MB / 0.6352 GB, free: 15.28 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00234/0.05381, allocations: 103.2 kB / 0.6353 GB, free: 15.18 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.002814/0.05662, allocations: 1.677 MB / 0.6369 GB, free: 13.49 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.003606/0.06023, allocations: 2.173 MB / 0.6391 GB, free: 11.3 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004075/0.06431, allocations: 2.708 MB / 0.6417 GB, free: 8.59 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.005262/0.06957, allocations: 5.821 MB / 0.6474 GB, free: 2.75 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/0.07115, allocations: 1.661 MB / 0.649 GB, free: 1.047 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002834/0.07398, allocations: 3.18 MB / 0.6521 GB, free: 13.86 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.07566, allocations: 1.97 MB / 0.654 GB, free: 11.89 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.0003487/0.07601, allocations: 360 kB / 0.6544 GB, free: 11.54 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.07807, allocations: 1.345 MB / 0.6557 GB, free: 10.19 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.000657/0.07873, allocations: 1.183 MB / 0.6568 GB, free: 9 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.0009654/0.07969, allocations: 1.289 MB / 0.6581 GB, free: 7.707 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.004604/0.0843, allocations: 6.176 MB / 0.6641 GB, free: 1.512 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.0843, allocations: 0 / 0.6641 GB, free: 1.512 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.724e-06/0.0843, allocations: 0 / 0.6641 GB, free: 1.512 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 4.899e-05/0.08435, allocations: 0 / 0.6641 GB, free: 1.512 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.2484/0.3328, allocations: 4.598 MB / 0.6686 GB, free: 68.36 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3328, allocations: 13.45 kB / 0.6686 GB, free: 68.36 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003293/0.3332, allocations: 412.6 kB / 0.669 GB, free: 68.12 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009809/0.3342, allocations: 0.5853 MB / 0.6696 GB, free: 67.86 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004005/0.3382, allocations: 3.644 MB / 0.6732 GB, free: 66.26 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.3383, allocations: 167.1 kB / 0.6733 GB, free: 66.18 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/0.3385, allocations: 216.7 kB / 0.6735 GB, free: 66.11 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00569/0.3442, allocations: 5.865 MB / 0.6793 GB, free: 61.88 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.443e-05/0.3442, allocations: 41.84 kB / 0.6793 GB, free: 61.86 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.3444, allocations: 115.1 kB / 0.6794 GB, free: 61.79 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.724e-05/0.3444, allocations: 85.97 kB / 0.6795 GB, free: 61.78 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004964/0.3494, allocations: 3.468 MB / 0.6829 GB, free: 60.7 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00943/0.3588, allocations: 25.23 MB / 0.7075 GB, free: 37.91 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005083/0.3639, allocations: 2.806 MB / 0.7103 GB, free: 36.79 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008803/0.3648, allocations: 0.8233 MB / 0.7111 GB, free: 36.34 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.3649, allocations: 111.4 kB / 0.7112 GB, free: 36.31 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.365, allocations: 75.16 kB / 0.7112 GB, free: 36.25 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=427): time 3.767e-06/0.365, allocations: 0 / 0.7112 GB, free: 36.25 MB / 0.5418 GB Notification: Performance of matching and sorting (n=427): time 0.009531/0.3745, allocations: 5.553 MB / 0.7167 GB, free: 33.73 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.3746, allocations: 0.6109 MB / 0.7173 GB, free: 33 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003368/0.378, allocations: 3.401 MB / 0.7206 GB, free: 31.14 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.3781, allocations: 52.58 kB / 0.7206 GB, free: 31.09 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.000638/0.3788, allocations: 1.652 MB / 0.7222 GB, free: 29.62 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.000579/0.3793, allocations: 1.439 MB / 0.7237 GB, free: 28.36 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008392/0.3802, allocations: 0.9564 MB / 0.7246 GB, free: 27.81 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 2.806e-05/0.3802, allocations: 306.7 kB / 0.7249 GB, free: 27.51 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.3817, allocations: 1.297 MB / 0.7261 GB, free: 26.81 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001974/0.3837, allocations: 3.179 MB / 0.7292 GB, free: 23.59 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005603/0.3893, allocations: 6.221 MB / 0.7353 GB, free: 17.43 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/0.3893, allocations: 19.98 kB / 0.7353 GB, free: 17.41 MB / 0.5418 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.004753/0.394, allocations: 4.809 MB / 0.74 GB, free: 12.56 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.3941, allocations: 32.28 kB / 0.7401 GB, free: 12.53 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003038/0.3971, allocations: 2.953 MB / 0.743 GB, free: 9.527 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001506/0.3973, allocations: 123.5 kB / 0.7431 GB, free: 9.406 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.399, allocations: 1.248 MB / 0.7443 GB, free: 8.156 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006296/0.3996, allocations: 1.44 MB / 0.7457 GB, free: 6.605 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.401, allocations: 0.5311 MB / 0.7462 GB, free: 6.07 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002355/0.4012, allocations: 323.8 kB / 0.7465 GB, free: 5.754 MB / 0.5418 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.002099/0.4033, allocations: 1.971 MB / 0.7484 GB, free: 3.777 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001864/0.4052, allocations: 3.182 MB / 0.7516 GB, free: 15.74 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008145/0.4134, allocations: 6.193 MB / 0.7576 GB, free: 8.715 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.355e-05/0.4134, allocations: 16 kB / 0.7576 GB, free: 8.699 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.007294/0.4207, allocations: 4.794 MB / 0.7623 GB, free: 3.859 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.4207, allocations: 35.94 kB / 0.7623 GB, free: 3.824 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004483/0.4252, allocations: 2.93 MB / 0.7652 GB, free: 0.8477 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.4253, allocations: 112.8 kB / 0.7653 GB, free: 0.7344 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002903/0.4283, allocations: 1.258 MB / 0.7665 GB, free: 15.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000856/0.4291, allocations: 1.438 MB / 0.7679 GB, free: 13.92 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.4309, allocations: 417.2 kB / 0.7683 GB, free: 13.51 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003809/0.4313, allocations: 324.7 kB / 0.7686 GB, free: 13.2 MB / 0.573 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.0008634/0.4322, allocations: 0.4946 MB / 0.7691 GB, free: 12.7 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007847/0.4329, allocations: 433 kB / 0.7695 GB, free: 12.27 MB / 0.573 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 1.9.0-ClaRa/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.006665/0.4396, allocations: 4.896 MB / 0.7743 GB, free: 7.383 MB / 0.573 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.2970102913677692]