Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.005901/0.005901, allocations: 1.354 MB / 20.45 MB, free: 4.098 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.07249/0.07249, allocations: 18.24 MB / 42.2 MB, free: 5.199 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.0009076/0.0009076, allocations: 77.22 kB / 53.06 MB, free: 6.527 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.001257/0.001257, allocations: 162.2 kB / 64.04 MB, free: 10.22 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.8737/0.8737, allocations: 177.2 MB / 252.1 MB, free: 11.76 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.4908/0.4908, allocations: 102.6 MB / 418.7 MB, free: 5.293 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-main/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_dev_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestCheckValveOpenLeakage",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestCheckValveOpenLeakage,fileNamePrefix="ClaRa_dev_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestCheckValveOpenLeakage",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.603 GB, free: 336 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.893e-05, allocations: 2.281 kB / 0.603 GB, free: 332 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestCheckValveOpenLeakage): time 0.01357/0.01359, allocations: 19.06 MB / 0.6216 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02138/0.03497, allocations: 17.67 MB / 0.6389 GB, free: 11.46 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003645/0.03862, allocations: 134.9 kB / 0.639 GB, free: 11.32 MB / 0.5262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/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.00397/0.04259, allocations: 2.1 MB / 0.6411 GB, free: 9.211 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.006067/0.04865, allocations: 3.242 MB / 0.6442 GB, free: 5.949 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005452/0.0541, allocations: 3.558 MB / 0.6477 GB, free: 2.395 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01026/0.06436, allocations: 8.349 MB / 0.6559 GB, free: 10.02 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003115/0.06748, allocations: 2.616 MB / 0.6584 GB, free: 7.344 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004538/0.07201, allocations: 4.513 MB / 0.6628 GB, free: 2.82 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002634/0.07465, allocations: 2.771 MB / 0.6655 GB, free: 44 kB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.2799/0.3545, allocations: 0.5207 MB / 0.666 GB, free: 27.64 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004885/0.3594, allocations: 1.59 MB / 0.6676 GB, free: 27.64 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001495/0.3609, allocations: 1.637 MB / 0.6692 GB, free: 27.64 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.001988/0.3629, allocations: 1.798 MB / 0.671 GB, free: 27.64 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.008102/0.371, allocations: 8.249 MB / 0.679 GB, free: 27.16 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.371, allocations: 0.6094 kB / 0.679 GB, free: 27.16 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.074e-06/0.371, allocations: 3.094 kB / 0.679 GB, free: 27.16 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001085/0.3711, allocations: 0 / 0.679 GB, free: 27.16 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.007067/0.3782, allocations: 6.077 MB / 0.6849 GB, free: 24.48 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3782, allocations: 9.25 kB / 0.685 GB, free: 24.48 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000494/0.3787, allocations: 0.5327 MB / 0.6855 GB, free: 24.41 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.38, allocations: 0.7787 MB / 0.6862 GB, free: 24.04 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005111/0.3851, allocations: 4.475 MB / 0.6906 GB, free: 23.09 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/0.3853, allocations: 243.6 kB / 0.6908 GB, free: 23.09 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000432/0.3857, allocations: 308.7 kB / 0.6911 GB, free: 23.08 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.3957, allocations: 8.175 MB / 0.6991 GB, free: 19.25 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.432e-05/0.3958, allocations: 45.28 kB / 0.6992 GB, free: 19.25 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000268/0.3961, allocations: 161.3 kB / 0.6993 GB, free: 19.17 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-05/0.3962, allocations: 114.1 kB / 0.6994 GB, free: 19.17 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009466/0.4056, allocations: 5.5 MB / 0.7048 GB, free: 17.74 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01813/0.4238, allocations: 34.48 MB / 0.7385 GB, free: 2.898 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006963/0.4307, allocations: 3.989 MB / 0.7424 GB, free: 0.7344 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.4323, allocations: 1.277 MB / 0.7436 GB, free: 15.97 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006081/0.433, allocations: 276.8 kB / 0.7439 GB, free: 15.88 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/0.433, allocations: 78.5 kB / 0.7439 GB, free: 15.81 MB / 0.573 GB Notification: Performance of pre-optimization done (n=556): time 5.771e-06/0.433, allocations: 4 kB / 0.7439 GB, free: 15.81 MB / 0.573 GB Notification: Performance of matching and sorting (n=556): time 0.01424/0.4473, allocations: 7.93 MB / 0.7517 GB, free: 12.16 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002219/0.4475, allocations: 0.7139 MB / 0.7524 GB, free: 11.31 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00459/0.4521, allocations: 4.477 MB / 0.7568 GB, free: 8.785 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002334/0.4523, allocations: 65.7 kB / 0.7568 GB, free: 8.715 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.4534, allocations: 2.239 MB / 0.759 GB, free: 6.48 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001294/0.4547, allocations: 1.877 MB / 0.7608 GB, free: 4.633 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001411/0.4561, allocations: 1.261 MB / 0.7621 GB, free: 3.359 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.4562, allocations: 305.1 kB / 0.7624 GB, free: 3.059 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002526/0.4587, allocations: 1.884 MB / 0.7642 GB, free: 1.172 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003706/0.4624, allocations: 4.237 MB / 0.7683 GB, free: 11.92 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006399/0.4688, allocations: 6.475 MB / 0.7747 GB, free: 4.762 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.267e-05/0.4688, allocations: 20 kB / 0.7747 GB, free: 4.742 MB / 0.5887 GB Notification: Performance of matching and sorting (n=853) (initialization): time 0.008654/0.4775, allocations: 6.641 MB / 0.7812 GB, free: 14.5 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.4775, allocations: 36 kB / 0.7812 GB, free: 14.46 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005327/0.4828, allocations: 4.254 MB / 0.7854 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.786e-05/0.4829, allocations: 104 kB / 0.7855 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002856/0.4858, allocations: 1.672 MB / 0.7871 GB, free: 8.559 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.572e-05/0.4859, allocations: 153.2 kB / 0.7872 GB, free: 8.438 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/0.4887, allocations: 0.7174 MB / 0.7879 GB, free: 7.715 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004303/0.4891, allocations: 443.6 kB / 0.7884 GB, free: 7.281 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.002191/0.4913, allocations: 1.223 MB / 0.7896 GB, free: 6.156 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008982/0.4922, allocations: 0.5547 MB / 0.7901 GB, free: 5.598 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.007215/0.4994, allocations: 6.714 MB / 0.7967 GB, free: 15.15 MB / 0.6199 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.272356541827321]