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.01571/0.01571, allocations: 1.745 MB / 21.38 MB, free: 464 kB / 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.001712/0.001712, allocations: 103.6 kB / 24.97 MB, free: 2.035 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.002183/0.002183, allocations: 209.6 kB / 28.68 MB, free: 3.324 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.435/1.435, allocations: 230.6 MB / 262.9 MB, free: 5.82 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.051/1.051, allocations: 130.7 MB / 450.4 MB, free: 6.387 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: 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.06638/0.06638, allocations: 20.61 MB / 0.6362 GB, free: 5.062 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.2497, allocations: 81.9 MB / 0.7162 GB, free: 3.062 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.TestCheckValveOpenLeakage): time 0.5495/0.7992, allocations: 52.06 MB / 0.7671 GB, free: 16.48 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02925/0.8285, allocations: 17.89 MB / 0.7845 GB, free: 3.926 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009122/0.8376, allocations: 136.6 kB / 0.7847 GB, free: 3.859 MB / 0.5607 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.008392/0.846, allocations: 2.084 MB / 0.7867 GB, free: 2.855 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.01245/0.8585, allocations: 3.157 MB / 0.7898 GB, free: 0.918 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.01116/0.8696, allocations: 3.5 MB / 0.7932 GB, free: 14.33 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01837/0.888, allocations: 8.131 MB / 0.8011 GB, free: 9.523 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006967/0.895, allocations: 2.421 MB / 0.8035 GB, free: 7.754 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009035/0.904, allocations: 3.329 MB / 0.8068 GB, free: 5.824 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008108/0.9121, allocations: 3.443 MB / 0.8101 GB, free: 2.621 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.002614/0.9147, allocations: 0.5221 MB / 0.8106 GB, free: 2.102 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006582/0.9213, allocations: 1.608 MB / 0.8122 GB, free: 0.4922 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.003334/0.9246, allocations: 1.615 MB / 0.8138 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007255/0.9319, allocations: 2.238 MB / 0.816 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02004/0.9519, allocations: 8.393 MB / 0.8242 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.9519, allocations: 0 / 0.8242 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.225e-06/0.9519, allocations: 2.656 kB / 0.8242 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003596/0.9523, allocations: 0 / 0.8242 GB, free: 4.195 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: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.01879/0.9711, allocations: 6.16 MB / 0.8302 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.9711, allocations: 8.031 kB / 0.8302 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001305/0.9713, allocations: 94.5 kB / 0.8303 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001046/0.9723, allocations: 0.5307 MB / 0.8308 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002597/0.9749, allocations: 0.7725 MB / 0.8315 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009989/0.9849, allocations: 4.489 MB / 0.8359 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002469/0.9852, allocations: 242.3 kB / 0.8362 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006048/0.9858, allocations: 300 kB / 0.8364 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01876/1.005, allocations: 8.176 MB / 0.8444 GB, free: 14.07 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/1.005, allocations: 51.5 kB / 0.8445 GB, free: 14.02 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003907/1.005, allocations: 160 kB / 0.8446 GB, free: 13.86 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/1.005, allocations: 112 kB / 0.8447 GB, free: 13.75 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01647/1.022, allocations: 5.522 MB / 0.8501 GB, free: 8.238 MB / 0.6232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03725/1.059, allocations: 34.62 MB / 0.8839 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01367/1.073, allocations: 3.974 MB / 0.8878 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003192/1.076, allocations: 1.273 MB / 0.8891 GB, free: 14.96 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/1.077, allocations: 281.5 kB / 0.8893 GB, free: 14.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.414e-05/1.077, allocations: 84.86 kB / 0.8894 GB, free: 14.61 MB / 0.67 GB Notification: Performance of pre-optimization done (n=556): time 7.224e-06/1.077, allocations: 0 / 0.8894 GB, free: 14.61 MB / 0.67 GB Notification: Performance of matching and sorting (n=556): time 0.02708/1.104, allocations: 7.931 MB / 0.8972 GB, free: 6.688 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004177/1.104, allocations: 0.7225 MB / 0.8979 GB, free: 5.797 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007542/1.112, allocations: 4.357 MB / 0.9021 GB, free: 1.453 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0009192/1.113, allocations: 61.7 kB / 0.9022 GB, free: 1.387 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001992/1.115, allocations: 2.256 MB / 0.9044 GB, free: 15.11 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.002695/1.118, allocations: 1.897 MB / 0.9062 GB, free: 13.2 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002311/1.12, allocations: 1.287 MB / 0.9075 GB, free: 11.9 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.12, allocations: 304.9 kB / 0.9078 GB, free: 11.6 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004266/1.124, allocations: 1.875 MB / 0.9096 GB, free: 9.723 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006324/1.131, allocations: 4.236 MB / 0.9137 GB, free: 4.441 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01184/1.142, allocations: 6.472 MB / 0.9201 GB, free: 13.11 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-05/1.143, allocations: 23.94 kB / 0.9201 GB, free: 13.08 MB / 0.7013 GB Notification: Performance of matching and sorting (n=853) (initialization): time 0.01634/1.159, allocations: 6.638 MB / 0.9266 GB, free: 6.477 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 6.716e-05/1.159, allocations: 36 kB / 0.9266 GB, free: 6.441 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009763/1.169, allocations: 4.263 MB / 0.9308 GB, free: 2.172 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001911/1.169, allocations: 104 kB / 0.9309 GB, free: 2.07 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005909/1.175, allocations: 1.672 MB / 0.9325 GB, free: 408 kB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001898/1.175, allocations: 155.4 kB / 0.9327 GB, free: 252 kB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00588/1.181, allocations: 0.7188 MB / 0.9334 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001348/1.182, allocations: 431.7 kB / 0.9338 GB, free: 15.1 MB / 0.7169 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.004367/1.187, allocations: 1.233 MB / 0.935 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002173/1.189, allocations: 0.5586 MB / 0.9355 GB, free: 13.3 MB / 0.7169 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.01334/1.202, allocations: 6.655 MB / 0.942 GB, free: 7.016 MB / 0.7169 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.2439999639755115] Failed to read output from testmodel.py, exit status != 0: 1.4139185239328071 1.428784424 0.473461668 Calling exit ...