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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.0134/0.0134, allocations: 1.787 MB / 20.88 MB, free: 3.648 MB / 18.57 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.00609/0.00609, allocations: 80.78 kB / 24.59 MB, free: 7.203 MB / 18.57 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.0009257/0.0009257, allocations: 171 kB / 28.41 MB, free: 4.316 MB / 18.57 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.8551/0.8551, allocations: 177.2 MB / 209.3 MB, free: 2.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7014/0.7014, allocations: 102.5 MB / 368.7 MB, free: 1.02 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 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 SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/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.993e-06/1.993e-06, allocations: 1.875 kB / 0.5378 GB, free: 39.04 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.609e-05, allocations: 2.969 kB / 0.5378 GB, free: 39.04 MB / 490.8 MB 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.TestThreeWayValve): time 0.1644/0.1644, allocations: 64.97 MB / 0.6013 GB, free: 10.2 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01315/0.1776, allocations: 12.58 MB / 0.6136 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.1786, allocations: 55.56 kB / 0.6136 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.1807, allocations: 1.115 MB / 0.6147 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.1824, allocations: 1.122 MB / 0.6158 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.1849, allocations: 1.752 MB / 0.6175 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002493/0.1874, allocations: 2.943 MB / 0.6204 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008474/0.1883, allocations: 0.8552 MB / 0.6212 GB, free: 5.684 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.1895, allocations: 1.617 MB / 0.6228 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.1906, allocations: 1.053 MB / 0.6238 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002302/0.1908, allocations: 196 kB / 0.624 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.1923, allocations: 1.033 MB / 0.625 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004046/0.1927, allocations: 0.6733 MB / 0.6257 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00054/0.1932, allocations: 0.6973 MB / 0.6264 GB, free: 416 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003497/0.1967, allocations: 3.676 MB / 0.63 GB, free: 12.72 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1967, allocations: 0 / 0.63 GB, free: 12.72 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.624e-06/0.1967, allocations: 0 / 0.63 GB, free: 12.72 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.877e-05/0.1968, allocations: 0 / 0.63 GB, free: 12.72 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.002974/0.1997, allocations: 2.834 MB / 0.6327 GB, free: 9.836 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1998, allocations: 8.031 kB / 0.6327 GB, free: 9.828 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/0.2, allocations: 208.4 kB / 0.6329 GB, free: 9.613 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005639/0.2005, allocations: 335 kB / 0.6332 GB, free: 9.285 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003304/0.2038, allocations: 2.541 MB / 0.6357 GB, free: 6.703 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.715e-05/0.2039, allocations: 82.58 kB / 0.6358 GB, free: 6.621 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.356e-05/0.204, allocations: 112.4 kB / 0.6359 GB, free: 6.512 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003204/0.2072, allocations: 2.808 MB / 0.6387 GB, free: 3.227 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.2072, allocations: 16.06 kB / 0.6387 GB, free: 3.211 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.228e-05/0.2073, allocations: 63.88 kB / 0.6387 GB, free: 3.148 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/0.2073, allocations: 43.94 kB / 0.6388 GB, free: 3.105 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/0.2099, allocations: 1.683 MB / 0.6404 GB, free: 1.418 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006425/0.2163, allocations: 12.06 MB / 0.6522 GB, free: 4.875 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/0.2187, allocations: 1.326 MB / 0.6535 GB, free: 3.469 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004793/0.2192, allocations: 414 kB / 0.6539 GB, free: 3.043 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.2193, allocations: 68.55 kB / 0.654 GB, free: 2.977 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.2194, allocations: 51.16 kB / 0.654 GB, free: 2.914 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=202): time 4.839e-06/0.2194, allocations: 7.984 kB / 0.654 GB, free: 2.906 MB / 0.5418 GB Notification: Performance of matching and sorting (n=202): time 0.005523/0.2249, allocations: 2.832 MB / 0.6568 GB, free: 64 kB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.225, allocations: 329 kB / 0.6571 GB, free: 15.67 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/0.2269, allocations: 2.068 MB / 0.6591 GB, free: 13.57 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 6.765e-05/0.227, allocations: 41.64 kB / 0.6591 GB, free: 13.52 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004715/0.2275, allocations: 0.9218 MB / 0.66 GB, free: 12.59 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003612/0.2278, allocations: 0.6814 MB / 0.6607 GB, free: 11.9 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000447/0.2283, allocations: 484 kB / 0.6612 GB, free: 11.43 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 6.542e-05/0.2284, allocations: 305.1 kB / 0.6615 GB, free: 11.12 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.2294, allocations: 0.6254 MB / 0.6621 GB, free: 10.5 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.2306, allocations: 1.523 MB / 0.6636 GB, free: 8.566 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/0.2327, allocations: 2.285 MB / 0.6658 GB, free: 5.902 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.2327, allocations: 8 kB / 0.6658 GB, free: 5.895 MB / 0.5574 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.003158/0.2359, allocations: 2.392 MB / 0.6681 GB, free: 3.488 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.2359, allocations: 20.92 kB / 0.6682 GB, free: 3.469 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001755/0.2376, allocations: 1.426 MB / 0.6696 GB, free: 2.039 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004729/0.2381, allocations: 161.1 kB / 0.6697 GB, free: 1.879 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000942/0.2391, allocations: 0.585 MB / 0.6703 GB, free: 1.293 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004928/0.2395, allocations: 0.7244 MB / 0.671 GB, free: 0.543 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007383/0.2403, allocations: 265.9 kB / 0.6712 GB, free: 288 kB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.2404, allocations: 155.9 kB / 0.6714 GB, free: 132 kB / 0.5574 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.0007248/0.2412, allocations: 0.575 MB / 0.6719 GB, free: 15.54 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/0.2415, allocations: 250.9 kB / 0.6722 GB, free: 15.3 MB / 0.573 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.002504/0.244, allocations: 2.393 MB / 0.6745 GB, free: 12.88 MB / 0.573 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.1874191146343946]