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.01231/0.01231, allocations: 1.752 MB / 21.38 MB, free: 0.5625 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.001495/0.001495, allocations: 106 kB / 24.98 MB, free: 2.156 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.001875/0.001875, allocations: 203.2 kB / 28.71 MB, free: 3.441 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.443/1.443, allocations: 230.6 MB / 262.9 MB, free: 6.023 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.087/1.087, allocations: 130.7 MB / 450.4 MB, free: 6.594 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.031/0.031, allocations: 20.6 MB / 0.6363 GB, free: 5.34 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1924, allocations: 81.9 MB / 0.7163 GB, free: 3.344 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.5604/0.7528, allocations: 55.02 MB / 0.7701 GB, free: 13.82 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03022/0.7831, allocations: 18.67 MB / 0.7883 GB, free: 444 kB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006781/0.7898, allocations: 136.7 kB / 0.7884 GB, free: 376 kB / 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.00691/0.7967, allocations: 2.131 MB / 0.7905 GB, free: 15.32 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01287/0.8096, allocations: 3.143 MB / 0.7936 GB, free: 13.37 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01212/0.8217, allocations: 3.496 MB / 0.797 GB, free: 10.77 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.01697/0.8387, allocations: 8.142 MB / 0.8049 GB, free: 5.953 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005132/0.8438, allocations: 2.425 MB / 0.8073 GB, free: 4.18 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007643/0.8515, allocations: 3.314 MB / 0.8105 GB, free: 2.266 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00757/0.859, allocations: 3.446 MB / 0.8139 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002121/0.8612, allocations: 0.5195 MB / 0.8144 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006189/0.8674, allocations: 2 MB / 0.8164 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002635/0.87, allocations: 1.607 MB / 0.8179 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005985/0.876, allocations: 2.898 MB / 0.8208 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01564/0.8916, allocations: 8.455 MB / 0.829 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.8916, allocations: 0 / 0.829 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8916, allocations: 0 / 0.829 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002724/0.8919, allocations: 2.656 kB / 0.829 GB, free: 15.8 MB / 0.6075 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.01326/0.9051, allocations: 6.144 MB / 0.835 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.9052, allocations: 16.02 kB / 0.835 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001095/0.9053, allocations: 91.91 kB / 0.8351 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008118/0.9061, allocations: 0.5307 MB / 0.8356 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/0.9084, allocations: 0.7763 MB / 0.8364 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009727/0.9182, allocations: 4.483 MB / 0.8408 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002758/0.9185, allocations: 242.3 kB / 0.841 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007597/0.9192, allocations: 304 kB / 0.8413 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01886/0.9381, allocations: 7.363 MB / 0.8485 GB, free: 10.78 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.9382, allocations: 59.36 kB / 0.8485 GB, free: 10.73 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004093/0.9386, allocations: 164 kB / 0.8487 GB, free: 10.57 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001292/0.9387, allocations: 108 kB / 0.8488 GB, free: 10.46 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01714/0.9559, allocations: 5.518 MB / 0.8542 GB, free: 4.953 MB / 0.6232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03994/0.9958, allocations: 36.18 MB / 0.8895 GB, free: 15.54 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0138/1.01, allocations: 3.986 MB / 0.8934 GB, free: 11.42 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003448/1.013, allocations: 1.275 MB / 0.8947 GB, free: 10.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0012/1.014, allocations: 304 kB / 0.895 GB, free: 9.812 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.648e-05/1.014, allocations: 79.53 kB / 0.895 GB, free: 9.727 MB / 0.67 GB Notification: Performance of pre-optimization done (n=556): time 5.43e-06/1.014, allocations: 224 / 0.895 GB, free: 9.727 MB / 0.67 GB Notification: Performance of matching and sorting (n=556): time 0.02789/1.042, allocations: 7.928 MB / 0.9028 GB, free: 1.809 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004646/1.043, allocations: 0.7258 MB / 0.9035 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007499/1.05, allocations: 4.365 MB / 0.9077 GB, free: 12.57 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 0.0009721/1.051, allocations: 65.7 kB / 0.9078 GB, free: 12.5 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.002137/1.053, allocations: 2.252 MB / 0.91 GB, free: 10.23 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 0.002768/1.056, allocations: 1.896 MB / 0.9119 GB, free: 8.32 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002521/1.059, allocations: 1.288 MB / 0.9131 GB, free: 7.02 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.059, allocations: 305.1 kB / 0.9134 GB, free: 6.719 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004421/1.063, allocations: 1.872 MB / 0.9152 GB, free: 4.844 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006446/1.07, allocations: 4.037 MB / 0.9192 GB, free: 15.87 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/1.082, allocations: 6.466 MB / 0.9255 GB, free: 8.59 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-05/1.082, allocations: 23.56 kB / 0.9255 GB, free: 8.57 MB / 0.7013 GB Notification: Performance of matching and sorting (n=853) (initialization): time 0.01693/1.099, allocations: 6.641 MB / 0.932 GB, free: 1.965 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 5.91e-05/1.099, allocations: 34.66 kB / 0.932 GB, free: 1.934 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009961/1.109, allocations: 4.265 MB / 0.9362 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/1.109, allocations: 104 kB / 0.9363 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005688/1.115, allocations: 1.676 MB / 0.9379 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001642/1.115, allocations: 155.4 kB / 0.9381 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005181/1.12, allocations: 0.7122 MB / 0.9388 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/1.121, allocations: 431.7 kB / 0.9392 GB, free: 10.59 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.004293/1.125, allocations: 1.226 MB / 0.9404 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002374/1.128, allocations: 0.5613 MB / 0.9409 GB, free: 8.793 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.01402/1.142, allocations: 6.653 MB / 0.9474 GB, free: 2.406 MB / 0.7169 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.071589365950786] Failed to read output from testmodel.py, exit status != 0: 1.3464066580636427 1.362164129 0.46708168600000005 Calling exit ...