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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.006048/0.006048, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0006625/0.0006625, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0007688/0.0007688, allocations: 164.4 kB / 27.85 MB, free: 5.496 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.8514/0.8514, allocations: 177.2 MB / 208.6 MB, free: 2.957 MB / 186.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.7009/0.7009, allocations: 102.5 MB / 367.9 MB, free: 1.48 MB / 330.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 SMArtInt with version 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValve,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValve,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5362 GB, free: 40.19 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.948e-05, allocations: 3.781 kB / 0.5362 GB, free: 40.19 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.1049/0.1049, allocations: 56.28 MB / 0.5911 GB, free: 4.262 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.1168, allocations: 12.58 MB / 0.6034 GB, free: 7.641 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007944/0.1176, allocations: 59.62 kB / 0.6035 GB, free: 7.582 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.1196, allocations: 1.111 MB / 0.6046 GB, free: 6.465 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.1209, allocations: 1.129 MB / 0.6057 GB, free: 5.328 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.1235, allocations: 1.733 MB / 0.6074 GB, free: 3.59 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.002051/0.1256, allocations: 2.951 MB / 0.6102 GB, free: 0.6289 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007625/0.1264, allocations: 0.8514 MB / 0.6111 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.1275, allocations: 1.617 MB / 0.6126 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009898/0.1285, allocations: 1.061 MB / 0.6137 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.1287, allocations: 200 kB / 0.6139 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.13, allocations: 1.021 MB / 0.6149 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003757/0.1304, allocations: 0.6811 MB / 0.6155 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004679/0.1309, allocations: 0.6895 MB / 0.6162 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.1336, allocations: 3.684 MB / 0.6198 GB, free: 6.781 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1336, allocations: 4 kB / 0.6198 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.914e-06/0.1336, allocations: 0 / 0.6198 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.315e-05/0.1336, allocations: 0 / 0.6198 GB, free: 6.777 MB / 0.5105 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.002763/0.1364, allocations: 2.822 MB / 0.6226 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.1364, allocations: 12.03 kB / 0.6226 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001692/0.1366, allocations: 208.4 kB / 0.6228 GB, free: 3.68 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005245/0.1371, allocations: 335 kB / 0.6231 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/0.1398, allocations: 2.548 MB / 0.6256 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.807e-05/0.1398, allocations: 82.58 kB / 0.6257 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.701e-05/0.1399, allocations: 104.4 kB / 0.6258 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003079/0.143, allocations: 2.819 MB / 0.6285 GB, free: 13.29 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.143, allocations: 20 kB / 0.6285 GB, free: 13.27 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.275e-05/0.1431, allocations: 59.94 kB / 0.6286 GB, free: 13.21 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/0.1431, allocations: 47.97 kB / 0.6286 GB, free: 13.16 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.1455, allocations: 1.679 MB / 0.6303 GB, free: 11.48 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00595/0.1515, allocations: 12.06 MB / 0.6421 GB, free: 14.93 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/0.1537, allocations: 1.318 MB / 0.6433 GB, free: 13.54 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004484/0.1541, allocations: 406 kB / 0.6437 GB, free: 13.12 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.1542, allocations: 64.56 kB / 0.6438 GB, free: 13.05 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.1543, allocations: 55.14 kB / 0.6438 GB, free: 12.99 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=202): time 3.827e-06/0.1543, allocations: 0 / 0.6438 GB, free: 12.99 MB / 0.5418 GB Notification: Performance of matching and sorting (n=202): time 0.004921/0.1592, allocations: 2.847 MB / 0.6466 GB, free: 10.13 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.1593, allocations: 325 kB / 0.6469 GB, free: 9.742 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/0.1612, allocations: 2.072 MB / 0.649 GB, free: 7.641 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 6.044e-05/0.1612, allocations: 33.7 kB / 0.649 GB, free: 7.602 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.000477/0.1617, allocations: 0.9296 MB / 0.6499 GB, free: 6.66 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/0.1621, allocations: 0.6775 MB / 0.6506 GB, free: 5.977 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000423/0.1625, allocations: 484 kB / 0.651 GB, free: 5.5 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 6.464e-05/0.1625, allocations: 301.8 kB / 0.6513 GB, free: 5.203 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007501/0.1633, allocations: 0.6213 MB / 0.6519 GB, free: 4.578 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.1644, allocations: 1.531 MB / 0.6534 GB, free: 2.637 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.1666, allocations: 2.291 MB / 0.6557 GB, free: 15.97 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.1666, allocations: 8 kB / 0.6557 GB, free: 15.96 MB / 0.5574 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.002656/0.1693, allocations: 2.389 MB / 0.658 GB, free: 13.56 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.1693, allocations: 19.94 kB / 0.658 GB, free: 13.54 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001675/0.171, allocations: 1.43 MB / 0.6594 GB, free: 12.11 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/0.1714, allocations: 161.7 kB / 0.6596 GB, free: 11.95 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009017/0.1723, allocations: 0.5889 MB / 0.6601 GB, free: 11.36 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005061/0.1728, allocations: 0.7239 MB / 0.6608 GB, free: 10.61 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007726/0.1736, allocations: 270 kB / 0.6611 GB, free: 10.34 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.1737, allocations: 160 kB / 0.6613 GB, free: 10.19 MB / 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.0006035/0.1744, allocations: 0.5789 MB / 0.6618 GB, free: 9.598 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/0.1746, allocations: 246.2 kB / 0.6621 GB, free: 9.355 MB / 0.5574 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.002443/0.1771, allocations: 2.382 MB / 0.6644 GB, free: 6.945 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.1947500128299] Failed to read output from testmodel.py, exit status != 0: 0.341587508097291 0.625404002 0.21490086700000002 Calling exit ...