Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValve.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.006223/0.006223, allocations: 1.354 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.07832/0.07832, allocations: 18.24 MB / 42.19 MB, free: 5.195 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.001299/0.001299, allocations: 87.72 kB / 53.07 MB, free: 6.516 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.001547/0.001547, allocations: 154.8 kB / 64.03 MB, free: 10.21 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.902/0.902, 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-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.4803/0.4803, allocations: 102.6 MB / 418.7 MB, free: 5.297 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.TestThreeWayValve,fileNamePrefix="ClaRa_dev_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValve",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValve,fileNamePrefix="ClaRa_dev_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValve",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.603 GB, free: 356 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.362e-05, allocations: 2.281 kB / 0.603 GB, free: 352 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValve): time 0.007106/0.00712, allocations: 9.622 MB / 0.6124 GB, free: 6.676 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01153/0.01865, allocations: 12.57 MB / 0.6247 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004984/0.01915, allocations: 51.62 kB / 0.6247 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.02082, allocations: 1.123 MB / 0.6258 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.02196, allocations: 1.129 MB / 0.6269 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.02429, allocations: 1.741 MB / 0.6286 GB, free: 6 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002404/0.02669, allocations: 2.951 MB / 0.6315 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008462/0.02754, allocations: 0.8552 MB / 0.6324 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.02894, allocations: 1.609 MB / 0.6339 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.03005, allocations: 1.063 MB / 0.635 GB, free: 15.48 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.000241/0.03029, allocations: 200 kB / 0.6352 GB, free: 15.29 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.03159, allocations: 1.021 MB / 0.6362 GB, free: 14.27 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004488/0.03204, allocations: 0.681 MB / 0.6368 GB, free: 13.58 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0008517/0.03289, allocations: 0.6856 MB / 0.6375 GB, free: 12.89 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.003007/0.0359, allocations: 3.68 MB / 0.6411 GB, free: 9.203 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.0359, allocations: 0 / 0.6411 GB, free: 9.203 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.42e-07/0.0359, allocations: 0 / 0.6411 GB, free: 9.203 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.806e-05/0.03593, allocations: 0 / 0.6411 GB, free: 9.203 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.003093/0.03902, allocations: 2.826 MB / 0.6438 GB, free: 6.328 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.03906, allocations: 12.03 kB / 0.6439 GB, free: 6.316 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002007/0.03926, allocations: 208.4 kB / 0.6441 GB, free: 6.102 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008825/0.04015, allocations: 339 kB / 0.6444 GB, free: 5.77 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003226/0.04337, allocations: 2.541 MB / 0.6469 GB, free: 3.188 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.77e-05/0.04343, allocations: 78.58 kB / 0.6469 GB, free: 3.109 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.04354, allocations: 104.4 kB / 0.647 GB, free: 3.008 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00381/0.04735, allocations: 2.817 MB / 0.6498 GB, free: 15.71 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.04739, allocations: 20 kB / 0.6498 GB, free: 15.7 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.251e-05/0.04748, allocations: 59.94 kB / 0.6499 GB, free: 15.64 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/0.04751, allocations: 43.94 kB / 0.6499 GB, free: 15.59 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003512/0.05102, allocations: 1.687 MB / 0.6515 GB, free: 13.9 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006771/0.05779, allocations: 12.07 MB / 0.6633 GB, free: 1.355 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2466/0.3044, allocations: 1.307 MB / 0.6646 GB, free: 69.15 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009096/0.3053, allocations: 407.6 kB / 0.665 GB, free: 69.09 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.3055, allocations: 70.11 kB / 0.6651 GB, free: 69.09 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.3055, allocations: 55.11 kB / 0.6651 GB, free: 69.05 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=202): time 2.855e-06/0.3055, allocations: 0.7812 kB / 0.6651 GB, free: 69.05 MB / 0.5418 GB Notification: Performance of matching and sorting (n=202): time 0.005712/0.3112, allocations: 2.838 MB / 0.6679 GB, free: 68.54 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.3113, allocations: 326.4 kB / 0.6682 GB, free: 68.17 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/0.3135, allocations: 2.073 MB / 0.6702 GB, free: 67.41 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 6.338e-05/0.3136, allocations: 36.86 kB / 0.6703 GB, free: 67.38 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/0.314, allocations: 0.922 MB / 0.6712 GB, free: 66.75 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.3142, allocations: 0.6824 MB / 0.6718 GB, free: 66.29 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004358/0.3147, allocations: 484.7 kB / 0.6723 GB, free: 66.11 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 2.94e-05/0.3147, allocations: 306.7 kB / 0.6726 GB, free: 65.8 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009514/0.3157, allocations: 0.62 MB / 0.6732 GB, free: 65.55 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.317, allocations: 1.532 MB / 0.6747 GB, free: 64.12 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002228/0.3192, allocations: 2.299 MB / 0.6769 GB, free: 62.36 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.3192, allocations: 5.75 kB / 0.6769 GB, free: 62.36 MB / 0.5418 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.00307/0.3223, allocations: 2.383 MB / 0.6793 GB, free: 61.36 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.3223, allocations: 17.22 kB / 0.6793 GB, free: 61.36 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001945/0.3242, allocations: 1.425 MB / 0.6807 GB, free: 60.84 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005047/0.3247, allocations: 162.8 kB / 0.6808 GB, free: 60.8 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.3259, allocations: 0.5892 MB / 0.6814 GB, free: 60.74 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004735/0.3264, allocations: 0.7204 MB / 0.6821 GB, free: 60.14 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009047/0.3273, allocations: 269.7 kB / 0.6824 GB, free: 60.02 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/0.3275, allocations: 159.8 kB / 0.6825 GB, free: 60 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 122 * 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 (308): * Single equations (assignments): 307 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000662/0.3281, allocations: 0.5752 MB / 0.6831 GB, free: 59.64 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/0.3285, allocations: 243.3 kB / 0.6833 GB, free: 59.5 MB / 0.5418 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 253 equation(s) and 243 variable(s). Error: ($cse112, $cse113, $cse114, $cse115, $cse116, $cse117, $cse118, $cse119, $cse120, $cse121) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.additionalProperties_phxi(pressureSink_ph.p_const, threeWayValve_VLE_L1_1.summary.outlet1.h, {}, threeWayValve_VLE_L1_1.fluidOut1.vleFluidPointer) has size 10 but 2 variables (pressureSink_ph.fluidOut.s, pressureSink_ph.eye.s) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003241/0.3318, allocations: 2.377 MB / 0.6856 GB, free: 58.7 MB / 0.5418 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.1085768388584256]