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 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.006163/0.006163, 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.08372/0.08372, allocations: 18.24 MB / 42.19 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.00135/0.00135, allocations: 88.16 kB / 53.06 MB, free: 6.508 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.001664/0.001664, allocations: 162.6 kB / 64.04 MB, free: 10.2 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.9038/0.9038, allocations: 177.2 MB / 252.1 MB, free: 11.77 MB / 218.7 MB " [Timeout remaining time 179] 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 0.5048/0.5048, allocations: 102.5 MB / 418.6 MB, free: 5.184 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/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.TestCheckValveOpenLeakage,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestCheckValveOpenLeakage",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestCheckValveOpenLeakage,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestCheckValveOpenLeakage",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.6029 GB, free: 208 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/1.955e-05, allocations: 2.281 kB / 0.6029 GB, free: 204 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestCheckValveOpenLeakage): time 0.01408/0.0141, allocations: 19.06 MB / 0.6216 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02254/0.03664, allocations: 17.68 MB / 0.6388 GB, free: 11.32 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004581/0.04122, allocations: 131 kB / 0.6389 GB, free: 11.19 MB / 0.5262 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.005309/0.04653, allocations: 2.1 MB / 0.641 GB, free: 9.078 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.008228/0.05476, allocations: 3.234 MB / 0.6442 GB, free: 5.824 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006994/0.06175, allocations: 3.554 MB / 0.6476 GB, free: 2.273 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01108/0.07283, allocations: 8.352 MB / 0.6558 GB, free: 9.895 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004174/0.077, allocations: 2.62 MB / 0.6583 GB, free: 7.215 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006826/0.08383, allocations: 4.513 MB / 0.6627 GB, free: 2.691 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2771/0.3609, allocations: 2.763 MB / 0.6654 GB, free: 24.82 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.0021/0.363, allocations: 0.5204 MB / 0.666 GB, free: 24.82 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004504/0.3675, allocations: 1.594 MB / 0.6675 GB, free: 24.82 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001529/0.369, allocations: 1.632 MB / 0.6691 GB, free: 24.82 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.002628/0.3717, allocations: 1.799 MB / 0.6709 GB, free: 24.82 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01131/0.383, allocations: 8.252 MB / 0.6789 GB, free: 24.34 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.383, allocations: 0 / 0.6789 GB, free: 24.34 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.385e-06/0.383, allocations: 0.6562 kB / 0.6789 GB, free: 24.34 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0002297/0.3832, allocations: 0.5 kB / 0.6789 GB, free: 24.34 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: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.009052/0.3923, allocations: 6.075 MB / 0.6849 GB, free: 21.65 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.3923, allocations: 12.59 kB / 0.6849 GB, free: 21.65 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005482/0.3929, allocations: 0.5358 MB / 0.6854 GB, free: 21.59 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.3944, allocations: 0.7791 MB / 0.6862 GB, free: 21.22 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006218/0.4006, allocations: 4.473 MB / 0.6905 GB, free: 20.27 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.4008, allocations: 242.8 kB / 0.6908 GB, free: 20.26 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004792/0.4012, allocations: 307.5 kB / 0.691 GB, free: 20.25 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.4118, allocations: 8.179 MB / 0.699 GB, free: 16.14 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.469e-05/0.4119, allocations: 45.66 kB / 0.6991 GB, free: 16.14 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002765/0.4122, allocations: 157.5 kB / 0.6992 GB, free: 16.05 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.065e-05/0.4123, allocations: 116.2 kB / 0.6993 GB, free: 16.04 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009717/0.422, allocations: 5.497 MB / 0.7047 GB, free: 14.62 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02018/0.4422, allocations: 34.48 MB / 0.7384 GB, free: 15.9 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0075/0.4497, allocations: 3.989 MB / 0.7423 GB, free: 13.73 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/0.4514, allocations: 1.278 MB / 0.7435 GB, free: 12.97 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006416/0.452, allocations: 281.7 kB / 0.7438 GB, free: 12.87 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.464e-05/0.4521, allocations: 82.16 kB / 0.7439 GB, free: 12.81 MB / 0.573 GB Notification: Performance of pre-optimization done (n=556): time 7.284e-06/0.4521, allocations: 0 / 0.7439 GB, free: 12.81 MB / 0.573 GB Notification: Performance of matching and sorting (n=556): time 0.01533/0.4674, allocations: 7.927 MB / 0.7516 GB, free: 9.16 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002256/0.4677, allocations: 0.7212 MB / 0.7523 GB, free: 8.309 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005542/0.4732, allocations: 4.476 MB / 0.7567 GB, free: 5.93 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004613/0.4737, allocations: 61.08 kB / 0.7567 GB, free: 5.871 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/0.4748, allocations: 2.236 MB / 0.7589 GB, free: 3.898 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001355/0.4762, allocations: 1.873 MB / 0.7607 GB, free: 2.258 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001301/0.4775, allocations: 1.265 MB / 0.762 GB, free: 1.523 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.543e-05/0.4776, allocations: 305.1 kB / 0.7623 GB, free: 1.223 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002736/0.4803, allocations: 1.879 MB / 0.7641 GB, free: 15.5 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00366/0.484, allocations: 4.246 MB / 0.7683 GB, free: 10.25 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006759/0.4907, allocations: 6.472 MB / 0.7746 GB, free: 3.086 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.727e-05/0.4907, allocations: 20 kB / 0.7746 GB, free: 3.066 MB / 0.5887 GB Notification: Performance of matching and sorting (n=853) (initialization): time 0.009252/0.5, allocations: 6.633 MB / 0.7811 GB, free: 12.83 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/0.5, allocations: 36.19 kB / 0.7811 GB, free: 12.79 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005566/0.5056, allocations: 4.257 MB / 0.7853 GB, free: 8.555 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-05/0.5057, allocations: 104 kB / 0.7854 GB, free: 8.453 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002906/0.5086, allocations: 1.679 MB / 0.787 GB, free: 6.879 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001034/0.5087, allocations: 147 kB / 0.7871 GB, free: 6.766 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003185/0.5119, allocations: 0.7239 MB / 0.7878 GB, free: 6.039 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004783/0.5124, allocations: 440.2 kB / 0.7883 GB, free: 5.609 MB / 0.6043 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.002471/0.5148, allocations: 1.231 MB / 0.7895 GB, free: 4.477 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001383/0.5162, allocations: 0.5547 MB / 0.79 GB, free: 3.918 MB / 0.6043 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 1.9.0-ClaRa/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.007629/0.5238, allocations: 6.714 MB / 0.7966 GB, free: 13.6 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.413421843200922]