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.01999/0.01999, allocations: 1.761 MB / 20.61 MB, free: 3.863 MB / 13.93 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.2004/0.2004, allocations: 25.61 MB / 49.71 MB, free: 2.922 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.001696/0.001696, allocations: 118.1 kB / 60.66 MB, free: 3.02 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.001968/0.001968, allocations: 216.9 kB / 71.72 MB, free: 6.473 MB / 44.04 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.033/1.033, allocations: 230.6 MB / 313.3 MB, free: 11.79 MB / 234.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.8796/0.8796, allocations: 130.8 MB / 0.4964 GB, free: 3.699 MB / 362.8 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: 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: 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: 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: Performance of FrontEnd - loaded program: time 0.002917/0.002917, allocations: 159.8 kB / 0.6901 GB, free: 53.46 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1439, allocations: 89.28 MB / 0.7773 GB, free: 5.184 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValve): time 0.008362/0.1523, allocations: 9.64 MB / 0.7867 GB, free: 11.5 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.0148/0.1671, allocations: 12.82 MB / 0.7993 GB, free: 14.63 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.1683, allocations: 51.62 kB / 0.7993 GB, free: 14.58 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002491/0.1708, allocations: 1.106 MB / 0.8004 GB, free: 13.47 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.173, allocations: 1.095 MB / 0.8014 GB, free: 12.37 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003353/0.1764, allocations: 1.714 MB / 0.8031 GB, free: 10.66 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002882/0.1793, allocations: 2.856 MB / 0.8059 GB, free: 7.789 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.1803, allocations: 0.8553 MB / 0.8067 GB, free: 6.91 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.1817, allocations: 1.191 MB / 0.8079 GB, free: 5.715 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.183, allocations: 1.235 MB / 0.8091 GB, free: 4.477 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003172/0.1834, allocations: 196 kB / 0.8093 GB, free: 4.285 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.1853, allocations: 1.018 MB / 0.8103 GB, free: 3.266 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003916/0.1857, allocations: 0.6655 MB / 0.8109 GB, free: 2.598 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.000793/0.1865, allocations: 0.8779 MB / 0.8118 GB, free: 1.715 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003679/0.1901, allocations: 3.736 MB / 0.8155 GB, free: 13.96 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1901, allocations: 0 / 0.8155 GB, free: 13.96 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1901, allocations: 0 / 0.8155 GB, free: 13.96 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 6.24e-05/0.1902, allocations: 0 / 0.8155 GB, free: 13.96 MB / 0.5887 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.003624/0.1938, allocations: 2.853 MB / 0.8182 GB, free: 11.06 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.1939, allocations: 8.031 kB / 0.8182 GB, free: 11.05 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001866/0.1941, allocations: 216.3 kB / 0.8185 GB, free: 10.83 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006047/0.1947, allocations: 331 kB / 0.8188 GB, free: 10.51 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003003/0.1977, allocations: 2.546 MB / 0.8213 GB, free: 7.93 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.846e-05/0.1977, allocations: 78.58 kB / 0.8213 GB, free: 7.852 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-05/0.1978, allocations: 108.4 kB / 0.8214 GB, free: 7.746 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003497/0.2013, allocations: 2.819 MB / 0.8242 GB, free: 4.445 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.2013, allocations: 15.88 kB / 0.8242 GB, free: 4.43 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/0.2014, allocations: 56 kB / 0.8243 GB, free: 4.375 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.2014, allocations: 40 kB / 0.8243 GB, free: 4.336 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002585/0.204, allocations: 1.691 MB / 0.8259 GB, free: 2.645 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007226/0.2113, allocations: 12.11 MB / 0.8378 GB, free: 6.043 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002378/0.2136, allocations: 1.324 MB / 0.8391 GB, free: 4.641 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004893/0.2141, allocations: 406 kB / 0.8395 GB, free: 4.219 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.2143, allocations: 76.48 kB / 0.8395 GB, free: 4.145 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.2143, allocations: 47.22 kB / 0.8396 GB, free: 4.09 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=202): time 4.047e-06/0.2143, allocations: 0 / 0.8396 GB, free: 4.09 MB / 0.6043 GB Notification: Performance of matching and sorting (n=202): time 0.005488/0.2198, allocations: 2.848 MB / 0.8424 GB, free: 1.234 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.2199, allocations: 329 kB / 0.8427 GB, free: 0.8398 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002379/0.2223, allocations: 2.065 MB / 0.8447 GB, free: 14.75 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 7.532e-05/0.2224, allocations: 41.7 kB / 0.8447 GB, free: 14.7 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004884/0.2229, allocations: 0.9296 MB / 0.8456 GB, free: 13.76 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003724/0.2232, allocations: 0.6892 MB / 0.8463 GB, free: 13.06 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004623/0.2237, allocations: 492 kB / 0.8468 GB, free: 12.58 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 6.784e-05/0.2238, allocations: 305.3 kB / 0.8471 GB, free: 12.28 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008104/0.2246, allocations: 0.6213 MB / 0.8477 GB, free: 11.65 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.2258, allocations: 1.527 MB / 0.8492 GB, free: 9.719 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002497/0.2283, allocations: 2.285 MB / 0.8514 GB, free: 7.055 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.2283, allocations: 8 kB / 0.8514 GB, free: 7.047 MB / 0.6199 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.002907/0.2312, allocations: 2.381 MB / 0.8537 GB, free: 4.66 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.2312, allocations: 23.94 kB / 0.8537 GB, free: 4.637 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001747/0.233, allocations: 1.423 MB / 0.8551 GB, free: 3.215 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004938/0.2335, allocations: 165.3 kB / 0.8553 GB, free: 3.051 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009545/0.2344, allocations: 0.5889 MB / 0.8559 GB, free: 2.461 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005163/0.235, allocations: 0.7278 MB / 0.8566 GB, free: 1.707 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000773/0.2357, allocations: 273.9 kB / 0.8568 GB, free: 1.438 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.2359, allocations: 155.9 kB / 0.857 GB, free: 1.285 MB / 0.6199 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.0007526/0.2366, allocations: 0.5789 MB / 0.8576 GB, free: 0.6953 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003028/0.2369, allocations: 242.3 kB / 0.8578 GB, free: 468 kB / 0.6199 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.002872/0.2398, allocations: 2.384 MB / 0.8601 GB, free: 14.13 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.672744202427566]