Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.0132/0.0132, allocations: 1.758 MB / 20.59 MB, free: 1.277 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.001599/0.001599, allocations: 109.1 kB / 24.19 MB, free: 2.652 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.002058/0.002058, allocations: 210.5 kB / 27.92 MB, free: 4 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.546/1.546, allocations: 230.6 MB / 262.1 MB, free: 6.223 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.1/1.1, allocations: 130.7 MB / 449.7 MB, free: 6.809 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.TestThreeWayValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValves",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.03634/0.03634, allocations: 20.78 MB / 0.6357 GB, free: 5.23 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2414, allocations: 81.91 MB / 0.7157 GB, free: 3.219 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.TestThreeWayValves): time 0.5986/0.84, allocations: 50.57 MB / 0.7651 GB, free: 16.87 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03097/0.8709, allocations: 18.61 MB / 0.7833 GB, free: 3.574 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006184/0.8771, allocations: 99.22 kB / 0.7834 GB, free: 3.527 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.005996/0.8831, allocations: 1.713 MB / 0.7851 GB, free: 2.695 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.008731/0.8918, allocations: 2.101 MB / 0.7871 GB, free: 1.379 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007699/0.8995, allocations: 2.669 MB / 0.7897 GB, free: 4 kB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.01258/0.9121, allocations: 5.649 MB / 0.7952 GB, free: 12.77 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004199/0.9163, allocations: 1.514 MB / 0.7967 GB, free: 11.7 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006335/0.9226, allocations: 2.337 MB / 0.799 GB, free: 10.37 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006191/0.9288, allocations: 2.444 MB / 0.8014 GB, free: 8.816 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.002095/0.9309, allocations: 360.3 kB / 0.8017 GB, free: 8.816 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00675/0.9377, allocations: 1.777 MB / 0.8035 GB, free: 7.957 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002737/0.9404, allocations: 1.17 MB / 0.8046 GB, free: 7.074 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.005942/0.9464, allocations: 2.109 MB / 0.8067 GB, free: 5.539 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01401/0.9604, allocations: 6.379 MB / 0.8129 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.9604, allocations: 0 / 0.8129 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.565e-06/0.9604, allocations: 0 / 0.8129 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000223/0.9606, allocations: 0 / 0.8129 GB, free: 15.49 MB / 0.5919 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.01235/0.973, allocations: 4.65 MB / 0.8174 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.973, allocations: 8.031 kB / 0.8174 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007157/0.9737, allocations: 414.4 kB / 0.8178 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.9756, allocations: 0.5796 MB / 0.8184 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008336/0.984, allocations: 3.652 MB / 0.822 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/0.9842, allocations: 176.5 kB / 0.8221 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005182/0.9847, allocations: 216.4 kB / 0.8223 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01242/0.9971, allocations: 5.236 MB / 0.8275 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.529e-05/0.9972, allocations: 38.25 kB / 0.8275 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002998/0.9975, allocations: 119.9 kB / 0.8276 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.529e-05/0.9976, allocations: 80 kB / 0.8277 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/1.008, allocations: 3.49 MB / 0.8311 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02871/1.036, allocations: 26.34 MB / 0.8568 GB, free: 0.6562 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009114/1.046, allocations: 2.812 MB / 0.8596 GB, free: 13.71 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/1.048, allocations: 0.8328 MB / 0.8604 GB, free: 12.83 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004261/1.048, allocations: 125 kB / 0.8605 GB, free: 12.71 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/1.048, allocations: 69.12 kB / 0.8606 GB, free: 12.64 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=427): time 7.704e-06/1.048, allocations: 0 / 0.8606 GB, free: 12.64 MB / 0.6388 GB Notification: Performance of matching and sorting (n=427): time 0.0201/1.068, allocations: 5.554 MB / 0.866 GB, free: 7.062 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005703/1.069, allocations: 0.6124 MB / 0.8666 GB, free: 6.312 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01003/1.079, allocations: 3.308 MB / 0.8698 GB, free: 2.98 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0006762/1.08, allocations: 53.7 kB / 0.8699 GB, free: 2.922 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.002086/1.082, allocations: 1.666 MB / 0.8715 GB, free: 1.242 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002461/1.084, allocations: 1.459 MB / 0.8729 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003022/1.087, allocations: 0.9675 MB / 0.8739 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002283/1.088, allocations: 305.1 kB / 0.8741 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003048/1.091, allocations: 1.295 MB / 0.8754 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005318/1.096, allocations: 3.012 MB / 0.8784 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01414/1.11, allocations: 6.226 MB / 0.8844 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.027e-05/1.11, allocations: 16 kB / 0.8844 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.0118/1.122, allocations: 4.816 MB / 0.8892 GB, free: 13.67 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.046e-05/1.122, allocations: 28 kB / 0.8892 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007012/1.129, allocations: 2.947 MB / 0.8921 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000414/1.129, allocations: 116.8 kB / 0.8922 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004241/1.134, allocations: 1.256 MB / 0.8934 GB, free: 9.285 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/1.135, allocations: 1.437 MB / 0.8948 GB, free: 7.746 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003716/1.139, allocations: 0.5351 MB / 0.8953 GB, free: 7.207 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/1.14, allocations: 323.8 kB / 0.8956 GB, free: 6.891 MB / 0.67 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.005948/1.146, allocations: 1.98 MB / 0.8976 GB, free: 4.906 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00534/1.151, allocations: 2.993 MB / 0.9005 GB, free: 1.145 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01321/1.165, allocations: 6.184 MB / 0.9065 GB, free: 10.25 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.679e-05/1.165, allocations: 16 kB / 0.9065 GB, free: 10.24 MB / 0.6857 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.0127/1.177, allocations: 4.805 MB / 0.9112 GB, free: 5.43 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 7.874e-05/1.177, allocations: 28 kB / 0.9113 GB, free: 5.402 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007303/1.185, allocations: 2.941 MB / 0.9141 GB, free: 2.426 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003896/1.185, allocations: 112.8 kB / 0.9142 GB, free: 2.312 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004223/1.189, allocations: 1.252 MB / 0.9155 GB, free: 1.059 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/1.191, allocations: 1.442 MB / 0.9169 GB, free: 15.52 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003733/1.195, allocations: 417.2 kB / 0.9173 GB, free: 15.11 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009898/1.196, allocations: 330.4 kB / 0.9176 GB, free: 14.79 MB / 0.7013 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.001849/1.198, allocations: 494.6 kB / 0.9181 GB, free: 14.3 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002017/1.2, allocations: 436.9 kB / 0.9185 GB, free: 13.87 MB / 0.7013 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.01162/1.211, allocations: 4.849 MB / 0.9232 GB, free: 9.27 MB / 0.7013 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.4406158060301095] Failed to read output from testmodel.py, exit status != 0: 1.4212859831750393 1.442091809 0.477837843 Calling exit ...