Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestCheckValveOpenLeakage.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.01306/0.01306, allocations: 1.771 MB / 18.83 MB, free: 4.332 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.001427/0.001427, allocations: 99.7 kB / 22.07 MB, free: 1.09 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.001964/0.001964, allocations: 216.3 kB / 25.45 MB, free: 2.797 MB / 14.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 1.508/1.508, allocations: 230.6 MB / 259.2 MB, free: 13.11 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.126/1.126, allocations: 130.6 MB / 446.3 MB, free: 14.58 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.TestCheckValveOpenLeakage,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestCheckValveOpenLeakage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestCheckValveOpenLeakage,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestCheckValveOpenLeakage",fmuType="cs",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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.391/0.391, allocations: 46.15 MB / 0.6552 GB, free: 30.25 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.5655, allocations: 89.05 MB / 0.7421 GB, free: 2.645 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestCheckValveOpenLeakage): time 0.02373/0.5893, allocations: 22.05 MB / 0.7637 GB, free: 12.51 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.02989/0.6191, allocations: 18.47 MB / 0.7817 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005256/0.6244, allocations: 134.9 kB / 0.7818 GB, free: 9.848 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.006616/0.631, allocations: 2.136 MB / 0.7839 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009705/0.6407, allocations: 3.073 MB / 0.7869 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.011/0.6517, allocations: 3.446 MB / 0.7903 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0154/0.6671, allocations: 8.138 MB / 0.7982 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005273/0.6724, allocations: 2.481 MB / 0.8007 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007073/0.6795, allocations: 3.312 MB / 0.8039 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006487/0.686, allocations: 3.434 MB / 0.8073 GB, free: 15.68 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.002102/0.6881, allocations: 0.5195 MB / 0.8078 GB, free: 15.16 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00537/0.6934, allocations: 1.927 MB / 0.8096 GB, free: 13.23 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.002527/0.696, allocations: 1.611 MB / 0.8112 GB, free: 11.62 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.004202/0.7002, allocations: 2.906 MB / 0.8141 GB, free: 8.695 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.0134/0.7136, allocations: 8.432 MB / 0.8223 GB, free: 236 kB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.7136, allocations: 7.922 kB / 0.8223 GB, free: 228 kB / 0.6232 GB Notification: Performance of FrontEnd: time 2.395e-06/0.7136, allocations: 0 / 0.8223 GB, free: 228 kB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0002433/0.7138, allocations: 0 / 0.8223 GB, free: 228 kB / 0.6232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.01233/0.7261, allocations: 6.22 MB / 0.8284 GB, free: 9.914 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/0.7262, allocations: 8.031 kB / 0.8284 GB, free: 9.906 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001443/0.7263, allocations: 98.5 kB / 0.8285 GB, free: 9.809 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007326/0.7271, allocations: 0.5346 MB / 0.829 GB, free: 9.262 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002272/0.7294, allocations: 0.7737 MB / 0.8297 GB, free: 8.484 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009104/0.7385, allocations: 4.702 MB / 0.8343 GB, free: 3.73 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000237/0.7387, allocations: 246.2 kB / 0.8346 GB, free: 3.488 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004705/0.7392, allocations: 304 kB / 0.8349 GB, free: 3.191 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01752/0.7567, allocations: 7.365 MB / 0.8421 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-05/0.7568, allocations: 43.56 kB / 0.8421 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003989/0.7572, allocations: 168 kB / 0.8423 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001249/0.7573, allocations: 112 kB / 0.8424 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01632/0.7736, allocations: 5.517 MB / 0.8478 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4073/1.181, allocations: 36.27 MB / 0.8832 GB, free: 86.59 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01378/1.195, allocations: 3.987 MB / 0.8871 GB, free: 86.15 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004145/1.199, allocations: 1.269 MB / 0.8883 GB, free: 86 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001611/1.2, allocations: 449.9 kB / 0.8887 GB, free: 85.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.46e-05/1.201, allocations: 83.77 kB / 0.8888 GB, free: 85.74 MB / 0.67 GB Notification: Performance of pre-optimization done (n=556): time 7.414e-06/1.201, allocations: 0 / 0.8888 GB, free: 85.74 MB / 0.67 GB Notification: Performance of matching and sorting (n=556): time 0.02728/1.228, allocations: 7.933 MB / 0.8966 GB, free: 83.69 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002233/1.228, allocations: 0.72 MB / 0.8973 GB, free: 82.84 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007006/1.235, allocations: 4.368 MB / 0.9015 GB, free: 81.35 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0009446/1.236, allocations: 62.77 kB / 0.9016 GB, free: 81.29 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00141/1.237, allocations: 2.258 MB / 0.9038 GB, free: 79.71 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002065/1.239, allocations: 1.896 MB / 0.9056 GB, free: 78.46 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002189/1.242, allocations: 1.281 MB / 0.9069 GB, free: 77.98 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.661e-05/1.242, allocations: 301.7 kB / 0.9072 GB, free: 77.68 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004236/1.246, allocations: 1.887 MB / 0.909 GB, free: 76.86 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004958/1.251, allocations: 4.025 MB / 0.913 GB, free: 73.02 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009988/1.261, allocations: 6.472 MB / 0.9193 GB, free: 68.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.165e-05/1.261, allocations: 22.53 kB / 0.9193 GB, free: 68.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=853) (initialization): time 0.01587/1.277, allocations: 6.643 MB / 0.9258 GB, free: 65.25 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.302e-05/1.277, allocations: 36.75 kB / 0.9258 GB, free: 65.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009535/1.286, allocations: 4.252 MB / 0.93 GB, free: 63.29 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002315/1.287, allocations: 109.3 kB / 0.9301 GB, free: 63.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00535/1.292, allocations: 1.687 MB / 0.9317 GB, free: 62.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001348/1.292, allocations: 145 kB / 0.9319 GB, free: 62.92 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004795/1.297, allocations: 0.7247 MB / 0.9326 GB, free: 62.58 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/1.298, allocations: 430.8 kB / 0.933 GB, free: 62.46 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (853): * Single equations (assignments): 853 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002878/1.301, allocations: 1.228 MB / 0.9342 GB, free: 61.77 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001781/1.303, allocations: 0.5596 MB / 0.9347 GB, free: 61.44 MB / 0.67 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 758 equation(s) and 728 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:65:5-70:23:writable] Error: (valve1.fluidOut.VLE.d_l, valve1.fluidOut.VLE.h_l, valve1.fluidOut.VLE.p_l, valve1.fluidOut.VLE.s_l, valve1.fluidOut.VLE.T_l, _, valve1.fluidOut.VLE.d_v, valve1.fluidOut.VLE.h_v, valve1.fluidOut.VLE.p_v, valve1.fluidOut.VLE.s_v, valve1.fluidOut.VLE.T_v, _) = ($cse182, $cse183, $cse184, $cse185, $cse186, $cse187, $cse188, $cse189, $cse190, $cse191, $cse192, $cse193) has size 10 but 9 variables (valve4.fluidIn.q, valve4.fluidIn.cp, valve4.fluidIn.cv, valve4.fluidIn.beta, valve4.fluidIn.kappa, valve4.fluidIn.w, valve4.fluidIn.drhodh_pxi, valve4.fluidIn.drhodp_hxi, valve4.fluidIn.gamma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/1.313, allocations: 6.654 MB / 0.9412 GB, free: 58.23 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.043032726971433] Failed to read output from testmodel.py, exit status != 0: 1.3205552870058455 1.329290749 0.61336386 Calling exit ...