Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.009605/0.009605, allocations: 1.768 MB / 20.61 MB, free: 3.867 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.1241/0.1241, allocations: 25.61 MB / 49.71 MB, free: 2.766 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.001113/0.001113, allocations: 110.1 kB / 60.65 MB, free: 2.91 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.001317/0.001317, allocations: 210.8 kB / 71.72 MB, free: 6.465 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.028/1.028, allocations: 230.6 MB / 313.3 MB, free: 11.75 MB / 234.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.8734/0.8734, allocations: 130.7 MB / 0.4963 GB, free: 3.484 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/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_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValve",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValve,fileNamePrefix="ClaRa_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.004316/0.004316, allocations: 154.2 kB / 0.69 GB, free: 53.48 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1773, allocations: 89.27 MB / 0.7772 GB, free: 5.051 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValve): time 0.008457/0.1858, allocations: 9.65 MB / 0.7866 GB, free: 11.35 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.01579/0.2016, allocations: 12.81 MB / 0.7992 GB, free: 14.5 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.2026, allocations: 51.62 kB / 0.7992 GB, free: 14.45 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.2049, allocations: 1.105 MB / 0.8003 GB, free: 13.34 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.2065, allocations: 1.088 MB / 0.8013 GB, free: 12.24 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003275/0.2097, allocations: 1.713 MB / 0.803 GB, free: 10.53 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003276/0.213, allocations: 2.866 MB / 0.8058 GB, free: 7.652 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.214, allocations: 0.8513 MB / 0.8066 GB, free: 6.777 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.2151, allocations: 1.198 MB / 0.8078 GB, free: 5.574 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.2164, allocations: 1.231 MB / 0.809 GB, free: 4.34 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003193/0.2168, allocations: 200 kB / 0.8092 GB, free: 4.145 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.2185, allocations: 1.022 MB / 0.8102 GB, free: 3.121 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003793/0.2188, allocations: 0.6655 MB / 0.8109 GB, free: 2.453 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006703/0.2195, allocations: 0.8779 MB / 0.8117 GB, free: 1.57 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003073/0.2226, allocations: 3.728 MB / 0.8154 GB, free: 13.83 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2226, allocations: 3.938 kB / 0.8154 GB, free: 13.82 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2226, allocations: 0 / 0.8154 GB, free: 13.82 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 1.902e-05/0.2226, allocations: 0 / 0.8154 GB, free: 13.82 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.0026/0.2252, allocations: 2.853 MB / 0.8181 GB, free: 10.92 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.2252, allocations: 8.031 kB / 0.8182 GB, free: 10.91 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001685/0.2254, allocations: 212.4 kB / 0.8184 GB, free: 10.7 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005507/0.226, allocations: 335 kB / 0.8187 GB, free: 10.37 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002913/0.2289, allocations: 2.553 MB / 0.8212 GB, free: 7.789 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.651e-05/0.2289, allocations: 82.58 kB / 0.8212 GB, free: 7.707 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.2291, allocations: 108.4 kB / 0.8213 GB, free: 7.602 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004445/0.2335, allocations: 2.811 MB / 0.8241 GB, free: 4.309 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/0.2336, allocations: 19.81 kB / 0.8241 GB, free: 4.289 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.159e-05/0.2336, allocations: 52 kB / 0.8242 GB, free: 4.238 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/0.2336, allocations: 40 kB / 0.8242 GB, free: 4.199 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/0.2361, allocations: 1.691 MB / 0.8259 GB, free: 2.508 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006348/0.2425, allocations: 12.11 MB / 0.8377 GB, free: 5.906 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/0.2448, allocations: 1.314 MB / 0.839 GB, free: 4.512 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004858/0.2453, allocations: 414 kB / 0.8394 GB, free: 4.082 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.2454, allocations: 68.55 kB / 0.8394 GB, free: 4.016 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.2455, allocations: 51.16 kB / 0.8395 GB, free: 3.957 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=202): time 3.356e-06/0.2455, allocations: 0 / 0.8395 GB, free: 3.957 MB / 0.6043 GB Notification: Performance of matching and sorting (n=202): time 0.006945/0.2524, allocations: 2.854 MB / 0.8423 GB, free: 1.094 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.2525, allocations: 325 kB / 0.8426 GB, free: 0.7031 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.2544, allocations: 2.072 MB / 0.8446 GB, free: 14.6 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 5.748e-05/0.2545, allocations: 37.7 kB / 0.8446 GB, free: 14.56 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004864/0.2549, allocations: 0.9257 MB / 0.8455 GB, free: 13.62 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/0.2553, allocations: 0.6933 MB / 0.8462 GB, free: 12.92 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004541/0.2557, allocations: 496 kB / 0.8467 GB, free: 12.43 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 6.834e-05/0.2558, allocations: 301.1 kB / 0.847 GB, free: 12.14 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009168/0.2567, allocations: 0.6213 MB / 0.8476 GB, free: 11.51 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.2579, allocations: 1.531 MB / 0.8491 GB, free: 9.574 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.26, allocations: 2.279 MB / 0.8513 GB, free: 6.918 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.26, allocations: 8 kB / 0.8513 GB, free: 6.91 MB / 0.6199 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.002906/0.2629, allocations: 2.389 MB / 0.8536 GB, free: 4.516 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.2629, allocations: 23.94 kB / 0.8537 GB, free: 4.492 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001682/0.2646, allocations: 1.418 MB / 0.855 GB, free: 3.074 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004925/0.2651, allocations: 156.7 kB / 0.8552 GB, free: 2.918 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.2663, allocations: 0.5892 MB / 0.8558 GB, free: 2.328 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006766/0.267, allocations: 0.7205 MB / 0.8565 GB, free: 1.582 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.2681, allocations: 269.9 kB / 0.8567 GB, free: 1.316 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002367/0.2683, allocations: 159.9 kB / 0.8569 GB, free: 1.16 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.0009993/0.2693, allocations: 0.5857 MB / 0.8575 GB, free: 0.5664 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003014/0.2696, allocations: 242.4 kB / 0.8577 GB, free: 336 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.002647/0.2723, allocations: 2.397 MB / 0.86 GB, free: 13.99 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.601524468511343]