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.01255/0.01255, allocations: 1.752 MB / 21.39 MB, free: 332 kB / 14.72 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.001246/0.001246, allocations: 100.7 kB / 24.96 MB, free: 1.883 MB / 14.72 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.00159/0.00159, allocations: 218.5 kB / 28.69 MB, free: 3.148 MB / 19.63 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.448/1.448, allocations: 230.6 MB / 262.9 MB, free: 5.848 MB / 206.1 MB " [Timeout remaining time 178] 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 1.108/1.108, allocations: 130.7 MB / 450.4 MB, free: 6.434 MB / 350.1 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.3.1 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValve,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValve",fmuType="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: 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06464/0.06464, allocations: 20.61 MB / 0.6362 GB, free: 5.113 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.2536, allocations: 81.9 MB / 0.7162 GB, free: 3.121 MB / 0.5294 GB 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.5192/0.7728, allocations: 42.62 MB / 0.7578 GB, free: 22.71 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.01868/0.7915, allocations: 12.8 MB / 0.7703 GB, free: 13.79 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00202/0.7935, allocations: 55.59 kB / 0.7704 GB, free: 13.76 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.003486/0.797, allocations: 1.119 MB / 0.7715 GB, free: 13.25 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.003174/0.8002, allocations: 1.089 MB / 0.7725 GB, free: 12.57 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004507/0.8047, allocations: 1.723 MB / 0.7742 GB, free: 11.7 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.004761/0.8094, allocations: 2.851 MB / 0.777 GB, free: 10.32 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.811, allocations: 0.7747 MB / 0.7778 GB, free: 9.961 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.8134, allocations: 1.202 MB / 0.7789 GB, free: 9.414 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.8152, allocations: 1.301 MB / 0.7802 GB, free: 8.816 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0003385/0.8156, allocations: 197.5 kB / 0.7804 GB, free: 8.816 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.8182, allocations: 1.03 MB / 0.7814 GB, free: 8.531 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0005955/0.8188, allocations: 0.6724 MB / 0.7821 GB, free: 8.164 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0008562/0.8196, allocations: 0.8697 MB / 0.7829 GB, free: 7.66 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.005042/0.8247, allocations: 3.734 MB / 0.7866 GB, free: 5.574 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.8247, allocations: 3.984 kB / 0.7866 GB, free: 5.57 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8247, allocations: 4.969 kB / 0.7866 GB, free: 5.566 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 5.276e-05/0.8247, allocations: 0 / 0.7866 GB, free: 5.566 MB / 0.5607 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.004733/0.8295, allocations: 2.846 MB / 0.7893 GB, free: 3.504 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.8295, allocations: 9.969 kB / 0.7894 GB, free: 3.504 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.557e-05/0.8296, allocations: 33.61 kB / 0.7894 GB, free: 3.5 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001957/0.8298, allocations: 213.1 kB / 0.7896 GB, free: 3.328 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.8308, allocations: 343.1 kB / 0.7899 GB, free: 3.141 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004349/0.8352, allocations: 2.543 MB / 0.7924 GB, free: 1.414 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.867e-05/0.8353, allocations: 86.67 kB / 0.7925 GB, free: 1.375 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.8354, allocations: 111.7 kB / 0.7926 GB, free: 1.336 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005287/0.8407, allocations: 2.817 MB / 0.7953 GB, free: 14.93 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.456e-05/0.8407, allocations: 19.28 kB / 0.7954 GB, free: 14.92 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.8409, allocations: 56.06 kB / 0.7954 GB, free: 14.89 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.372e-05/0.8409, allocations: 39.41 kB / 0.7955 GB, free: 14.89 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004625/0.8455, allocations: 1.695 MB / 0.7971 GB, free: 14.07 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01267/0.8582, allocations: 12.11 MB / 0.8089 GB, free: 2.559 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004541/0.8627, allocations: 1.315 MB / 0.8102 GB, free: 1.449 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008398/0.8636, allocations: 411.4 kB / 0.8106 GB, free: 1.02 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002336/0.8638, allocations: 72.55 kB / 0.8107 GB, free: 0.9492 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.548e-05/0.8639, allocations: 51.16 kB / 0.8107 GB, free: 0.8906 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=202): time 5.32e-06/0.8639, allocations: 0 / 0.8107 GB, free: 0.8906 MB / 0.5763 GB Notification: Performance of matching and sorting (n=202): time 0.009864/0.8737, allocations: 2.842 MB / 0.8135 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002474/0.874, allocations: 327.7 kB / 0.8138 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003649/0.8776, allocations: 2.03 MB / 0.8158 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001577/0.8778, allocations: 41.7 kB / 0.8158 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009474/0.8787, allocations: 0.9218 MB / 0.8167 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000786/0.8795, allocations: 0.6931 MB / 0.8174 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008552/0.8804, allocations: 492 kB / 0.8179 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.8806, allocations: 305.1 kB / 0.8182 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.8819, allocations: 0.6238 MB / 0.8188 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002252/0.8842, allocations: 1.527 MB / 0.8203 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003958/0.8881, allocations: 2.285 MB / 0.8225 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.796e-05/0.8881, allocations: 8 kB / 0.8225 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.005219/0.8934, allocations: 2.396 MB / 0.8249 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.8934, allocations: 20 kB / 0.8249 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002862/0.8963, allocations: 1.425 MB / 0.8263 GB, free: 136 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008573/0.8971, allocations: 154.2 kB / 0.8264 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.8988, allocations: 0.5849 MB / 0.827 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009027/0.8997, allocations: 0.7233 MB / 0.8277 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/0.9015, allocations: 266 kB / 0.8279 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002734/0.9018, allocations: 151.9 kB / 0.8281 GB, free: 14.24 MB / 0.6075 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.001275/0.9031, allocations: 0.5867 MB / 0.8287 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007325/0.9038, allocations: 252.8 kB / 0.8289 GB, free: 13.4 MB / 0.6075 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.004441/0.9083, allocations: 2.357 MB / 0.8312 GB, free: 11.19 MB / 0.6075 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.871458209934644] Failed to read output from testmodel.py, exit status != 0: 1.1072319749509916 1.122931218 0.295155237 Calling exit ...