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.01353/0.01353, allocations: 1.752 MB / 21.38 MB, free: 0.5625 MB / 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.001442/0.001442, allocations: 104.5 kB / 24.98 MB, free: 2.156 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.001851/0.001851, allocations: 203.2 kB / 28.71 MB, free: 3.441 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.548/1.548, allocations: 230.6 MB / 262.9 MB, free: 6.027 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.078/1.078, allocations: 130.7 MB / 450.4 MB, free: 6.809 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.03294/0.03294, allocations: 20.6 MB / 0.6363 GB, free: 5.379 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.2145, allocations: 81.91 MB / 0.7163 GB, free: 3.371 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.5807/0.7952, allocations: 43.71 MB / 0.759 GB, free: 21.99 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02072/0.8159, allocations: 13.47 MB / 0.7722 GB, free: 12.45 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003194/0.8191, allocations: 51.62 kB / 0.7722 GB, free: 12.43 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.004526/0.8236, allocations: 1.161 MB / 0.7733 GB, free: 11.88 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.004564/0.8282, allocations: 1.078 MB / 0.7744 GB, free: 11.21 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.00538/0.8336, allocations: 1.722 MB / 0.7761 GB, free: 10.34 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.007322/0.8409, allocations: 2.859 MB / 0.7789 GB, free: 8.957 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002625/0.8435, allocations: 0.7793 MB / 0.7796 GB, free: 8.586 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003578/0.8471, allocations: 1.187 MB / 0.7808 GB, free: 8.047 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003093/0.8502, allocations: 1.315 MB / 0.7821 GB, free: 7.441 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0006433/0.8508, allocations: 201.1 kB / 0.7823 GB, free: 7.441 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003882/0.8547, allocations: 1.322 MB / 0.7836 GB, free: 7.055 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0008834/0.8556, allocations: 0.6634 MB / 0.7842 GB, free: 6.695 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001685/0.8573, allocations: 1.155 MB / 0.7853 GB, free: 5.906 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.007469/0.8647, allocations: 3.796 MB / 0.789 GB, free: 3.707 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.8648, allocations: 0 / 0.789 GB, free: 3.707 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8648, allocations: 1.125 kB / 0.789 GB, free: 3.707 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 9.766e-05/0.8649, allocations: 0 / 0.789 GB, free: 3.707 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.005754/0.8706, allocations: 2.852 MB / 0.7918 GB, free: 1.641 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.8707, allocations: 9.625 kB / 0.7918 GB, free: 1.641 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.528e-05/0.8707, allocations: 34.95 kB / 0.7919 GB, free: 1.637 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/0.8709, allocations: 217 kB / 0.7921 GB, free: 1.465 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.872, allocations: 339.2 kB / 0.7924 GB, free: 1.277 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005447/0.8775, allocations: 2.536 MB / 0.7949 GB, free: 15.55 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.56e-05/0.8776, allocations: 83.7 kB / 0.7949 GB, free: 15.52 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.8778, allocations: 112.7 kB / 0.7951 GB, free: 15.48 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005597/0.8834, allocations: 2.515 MB / 0.7975 GB, free: 13.45 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.235e-05/0.8834, allocations: 14.5 kB / 0.7975 GB, free: 13.45 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.8835, allocations: 57.31 kB / 0.7976 GB, free: 13.41 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.502e-05/0.8836, allocations: 37.88 kB / 0.7976 GB, free: 13.41 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004638/0.8882, allocations: 1.697 MB / 0.7993 GB, free: 12.59 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01213/0.9003, allocations: 12.62 MB / 0.8116 GB, free: 0.5352 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004179/0.9045, allocations: 1.317 MB / 0.8129 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007971/0.9053, allocations: 405.6 kB / 0.8133 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001985/0.9055, allocations: 76.39 kB / 0.8133 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.685e-05/0.9056, allocations: 55.08 kB / 0.8134 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=202): time 4.087e-06/0.9056, allocations: 0 / 0.8134 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=202): time 0.009373/0.915, allocations: 2.85 MB / 0.8162 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002001/0.9152, allocations: 323.7 kB / 0.8165 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003358/0.9185, allocations: 2.03 MB / 0.8185 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/0.9187, allocations: 37.7 kB / 0.8185 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008147/0.9195, allocations: 0.9296 MB / 0.8194 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007088/0.9202, allocations: 0.6931 MB / 0.8201 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007576/0.9209, allocations: 494.6 kB / 0.8206 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.9211, allocations: 301.1 kB / 0.8208 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.9223, allocations: 0.6213 MB / 0.8215 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/0.9243, allocations: 1.451 MB / 0.8229 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003484/0.9277, allocations: 2.291 MB / 0.8251 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.47e-05/0.9278, allocations: 8 kB / 0.8251 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.004859/0.9326, allocations: 2.386 MB / 0.8274 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.9326, allocations: 19.94 kB / 0.8275 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002767/0.9354, allocations: 1.423 MB / 0.8289 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008086/0.9362, allocations: 162.7 kB / 0.829 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.9379, allocations: 0.5876 MB / 0.8296 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008418/0.9388, allocations: 0.72 MB / 0.8303 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.9404, allocations: 271.7 kB / 0.8305 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002524/0.9407, allocations: 155.9 kB / 0.8307 GB, free: 12.4 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.001201/0.9419, allocations: 0.5789 MB / 0.8313 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006525/0.9426, allocations: 246.3 kB / 0.8315 GB, free: 11.57 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.004458/0.947, allocations: 2.362 MB / 0.8338 GB, free: 9.367 MB / 0.6075 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.969557818025351] Failed to read output from testmodel.py, exit status != 0: 1.1355619339738041 1.152005012 0.283817769 Calling exit ...